Skip to main content
Participating Frequently
May 3, 2007
Question

Complicated preloader problem (movie within a movie)

  • May 3, 2007
  • 1 reply
  • 295 views
I am using Flash 8 with AS 2.0
I have a 2 scene movie
scene 1 is preloader
scene 2 is main movie

scene 2 has a MC on the mains stage in frame 1. This MC loads another .swf in frame 40 using hte loadmovie command

I want my preloader to determine when the loadmovie mc in sceen 2 is loaded or perhaps just load it in scene 1 but into the MC that holds it in sceen 2.

I can't figure out how to reference the MC that holds my loaded movie in sceen 2 from scene 1 or how to detect when the loadmovie in frame 40 of my MC is loaded.

Any advice would be appreciated.

Peace,
Rickard
This topic has been closed for replies.

1 reply

Inspiring
May 3, 2007
You will have a much easier time if you don't use Scenes.
You can't preload content that is loaded in the future. The loadMovie is not triggered until the Timeline reaches Frame 40, hence it can't be preloaded on Frame 1.
Participating Frequently
May 3, 2007
Understood. I actually found a post from someone saying scenes are not the way to go. I moved the bulk of my movie to frame 5 and put my preloader on frame 1. I am also loading my .swf into my MC on frame 1. What I guess I need to do is set up a listener on my MovieCliLoader to tell when that is done (since it is larger than my movie I can wait until t is loaded to move on.).

THanks for the advice.

peace,
Rickard