Tim Hoff wrote:
> Instead of states, you can use a little binding, like:
> 
> <mx:Text x="10" y="10" text="{ScriptsAccordion.selectedChild.label} 
> Page Text" width="218" id="text1"/>
> 
> Or, create an Array that contains the text that you want to display, 
> in the same order as the Accordion children.  You would then 
> similarly bind like:
> 
> text="{myArray[ScriptsAccordion.selectedIndex]}"
> 


Ah, nice idea ty :)

What I ended up doing last eve was dumping all the states and replacing 
them as a viewstack. Then I could just go:

change="vs.selectedIndex = Acc.selectedIndex"

only caveat seems to be you have to have the same # of canvas' in both 
or you can go out of bounds with a selection.

Impudent1
LeapFrog Productions



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to