Groups | Blog | Home
all groups > flash (macromedia) > august 2003 >

flash (macromedia) : Load Movie on the Fly?


steph
8/20/2003 7:15:10 PM
You could also, alternatively (and especially if the swf's you load are
animations), put an empty frame with a stop action at the beginning of the
swfs you load and then call gotoAndPlay(2) when you need them. This is, I
believe, called "parking".

"Paul Hollyer" <paul@pompeyd.net> a écrit dans le message de news:
bi0q4h$2du$1@forums.macromedia.com...
[quoted text, click to view]

jamicah
8/20/2003 9:08:19 PM
I have an intro movie that i have broken up into 17 individual swf files. each one has a load movie script for the next swf. some of these files take longer than others to load, is there a way to pre-load some of these WHILE the movie is already playing rather than playing 1 movie and waiting for the next to load?

for more info, this is essentially a slide show showing a photographer's work.

Thanks.

Paul Hollyer
8/20/2003 10:43:25 PM
Certainly is.

It depends how many swf's you want to pre load in, but one way would be to
create empty mc's on the stage during authoring, or on the fly with
createMovieClip if you have MX, then set each one to alpha=0, or
visible=false (MX this is the best way since alpha=0 still draws the mc but
makes it invisible, visible=false doesn't draw it at all, leaving more
resources available, just switch each mc to visible=true when you need it).

This way you can load in as many as you need, and then just call them when
required.

Good Luck

Paul Hollyer
www.pompeyd.net


[quoted text, click to view]
each one has a load movie script for the next swf. some of these files take
longer than others to load, is there a way to pre-load some of these WHILE
the movie is already playing rather than playing 1 movie and waiting for the
next to load?
[quoted text, click to view]

jamicah
8/21/2003 1:29:35 PM
these all sound good.. how exactly would i go about "parking" these movies and calling them up... do you have any scripts you could give me?

mucho thanks guys!!

AddThis Social Bookmark Button