FLEX: passing costructor parameters for MXML-based custom components ?
Posted
by Patrick
on Stack Overflow
See other posts from Stack Overflow
or by Patrick
Published on 2010-04-18T17:47:28Z
Indexed on
2010/04/18
17:53 UTC
Read the original article
Hit count: 437
flex
|customcomponents
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
© Stack Overflow or respective owner