Re: RE : [Flashcoders] create object with getDefinition and pass parameters using apply ?

2009-01-09 Thread Nate Beck
] de la part de Joel Stransky [ stranskydes...@gmail.com] Date d'envoi : 8 janvier 2009 20:28 À : Flash Coders List Objet : Re: [Flashcoders] create object with getDefinition and pass parameters using apply ? Why not predefine the params as null? class myClass{ public function myClass

RE: RE : [Flashcoders] create object with getDefinition and pass parameters using apply ?

2009-01-09 Thread Patrick Matte | BLITZ
:33 AM To: Flash Coders List Subject: Re: RE : [Flashcoders] create object with getDefinition and pass parameters using apply ? Hey Patrick, I've run into the exact same issue that you have. Actionscript doesn't support overloaded methods or constructors at this time, although there is talk

Re: RE : [Flashcoders] create object with getDefinition and pass parameters using apply ?

2009-01-09 Thread Joel Stransky
Coders List Subject: Re: RE : [Flashcoders] create object with getDefinition and pass parameters using apply ? Hey Patrick, I've run into the exact same issue that you have. Actionscript doesn't support overloaded methods or constructors at this time, although there is talk that they are going

Re: RE : [Flashcoders] create object with getDefinition and pass parameters using apply ?

2009-01-09 Thread Nate Beck
: flashcoders-boun...@chattyfig.figleaf.com [mailto: flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Nate Beck Sent: Friday, January 09, 2009 11:33 AM To: Flash Coders List Subject: Re: RE : [Flashcoders] create object with getDefinition and pass parameters using apply ? Hey Patrick

[Flashcoders] create object with getDefinition and pass parameters using apply ?

2009-01-08 Thread Patrick Matte | BLITZ
I need to create objects using getDefinition and pass parameter to the constructor but the problem is that the number of parameters can be different. I tried using apply like this but I can't make it work. var classReference:Object = getDefinitionByName(className); var object:Object = new

RE: [Flashcoders] create object with getDefinition and pass parameters using apply ?

2009-01-08 Thread Patrick Matte | BLITZ
...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Patrick Matte|BLITZ Sent: Thursday, January 08, 2009 7:19 PM To: Flash Coders List Subject: [Flashcoders] create object with getDefinition and pass parameters using apply ? I need to create objects using getDefinition and pass

Re: [Flashcoders] create object with getDefinition and pass parameters using apply ?

2009-01-08 Thread Joel Stransky
with getDefinition and pass parameters using apply ? I need to create objects using getDefinition and pass parameter to the constructor but the problem is that the number of parameters can be different. I tried using apply like this but I can't make it work. var classReference:Object

RE : [Flashcoders] create object with getDefinition and pass parameters using apply ?

2009-01-08 Thread Patrick Matte | BLITZ
Stransky [stranskydes...@gmail.com] Date d'envoi : 8 janvier 2009 20:28 À : Flash Coders List Objet : Re: [Flashcoders] create object with getDefinition and pass parameters using apply ? Why not predefine the params as null? class myClass{ public function myClass(param1 = null, param2 = null