Try this it may solve your problem
<mx:ViewStack id="apExistingPositions" borderStyle="none" width="100%"
height="100%" change="stackRefresh(event)">
<mx:Script>
<![CDATA[
import mx.events.IndexChangedEvent;
private function stackRefresh(event:IndexChangedEvent):void{
var obj:Object =
apExistingPositions.getChildAt(event.newIndex);
obj.reload();
}
]]>
</mx:Script>
--
Venky
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.