flash.utils.getDefinitionByName() : http://livedocs.adobe.com/flex/3/langref/index.html?flash/utils/package.html
--- In flexcoders@yahoogroups.com, "morpankhy" <[EMAIL PROTECTED]> wrote: > > > 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 > var obj = new (eval(MyAnyClassName)); ) > > looking for reply >