Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-07-2008, 01:56 PM   #1
Jim Curtis
Registered User
 
Join Date: Jul 2006
Posts: 90
Default How do I stop my second movie load clearing my first movie load?

Hi,
Working on a home page where a swf movie loads and plays on the timeline.
The problem is when the second swf movie loads and plays further along the timeline the first swf movie disappears...I want it to remain on my stage!

Any ideas?

Cheere Jim

Here is the code I'm using to load the swf movies:

this.createEmptyMovieClip ("emptyClip",this.getNextHighestDepth());
emptyClip.LoadMovie(...swf");
Jim Curtis is offline   Reply With Quote
Old 01-07-2008, 02:35 PM   #2
neilmmm
Senior Member
 
neilmmm's Avatar
 
Join Date: Oct 2005
Location: dorset
Posts: 1,637
Default

load into a second mc not the same one so they don't replace each other
Code:
this.createEmptyMovieClip ("emptyClip",this.getNextHighestDepth());
emptyClip.LoadMovie(...swf");

this.createEmptyMovieClip ("emptyClip2",this.getNextHighestDepth());
emptyClip2.LoadMovie(...swf");
neilmmm is offline   Reply With Quote
Old 01-07-2008, 03:12 PM   #3
Jim Curtis
Registered User
 
Join Date: Jul 2006
Posts: 90
Default

Quote:
Originally Posted by neilmmm View Post
load into a second mc not the same one so they don't replace each other
Code:
this.createEmptyMovieClip ("emptyClip",this.getNextHighestDepth());
emptyClip.LoadMovie(...swf");

this.createEmptyMovieClip ("emptyClip2",this.getNextHighestDepth());
emptyClip2.LoadMovie(...swf");
Spot on Neil...thanks Jim
Jim Curtis is offline   Reply With Quote
Old 01-07-2008, 04:03 PM   #4
Jim Curtis
Registered User
 
Join Date: Jul 2006
Posts: 90
Default

Ok I now have movie 1 still on screen whilst movie 2 plays.

My next hurdle is, when a link button is pressed this in term releases another movie to play, I now want this 3rd movie to play and the first 2 movies to disappear.

Any ideas...cheers Jim
Jim Curtis is offline   Reply With Quote
Old 01-07-2008, 09:02 PM   #5
neilmmm
Senior Member
 
neilmmm's Avatar
 
Join Date: Oct 2005
Location: dorset
Posts: 1,637
Default

Code:
unloadMovie("_root.emptyClip2");
unloadMovie("_root.emptyClip");
this.createEmptyMovieClip ("emptyClip3",this.getNextHighestDepth());
emptyClip3.loadMovie(...swf");
or load a movie into one of the EmptyMovieClip s you made

try not to use _root ... but i do notknow your scope
neilmmm is offline   Reply With Quote
Old 01-08-2008, 07:11 AM   #6
Jim Curtis
Registered User
 
Join Date: Jul 2006
Posts: 90
Default

Quote:
Originally Posted by neilmmm View Post
Code:
unloadMovie("_root.emptyClip2");
unloadMovie("_root.emptyClip");
this.createEmptyMovieClip ("emptyClip3",this.getNextHighestDepth());
emptyClip3.loadMovie(...swf");
or load a movie into one of the EmptyMovieClip s you made

try not to use _root ... but i do notknow your scope
Thanks again Neil, just the ticket
Cheers Jim
Jim Curtis is offline   Reply With Quote
Old 01-08-2008, 09:42 AM   #7
neilmmm
Senior Member
 
neilmmm's Avatar
 
Join Date: Oct 2005
Location: dorset
Posts: 1,637
Default

yw
neilmmm is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I want the movie clip load at fixed size! salalalala ActionScript 2.0 2 12-31-2007 09:21 AM
Load Movie and go to specific frame or scene GBTampa ActionScript 1.0 (and below) 15 08-29-2007 09:09 AM
Help: Using stop() does not stop movie fjd8 ActionScript 2.0 5 11-14-2006 04:27 PM
Flash 4 creating an array on screen with duplicate movieclip Eend ActionScript 1.0 (and below) 8 02-18-2005 09:07 PM
How to get movie to stop playing and load url traciedesigns ActionScript 2.0 2 10-08-2004 05:59 PM


All times are GMT. The time now is 10:45 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.