I've already tried this solution but seem's not getting work , my
loaded swf created from flex as well ,so any other idea? or it would
be best if you can provide some example for me, Thanks alot dude :)

On Apr 20, 1:07 pm, "v...@t" <[email protected]> wrote:
> 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 
> asSWFLoader).content as MovieClip;
>                         }
>                         private function onBtnClick(event:MouseEvent):void
>                         {
>                                 mc.gotoAndPlay(1);
>                         }
>                 ]]>
>         </mx:Script>
>         <mx:SWFLoadersource="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 aboutswfloader
> > 1.suppose that I've loaded test.swf in toswfloader.
> > 2.I interact with test.swf inswfloader.
> > 3.I would like to reloadswfloaderwhich contains test.swf on it's
> > initial state (first time visit) again.
>
> > Any idea? I triedswfloader.load but all of my memory's gone!! please
> > give me some solution!- Hide quoted text -
>
> - Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to