Hi, im from Argentina. I have a problem with Viewstack and components (mxml).
This is my code: ----------------------------------------------------- Main.mxml --------------------------------------- <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:com="components.*" initialize="initApplication();" creationComplete="LoadApplication();" layout="absolute" width="100%" height="100%" horizontalScrollPolicy="off" verticalScrollPolicy="off"> <mx:Style source="styles/viewer.css"/> <mx:Script source="assets/includes/ServicioPropiedades.as" /> <mx:HBox width="100%" height="100%" ... > <mx:ViewStack id="Flash4TVViewer" resizeToContent="true"> <com:Visualizador id="appContainer" buildings="{arrPropiedades}" duration="{iDurationTime}" showEffect="WipeLeft" hideEffect="WipeRight"/> <com:Videos id="appVideo" showEffect="WipeLeft" hideEffect="WipeRight"/> </mx:ViewStack> </mx:HBox> </mx:Application> ---------------------------------------------------------------------------------------------------------------- Every 'X' seconds, this function is called: public function goToVideo():void { Flash4TVViewer.selectedChild = appVideo; } When video finish, it calls this function: public function goToBuildings():void { Flash4TVViewer.selectedChild = this.appContainer; } ...and i dont know why, first time works OK but next time, dont. No change to appContainer view. TIP: if i comment video code (thats load and play the video), works OK... :S Thanx in advance. Regards, Gustavo.- PS: sorry about my english. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---