-
preloading movieclips
People
I have a flash movie and at the end of the movie i am inserting three movieclips in specific places. This is done manually in the timeline each on its own keyframe. Each mc has a preloader inside it, but the preloader does not work. how do i go about preloading these movie clips individually????
Or do i just say on the keyframe loadmovie and call in the .swf file??
with a preloader in that .swf file.
If you can understand my problem then some help would be fantastic.
Shott
-
well..
its better that you make each one of those mcs into a seperate swf file, then you load the files each into a host mc (empty mc in the place that you want those to be)...
each file have a preloader at the begining.
use the loadMovie() method to load the files.
that's better than having three mcs in the same timeline.
-
how do i use a host mc
Ive never heard of a host mc and dont really know how to go about it. I know how to load .swf file in movies. Any chance of sending me to a tutorial or showing me an example .fla file??
Regards
Shott
-
a host mc is nothing but a normal empty mc.
you do a mc (with nothing inside), then place it on the stage and give it a name (ex: "host_mc"), then:
code: host_mc.loadMovie("file.swf");
// OR
loadMovie("file.swf", "host_mc");
the timeline of the host_mc will be REPLACED by the timeline of the loaded swf file.
-
Fantastic
Works perfectly!!! Thanks mate.
Shott
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|