Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
gumnam #1
Help with Flex 1.5 to Flex 2 migration
I am trying to migrate code from Flex 1.5 to Flex 2.0 and can't find any
documentation that mentions replacement of createClassObject method. I am
getting compilation error when I have createClassObject method. The error is :
Call to possibly undefined method "createClassObject"
createClassObject(UIObject, "_globalHighLight" , getNextHighestDepth() );
gumnam Guest
-
Support document for Migration of application fro flex 2o flex 3
Support document for Migration of application fro flex 2 o flex 3 -
Flex 2 to Flex 3 Migration
While running the application getting an error message send failed.(ie) not able to access the java class using the object defined in the remote... -
Flex 3 Migration Problems
Hi Peter - We have not yet been able to address all of the issues that we see when compiling against the GA version of the SDK - there are many. ... -
Not Flex JSP tag lib def in flex-bootstrap.jar (Flex 2Beta 2)
Hi, The taglib.tld file that was in the Flex 1.5 flex-bootstrap.jar isn't present in the Flex2 Beta2 version of that jar. The interfaces are there... -
Is the newest version of flex framework enough good fordeveloping flex rpc services?
Hallo guys, I've already installed the newest version of flex framework (flex2 beta2 version). I already used beta1 version for developing Rpc... -
Andrew Spaulding #2
Re: Help with Flex 1.5 to Flex 2 migration
With Flex 2 you can now simply use addChild and removeChild methods to create
new UI objects, for example let's say you want to add a Button to you VBox. You
would then create a new button -
var btn:Button = new Button();
you can then assign a label on the button -
btn.label = "Click me!";
and then by refencing the component you wish to add it to you can simply call
-
myVbox.addChild( btn );
## I know the above example is rather simplified but Flex 2 makes things so
much easier ;-)
Andrew
Andrew Spaulding Guest



Reply With Quote

