That should work if the SWF is published for FP9

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Gustavo Duenas
Sent: Tuesday, August 26, 2008 7:33 AM
To: [email protected]
Subject: [flexcoders] help controlling an external swf from flex.

 

 

Hi Guys I have an external swf, loaded into a loader in flex, but I'd
like to know how can I control ( is a swf with timeline animations) that
from the flex application.

 

How could I, so far this is my idea.

 

 

mx:Script>

       <![CDATA[

       

       var myflash:MovieClip= new MovieClip();

                     myflash =myloader.content.set as MovieClip();

              function redo():void{

                     myflash.gotoAndPlay(1);

                     

                     

              }

       ]]>

</mx:Script>

 

<mx:SWFLoader id="myloader"
source="http://leftandrightsolutions.com/gusFlex/backs.swf
<http://leftandrightsolutions.com/gusFlex/backs.swf> "
scaleContent="true"/>

 

<mx:Button id="mybutton" click="redo()" x="755" y="374" label="redo"/>

 

 

is a simple thing, but I'm stuck.

 

 

Regards,

 






Gustavo A. Duenas

Creative Director

LEFT AND RIGHT SOLUTIONS

904.  265 0330 - 904. 386 7958

www.leftandrightsolutions.com

Jacksonville - Florida

 

 





 

 

Reply via email to