what about;
What about adding;
private var bInitialized:Boolean = false;
public function set someValue(value:Number):void
{
if (!bInitialized) {
initialize()
bInitialized = true;
}
}
private function initialize():void
{
// execute one time only code for component initialization
}
? :)
Peace, Mike
On 6/13/06, Claudia Barnal <[EMAIL PROTECTED]> wrote:
That would also work, the problem is that I really don't want to check
each time the value changes, I only wan't to know _when_ I have access
to the value assigned on the MXML for the first time. Having that
value I can continue with the rest of the component's execution.
Thanks again for your help Michael,
Claudia
On 6/13/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> What about adding;
>
> [Bindable]
> public function set someValue(value:Number):void
> {
> trace("value changed", value)
> // do something
> }
>
>
> I don't know if that is what you are looking for..
>
> Peace, Mike
--
What goes up, does come down. __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- Re: [flexcoders] Re: creationComplete on custom non UI co... Michael Schmalle
- Re: [flexcoders] Re: creationComplete on custom non ... Claudia Barnal
- Re: [flexcoders] Re: creationComplete on custom ... Michael Schmalle
- Re: [flexcoders] Re: creationComplete on cus... Claudia Barnal
- Re: [flexcoders] Re: creationComplete on... Michael Schmalle
- RE: [flexcoders] Re: creationComplete on custom non ... Gordon Smith
- Re: [flexcoders] Re: creationComplete on custom ... Michael Schmalle
- Re: [flexcoders] Re: creationComplete on cus... Claudia Barnal
Reply via email to

