how to instaniate an object from the name of a class at runtime:
how to reference the class ? To instantiate it (a class) from a string
of its name at runtime
How to achieve this in Flex - AS 3
This was possible in as 2.0, I write for your reference
(E.g. We can do in AS 2.0
I have some custom components. I want to make their objects at
runtime. How to do that in flex ?
Exa. MyLayout001.mxml, MyLayout002.mxml, MyLayout003.mxml,
MyLayout004.mxml and MyLayout005.mxml and so on. ( lots of custom
classes I have )
Now on click of a button ( as per users' choice ) I
2 matches
Mail list logo