Creationcomplete of what component?

 

Are you aware that the navigator components all use deferred instantiation by default, and the child components do not exist until a user first navigates to the view?

 

If you think this might be the issue, you can, for testing purposes only ( Gordon ;) ), set creationPolicy=”all” on the nav containers.  If that fixes the problem, search the archives for the thread titled “Why you shouldn't set creationPolicy="all" to solve your deferred instantiation problems”. Seriously.

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of Steve Cox
Sent: Wednesday, October 26, 2005 5:01 AM
To: [email protected]
Subject: [flexcoders] Stupid Question, but driving me mad - TabBars

 

Guys + Girls,

 

I’ve a tabbar on 3 separate forms inside a Tab Nav.

 

Now the dataprovider for these is populated from a webservice, the issue I’m having is setting the selectedIndex on the tabbars initially. Once the tabbar is created, the selectedindex works perfect.

 

Setting the selectedindex in a creationcomplete event doesn’t work, is there an event which is fired to notify when a tabbar has built up it’s buttons? I’ve tried childrenCreated but I suspect that’s for when it’s attached to a viewstate etc.

 

Stupid problem I know, but it’s always the little ones that cause the most problems!

Cheers,

 

Steve




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to