Hi You can try like that... may help you..
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"> <mx:Script> <![CDATA[ import mx.controls.SWFLoader; import mx.events.FlexEvent; private var mc:MovieClip = new MovieClip(); private function onSWFComplete(event:Event):void { mc = ( event.currentTarget as SWFLoader ).content as MovieClip; } private function onBtnClick(event:MouseEvent):void { mc.gotoAndPlay(1); } ]]> </mx:Script> <mx:SWFLoader source="test.swf" complete="onSWFComplete(event)" /> <mx:Button label="Reload" click="onBtnClick(event)" /> </mx:Application> Thanks Virat On Apr 17, 9:03 am, "[email protected]" <[email protected]> wrote: > Good day everyong I come up with the question which's about swfloader > 1.suppose that I've loaded test.swf in to swfloader. > 2.I interact with test.swf in swfloader. > 3.I would like to reload swfloader which contains test.swf on it's > initial state (first time visit) again. > > Any idea? I tried swfloader.load but all of my memory's gone!! please > give me some solution! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

