Milosav Help me please :eek:
Milosav, I;ve been following/reading your replies to these fellows, but I felt like I was jumping into the middle of a conversation. So I figure it may be better if I post my question anew.
SITUATION:
I have a main.swf which contains 4 buttons, each to load an external movie. Each external movie has the same dimension as main.swf, which look like a rectangle with contents inside. Let's call the external files: a.swf, b.swf, c.swf and d.swf. Now, I want to completely cover main.swf (_level0) with the newly loaded external .swf, which I load into level 1.
Each external movie is so big that I need a preloader that comes up while a.swf is being loaded into _level1. So I created preloader.swf and put it into _level2. At the beginning of my main.swf I had a frame action to load preloader.swf and store it in _level2. I make sure preloader.swf had an empty keyframe at frame 1 and stop(); script.
PROBLEMS:
Problem 1
I clicked button 1 and my playhead goes to a framelabel which contains frame actions:
loadMovieNum ("a.swf", 1);
_level2.gotoandPlay(2);
My preloader works for awhile and then froze, while a.swf is loaded into level 1 and froze halfway too. I know this because a.swf has a sound object that supposed to play after around 3 seconds.
Problem 2
I got rid off the preloader and wanted to see wheter a.swf has been loaded properly. It turned out that the sound object in a.swf doesn't work and I can not interact with most part of a.swf. a.swf has a scroller function and rollover functions. None of them work.
Could you help me on this matter Milosav?
Thank heaps,
Phoenix2779
Back to the Lesson at Hand...
Milosav,
Okay I have a new loadmovie question for you. What if I have a mainmovie.swf and I have 4 different movies I'd like to automatically load into it..but heres the catch..each sub-movie (1.swf, 2.swf, etc...) would load randomly each time the page is displayed. Only one sub-movie would load each time..for example say each one was a news article or a different product...and I want flash to randomly load 1 out of the 4 sub-movies..how could I got about doing this? Of course I'd also like to have a preloader for each sub-movie as well...
In case you're wondering I got the idea to do this from macromedia.com's homepage..it looks like they do something like this in the main flash interface that loads...they have buttons down the left side of the page and it looks like they load a random movie each time you visit/refresh the page.
Any ideas??? :confused: