Hi,
If you load someothermovie.swf in the browser, does it still stop?
Do you have scripts in someothermovie.swf that may cause problems?
(if you are relying on _root etc. in your loaded movie, this might cause
problems).
I had a problem with a loaded movie timeline being a bit strange
because I had got my lengths incorrect (nested a 500 frame MC inside a
400 frame timeline on the root, etc). You might want to look at this too...
Hope this helps a bit.
Glen
matt stuehler wrote:
All,
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
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.
Any advice or insight is MUCH appreciated!
Cheers,
Matt
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders