Groups | Blog | Home
all groups > flash actionscript > january 2004 >

flash actionscript : Movie Depth Level help


SirJames9k
1/25/2004 8:27:24 PM
Hey guys(and gals)

I have a quick question for ya.
I'm building a flash site where I'm using an empty movie clip to load external swf files into as they are called. However, when I load each new one, there is a transition phase, block shapes moving from the button cover the screen in a new color.

My problem is, I want these transitions to take place over the existing swf that is already loaded up.
for example, if you click on news, the news page loads up and you can see the previous movie slowly getting covered up with new blocks of color. Then when you click on contact, the contact page loads up over the news page in the same fashion. But if I wanted to go back to the news page, then it would in turn load up over the contact page.

The way it is now, when I load up the news, it transitions over the start page, but then when i click on the contact, the news page disapears completely and the contact page takes its place, obviously not a smooth transition. I know this is because they are both in the same movie clip. Just wondering if there is a better way to do this.

I don't know how well i explained that. It seems like its a fairly regular procedure on most sites.

Thanks!
James

kglad
1/25/2004 9:20:13 PM
there are quite a few ways to handle this. if you want to continue loading into a movieclip, you'll need to add a second (empty) movieclip. after your movie completes loading you should swap depths so the most recently loaded movie is at the greater depth (closer to viewer) when you are ready for the viewer to see it. when you load a movie it should be loaded into the empty movieclip that's at the lesser depth (hidden from viewer) until you're ready to display it.

SirJames9k
2/17/2004 12:46:44 AM
AddThis Social Bookmark Button