That would be a good candidate for a setter funcion. Tracy
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Fernando Wermus Sent: Monday, July 07, 2008 3:26 PM To: [email protected] Subject: Re: [flexcoders] loading attributes in a flex custom tag What about the order? Flex loads randomly the attributes. I have one called autoplay that if it is set in true play a song, but first I need Flex sets the url attribute. How can I manage this? Thnks On Mon, Jul 7, 2008 at 10:50 AM, Tracy Spratt <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Don't set them in the constructor, implement them as public properties. If variables, make the [Bindable], or use getter/setter methods for full control. Tracy ________________________________ From: [email protected] <mailto:[email protected]> [mailto:[email protected] <mailto:[email protected]> ] On Behalf Of Fernando Wermus Sent: Monday, July 07, 2008 1:30 PM To: [email protected] <mailto:[email protected]> Subject: [flexcoders] loading attributes in a flex custom tag Hi all! I have a custom component made by myself. I have to asign the values from the tag's attributes to some object when they are being created in the constructor custom component time. The problem is that Flex doesn't load the attributes when it calls the the constructor and therefore I cant constructor the component. I hope you understand. Thanks! -- Fernando Wermus. www.linkedin.com/in/fernandowermus <http://www.linkedin.com/in/fernandowermus> http://mientretiempo.blogspot.com/ <http://mientretiempo.blogspot.com/> -- Fernando Wermus. www.linkedin.com/in/fernandowermus <http://www.linkedin.com/in/fernandowermus> http://mientretiempo.blogspot.com/ <http://mientretiempo.blogspot.com/>

