Oops…it appears I have to use the data attribute to create a new object and use that…nevermind J

 

 


From: Rob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 09, 2005 4:32 PM
To: [EMAIL PROTECTED]
Subject: [flexcoders] ViewStack selectedChild

 

Hi,

 

Just curious…the MM docs indicate that setting of the ViewStack.selectedChild can only be done in AS and not in MXML; however, it appears from the MM example and my tests that the reverse is true…

 

I have a script that is attempting to set the selectedChild to a value that matches the id attribute of one of the ViewStack’s but it doesn’t work….the ViewStack.selectedIndex works great...what’s up with the selectedChild?

 

viewStack.selectedChild=event.target.selectedItem.attributes.data;

 

TIA for any info.

 

Regards.



Reply via email to