|
That component architecture is fine. If this works the first time, but not
subsequently, that sounds to me like binding is not set up properly. You do
not say how you are passing the selectedIndex value you want into the File2
component. Are you binding? Do you have the {Bindable] metadata tag
over the selecteIndex variable in file2? {Bindable] Public var iSelectedIndex:int; Are you passing a binding expressing into
File2? <myFile2 iSelectedIndex=”{iSelectedIndex}”
…/> And does iSelectedIndex in File1 have the
{Bindable] tag? You should perhaps bind the File2 viewstack’s
property to the variable: <mx:ViewStack selectedIndex=”{iSelectedIndex}”…/> Or are you passing in the value by
directly referencing the File2 viwestack selectedIndex property? Tracy From: Hi! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |
- [flexcoders] window and firering functions arnold_charming
- RE: [flexcoders] window and firering functions Tracy Spratt
- [flexcoders] Re: window and firering functions arnold_charming

