Ok, the issue may be the base class wrapped around the embedded asset.
Basically, your asset will need to be associated with a class deriving
from MovieClip. In theory, it should figure this out on its own. (Turn
keep-generated-actionscript on and check out the class associated with
your asset. Is it Sprite or MovieClip?)
Anywho, if it is only Sprite, you can force it to extend MovieClip by
doing a class-level embed:
// MyMovieAsset.as
package {
import flash.display.MovieClip
[Embed(source='mymovie.swf', symbol='assetname')]
public class MyMovieAsset extends MovieClip
{
}
}
If that doesn't work, please file a bug report!
(Note: if there are any AS actions on your movie, we're currently
stripping them out and throwing them away, because its illegal to mix
AS2 and AS3 code in one SWF. I have a bug on my plate to try to handle
this... better. I'm not sure quite what I'm going to do, because
transcoding the bytecode seems like a nightmare project! I might just
handle some SWF4-compatible subset, i.e. gotoframe, stop, etc.
Workaround for now is to load AS2 SWFs dynamically at runtime.)
-rg
> -----Original Message-----
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Meutzner
> Sent: Monday, January 09, 2006 7:34 AM
> To: [email protected]
> Subject: [flexcoders] Re: Multi frame swfs not playing
>
> Embedded.
>
>
> --- In [email protected], "Roger Gonzalez"
> <[EMAIL PROTECTED]> wrote:
> >
> > Are you dynamically loading the SWF, or embedding it?
> >
> > -rg
> >
> > > -----Original Message-----
> > > From: [email protected]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Brendan Meutzner
> > > Sent: Monday, January 09, 2006 5:22 AM
> > > To: [email protected]
> > > Subject: [flexcoders] Multi frame swfs not playing
> > >
> > > Hi All,
> > >
> > > When I load a swf movie into a Flex 2 app, it's not
> playing the movie.
> > > It loads in the first frame, but just freezes there.
> The same swf
> > > movie loaded into a 1.5 app plays properly.
> > >
> > > We're talking about a very basic multi-frame swf with no
> components
> > > or actionscript embedded.
> > >
> > > Is there a way to initiate playback of the swf file once loaded?
> > >
> > > Thanks,
> > >
> > > Brendan
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ:
> > > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives:
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/