[F8] preloading external movie swfs into main.swf mc
Ok I had tacked this onto one of my other posts in another forum and didn't really get a working solution so i'm going to try and post new in this forum now.
I have a main swf, mvid.swf and promo.swf. mvid.swf and promo.swf each have a movie embedded into them, I want to load these into two empty movieclips in main.swf, target1 and target2. I was using
on (release) {target1.loadMovie("mvid.swf)}
on my buttons to load the movies up into the empty movie clips.
Now my question is, how can i have everything preload all at once so that when it is time for the movies to play they will start right up, also having the main.swf not play until everything has preloaded?
I was following this tutorial but couldn't get it to work properly.
http://www.bokelberg.de/actionscript/4.html
It seemed to work, however when I would direct my timeline to where the loaded movie should play, it wouldn't play. mvid.swf plays shortly after the main.swf starts up, but promo.swf should be on frame20. They are both promotional videos that the user needs to be able to view at any time so I have two buttons that will take them to either frame 19 where mvid is or frame 20 where promo is. Perhaps this is where my problem is? Can I have it so that they are preloaded and then play only when i want?
So I am very confused and very lost. I hope I explained everything clearly. I would post of my working fla, but my due to my client I'm unable to do that as the content is classified. If anyone could point me in the right direction I would be forever greatful. This is running me around in circles and I need to get this figured out soon. I appreciate your time and patience.