Also the "show" event of the TabNavigator children.

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Manish Jethani
Sent: Monday, January 05, 2009 9:11 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] enterState for tabNavigator?

 

On Mon, Jan 5, 2009 at 2:22 PM, endrone endrone <endr...@gmail.com
<mailto:endrone%40gmail.com> > wrote:

> when you change a state, there's a enterState dispatched when a new
state is
> shown.
> This is very handy for initializing the state.
>
> But does something similar exist for the tabNavigator? (enterState
exists
> for a TabNavigator but doesn't work)
> What if you have several tabs and you want to initialize your tab view
when
> changing?
> What are best practices?

There are some state-related events: currentStateChanging,
currentStateChange, enterState. Check the docs. There's also a change
event dispatched by the TabNavigator, and then there's the initialize
and creationComplete events dispatched by the individual child
containers.

Manish

-- 
http://manishjethani.com/ <http://manishjethani.com/> 

 

Reply via email to