[flexcoders] Re: getDefinitionByName

2006-12-08 Thread Daniel
Nevermind, for some reason it didnt work in the past, but now its working perfectly. Sweet! --- In flexcoders@yahoogroups.com, "Daniel" <[EMAIL PROTECTED]> wrote: > > Im using the method getDefinitionByName so I can get instances of > classes which I only know their name. > Now, this classes alw

RE: [flexcoders] Re: getDefinitionByName(): Variable ... is not defined.

2006-10-14 Thread Matt Chotin
You could also look into the –includes compiler directive.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of gustavo.saume Sent: Wednesday, October 11, 2006 5:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

[flexcoders] Re: getDefinitionByName(): Variable ... is not defined.

2006-10-11 Thread gustavo.saume
Hello Tobias, i recently had the same problem, the workarround i usesd was to create a class with a variable declaration of all the classes i might create eg. public class AllClasses { public var tmp1:classOne; public var tmp2:classTwo; } and then in my class where i ca

[flexcoders] Re: getDefinitionByName

2006-09-05 Thread Daniel Freiman
nevermind, got it to work, still can't figure out what I changed.On 9/5/06, Daniel Freiman <[EMAIL PROTECTED] > wrote:I want to use getDefinitionByName in the flash.utils package to get a class by it's name.  I've tried the example in the language reference using Sprite and that works fine but w