[flexcoders] Re: event when page is shown in ViewStack?

2010-01-01 Thread turbo_vb
The show event will work except for the first time; in which case you'd want 
to listen for the creationComplete event.

-TH

--- In flexcoders@yahoogroups.com, mitchgrrt mitch_g...@... wrote:

 Is there an event I can listen for on a page, which would be sent 
 automatically whenever the page is shown in a ViewStack?  I thought show 
 might work but it doesn't seem to.  We have an application with a set of 
 nested tabs implemented with ViewStacks, and a couple of the pages need to 
 execute a function whenever they are shown.  Thanks.





RE: [SPAM] [flexcoders] Re: event when page is shown in ViewStack?

2010-01-01 Thread Tracy Spratt
Right.  The show event is dispatched by the child container.  There is also
a change event on the ViewStack itself.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of turbo_vb
Sent: Friday, January 01, 2010 6:23 PM
To: flexcoders@yahoogroups.com
Subject: [SPAM] [flexcoders] Re: event when page is shown in ViewStack?

 

  

The show event will work except for the first time; in which case you'd
want to listen for the creationComplete event.

-TH

--- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
mitchgrrt mitch_g...@... wrote:

 Is there an event I can listen for on a page, which would be sent
automatically whenever the page is shown in a ViewStack? I thought show
might work but it doesn't seem to. We have an application with a set of
nested tabs implemented with ViewStacks, and a couple of the pages need to
execute a function whenever they are shown. Thanks.