FLEX: passing costructor parameters for MXML-based custom components ?
- by Patrick
hi,
I've implemented a MXML custom components and I would like to pass parameters to the constructor:
newUser = new userComp("name");
instead of using set methods.
Is this possible if the custom components has been built in MXML (with initialize=myPseudoCostructor() method ?)
Or I can only set the parameter with an additional line of code ?
thanks