Cedric,

Many thanks for the suggestion.

However, the audio track for the inner SWF is a voiceover, that must be in
sync with the movie. It seems like "sync=Start" means that the audio starts
playing, and continues regardless of which frame is showing in the timeline.

With "Sync=Stream", the audio track and the frame playhead move in lockstep,
which is what I need. Unfortunately, it seems to have this ugly
side-effect...

Cheers,
Matt

On Wed, Aug 6, 2008 at 3:56 PM, Cedric Muller <[EMAIL PROTECTED]> wrote:

> what if you set the audio track event to 'start' instead of 'stream' ?
>
> Cedric
>
>
>  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
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to