Are you sure? If it doesn't, then
var theCommand = new commands [ commandNameToCheck ] (); definite does. It's used in ARP. On 4/12/06, Steve Webster <[EMAIL PROTECTED]> wrote: > Hi Chris, > > > var qname:String = "org.foo.Bar"; > > > > var x = new qname (); > > That won't work. Did you mean: > > var qname:String = "org.foo.Bar"; > > var x = new eval(qname)(); > > -- > Steve Webster > Head of Development > > Featurecreep Ltd. > http://www.featurecreep.com > 14 Orchard Street, Bristol, BS1 5EH > 0117 905 5047 > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com