So I figured out how to sort of use the Loadmovie command. My flash page is set up in such a way that when you click the buttons, it searches the timeline and stops at whatever frame I would like Flash to stop it. Here is some example actionscript code that I have for the “Bio” button:
bio.onRelease = function ()
{
gotoAndStop(165);
};
So namely, Flash is looking for a movie symbol (the bio button) named Bio and then once that’s clicked, the player goes to and stops at frame 165. Now I have figured out how to get my .swf gallery into flash. The problem is that it won’t play. I’m guessing this has to do with the gotoAndStop command. I know it won’t play because there are supposed to be two arrows beneath the pictures that control changing the pictures. The first picture in the gallery displays (therefore I know it’s pulling the .swf). So, My question is whether or not anyone has any clever ideas to make this .swf play. The code I have for the “Pictures” button looks like the following:
pictures.onRelease = function ()
{
gotoAndPlay(166);
comingsoon.loadMovie(“test_gallery.swf”);
};
The comingsoon is a reference name for the symbol that’s basically the holder for the gallery. I tried using the command gotoAndPlay, but then the movie would play all the way until the very end of the movie. So then I tried modifying the comingsoon symbol to include a stop(); and that didn’t seem to do anything…so the last thing I tried was adding an extra keyframe that had a stop(); in it. This didn’t work either. I’m guessing because it skipped right over frame 166 and then stopped on the added keyframe at 167. So then I added the .swf movie into frame 167 and still had the same problem before…where it pulls, but won’t play. It was as if adding the extra frame did nothing. Any solutions would be helpful. Thanks.
Basically…things aren’t working. I tried just making a seperate file with one layer and I had an mc_holder on the layer as well as two movie clip text buttons. The first button I had set up to call on the .swf gallery and this time there was no stop(); command anywhere…the .swf pulled up but it STILL did not have the arrows on the bottom…so this now makes me think that it’s something completely different that’s wrong…ANY help would be appreciated. The photo gallery I’m using is actually the one listed on Kirupa as a tutorial. You can find it at http://www.kirupa.com/developer/mx/photogallery.htm
~Alex~