MXML components can't have a constructor with parameters.

You should set parameters with setters implemented within the component.

 

Cheers,

Sönke

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Giles 
Roadnight
Sent: Mittwoch, 7. März 2007 11:08
To: [email protected]
Subject: [flexcoders] Component Constructors

 

When I make an MXML component that extends for example the panel class how
do I get to the constructor?

I want to pass parameters when I create a new login box but can't seem to
get a constructor to work.

Thanks

Giles Roadnight

 

Reply via email to