All,

More information on a question I posted earlier...

I'm trying to load a SWF and play it inside another SWF.

Both SWFs are targeted to use Flash Player 8, and AS 2.0

So, in the parent, I've got code that looks like this:

 var movie_mc:MovieClip = this.createEmptyMovieClip("movie_mc",
this.getNextHighestDepth());

 var mcLoader:MovieClipLoader  = new MovieClipLoader();
 mcLoader.addListener(this);
 mcLoader.loadClip("someothermovie.swf",movie_mc);

function onLoadInit(target_mc:MovieClip):Void {
       target_mc.play();
}


When I run this in the Flash IDE, it runs beautifully.

However, when I try to play the movie in a browser, the inner movie
plays for a few frames, then just stops playing.

So potentially relevant facts -

- Both movies are set to run at 30 FPS
- The inner movie is about 2,700 frames long
- The inner movie has an audio track embedded on one of the layers
- The audio track has sync=Stream

I'm definitely sure the inner movie has stopped playing - I set an
interval in the parent movie that checks the inner movie's
_currentframe, and displays it in a text field - sure enough - it gets
to about frame 25, and just stops.

Notably - if I remove the audio track from the inner swf, the entire
thing runs perfectly, both in the Flash IDE and in a browser.

So, i'm assuming the audio track embedded in a layer, and/or
Sync=Stream has something to do with this?

Any advice or insight is MUCH appreciated!

Cheers,
Matt
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to