[flexcoders] tabnavigator and states

2008-03-13 Thread cool buddy

HI all,

Can some one please help me out on my problem with the use of tabnavigator and 
states. when i use currentState='' it doesn't go the base state but goes to the 
another page with index 1

i have defined in the actionscript to go the selected index to 0 ..but still it 
goes to 1..

Thanks,




  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


[flexcoders] TabNavigator and States problem

2008-01-02 Thread tpokrajcic
I have a TitleWindow and a TabNavigator inside with several tabs based
on Canvas.
There are two states - Base State and Edit. TitleWindow goes to
Edit state upon click on Edit button.

Now a problem:
After clicking on a button, state of current tab changes to Edit, but
when I click other tabs, they're in Base State. 
Actually, after switching tabs I can see in a blink of an eye that
other tab somehow changed state from Edit back to Base State, but when
I place breakpoints in UIComponent state handling functions I can't
catch any state changing there...
And more strange is that the first tab always has a correct state, no
matter on what tab I was when clicking button.
Anyone experienced something like this?


Tomislav