[flexcoders] Re: addChild from String

2006-02-19 Thread pwhite40
Did you ever get an answer on this? I'm running into the same problem with getClassByName(MyCustomClass) blowing up unless I create a dummy instance of it first. Even when I do create a dummy instance first, it only works the first time I call the getClassByName(MyCustomClass) method. After

[flexcoders] Re: addChild from String

2006-02-19 Thread pwhite40
-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pwhite40 Sent: Saturday, February 18, 2006 9:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: addChild from String Did you ever get an answer on this? I'm running

[flexcoders] Re: addChild from String

2006-01-18 Thread Brendan Meutzner
Hey Jens, Thanks for the help. It's now working (sort of)... If I create an instance of a built-in class (such as Button), the method below works fine. However, if I try creating a custom Class (eg. MyCustClass which extends from Canvas) like so: import custclasses.MyCustClass; var

Re: [flexcoders] Re: addChild from String

2006-01-18 Thread Johannes Nel
search the flash coders list for this, there are a ton of sollutions floating around in there. On 1/18/06, Brendan Meutzner [EMAIL PROTECTED] wrote:Hey Jens,Thanks for the help.It's now working (sort of)... If I create an instance of a built-in class (such as Button), themethod below works