PDA

View Full Version : load movie in background


diggz
12-11-2003, 06:53 AM
Is there a way of allowing an swf to load in the background of a movie so as it doesn't doesn't affect the rest of the site?

What I want to do is this: when the end user arrives at the site and the main swf for the site opens and starts to play I want a swf to begin loading and not affect the speed or usability of the main swf.

The loading swf will be a quicktime movie converted to swf. Is there a way of keeping the movie invisible after loading and then when the main swf reaches the specific frame that the movie is intended for, the loaded movie will begin to play?

Any help greatly appreciated

D

TheBuzz
12-11-2003, 07:10 AM
When making the swf that will be playing in the background of your site, put the file that you want to play into a MC. Then have the first frame be empty and put the clip in the second frame. Have a stop action in the first frame. Then put a frame label on the MC from the second frame which will give you an way to access it. Then when you have it placed in your site. Set up a button or something that will activate the MC. Like a roll over action or on (release) action.


on (release) {
gotoandplay (_root.MCname, "frame label name");
}


Try that and see how it works out. Hope I was able to help out.

Oh btw, just have this MC on a layer that is behind the main content of your site.

siobi
12-15-2003, 12:35 AM
another alternative...
use

MC.swapDepths(0);

it will bring ur MC to the lowest level

farafiro
12-15-2003, 05:51 AM
the best and the easiest way is to turn its visibility to 0 when its fully loaded and then make it 1 whee ever u want
;)