Daedalus
03-05-2008, 10:05 PM
Hello All,
I'm try to get the flash cs3 fl.* classes to work in FB3 but i've run into a few problems.
I have copied all the classes from >
Adobe Flash CS3\en\Configuration\ActionScript 3.0\Classes\fl
and
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\User Interface\fl
and put them all in one fl folder and then set it as a source folder in flex.
Flex finds the classes and when I start typing fl.core it comes up with UIComponent and when I control-click on "UIComponent" text on the line>
public class myComponent extends UIComponent
it opens up the source for the UIComponent class in a new tab so I ended up thinking all was well.
However when I compile I get an error saying>
1017: The definition of base class UIComponent was not found.
Even tho Flex knows the path to it and will open up the implementation when I control click on the class!
It also comes up with override errors
1020: Method marked override must override another method.
What I dont get is that it can detect the path and the class on the import and when I control click on the class yet it says it can't see it when I compile!
I tried putting all the UIComponets from flash in a swc and setting flex to use the classes in the swc as the flash User interface Components extend from UIComponent anway but it made no difference.
Has anybody else had this sort of problem and found a solution?
I'm try to get the flash cs3 fl.* classes to work in FB3 but i've run into a few problems.
I have copied all the classes from >
Adobe Flash CS3\en\Configuration\ActionScript 3.0\Classes\fl
and
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\User Interface\fl
and put them all in one fl folder and then set it as a source folder in flex.
Flex finds the classes and when I start typing fl.core it comes up with UIComponent and when I control-click on "UIComponent" text on the line>
public class myComponent extends UIComponent
it opens up the source for the UIComponent class in a new tab so I ended up thinking all was well.
However when I compile I get an error saying>
1017: The definition of base class UIComponent was not found.
Even tho Flex knows the path to it and will open up the implementation when I control click on the class!
It also comes up with override errors
1020: Method marked override must override another method.
What I dont get is that it can detect the path and the class on the import and when I control click on the class yet it says it can't see it when I compile!
I tried putting all the UIComponets from flash in a swc and setting flex to use the classes in the swc as the flash User interface Components extend from UIComponent anway but it made no difference.
Has anybody else had this sort of problem and found a solution?