That was it!  Thanks Dave!

Jason Merrill
Bank of America     Instructional Technology & Media   ·   GCIB & Staff Support 
L&LD

Interested in Flash Platform technologies?  Join the Bank of America Flash 
Platform Developer Community 
Interested in innovative ideas in Learning?  Check out the Innovative Learning 
Blog and subscribe.






-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Watts
Sent: Thursday, November 20, 2008 5:05 PM
To: Flash Coders List
Subject: Re: [Flashcoders] get class by definition - or something like that

> Refersh my memory.  What was the name of that AS3 class method to get a class 
> definition
> from a string? Something like getObjectByDefinition("MyClass") or something 
> like that, but that's not it.
> Our proxy server is down and I can't Google it, and the help docs are no help.
>
> Basically, I'm tring to remember the AS3 method to dynamically instantiate a 
> class from a string definition - i.e.
>
> var ClassDefinition:Class = getClassByDefinition("Apple");
> var newClassInstance:* = new ClassDefinition();
>
> Something like that, I've done it before, I just can't find the syntax or 
> remember the method.

I think it's flash.utils.getDefinitionByName.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to