Call getQualifiedClassName on loader.content.  It should be MovieClip.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Guillermo Villasana
Sent: Tuesday, November 20, 2007 3:54 PM
To: [email protected]
Subject: Re: [flexcoders] Flash Component Kit and external SWF

 

yes it is using AS3 and FP9. but I get an error that goToAndStop(0)
call to a possible undefined method
Thanks

Alex Harui wrote:
>
> If external.swf is using AS3/FP9, then loader.content.goToAndStop/Play

> should work.
>
> 
>
> ----------------------------------------------------------
>
> *From:* [email protected]
<mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] 
> *On Behalf Of *Guillermo Villasana
> *Sent:* Tuesday, November 20, 2007 2:31 PM
> *To:* [email protected] <mailto:flexcoders%40yahoogroups.com>

> *Subject:* [flexcoders] Flash Component Kit and external SWF
>
> 
>
> Hello, so I was able to Load an external SWF, in a state in flash like

> this:
>
> stop();
> request = new URLRequest("external.swf");
> loader = new Loader()
> loader.load(request);
> this.addChild(loader);
>
> This code is in the timeline but is there a way to reuse the
> external.swf and replay it without reloading the external.swf?
>
> something like loader.play in another keyframe?
>
> mm... Or should I go and ask this in another mailling list, any 
> suggestions?
> Thanks.
> Terius
>
> 

 

Reply via email to