Hi Folks,
I have a Flash page which loads an external movie (swf file) into an object which I have named “body”. I then wish to start the movie at a frame other than the first, in this case I have labelled the frame as “history” in the external swf. The swf appears to load fine but it starts from the first frame, not the frame labelled “history”. I have placed the following ActionScript on the first frame of an empty layer in the Flash file that contains the “body” object.
loadMovie("menubot.swf", menuBottom); // Load bottom menu
loadMovie("menutop.swf", menuTop); // Load top menu
_root.section = "thehotel.swf"; // Name of external swf
loadMovie(_root.section, body); // Load swf into "body"
_root.body.gotoAndPlay("history"); // Play loaded swf at "history"
Any idea what might be the problem? Could it be that the swf file is not loaded before the gotoAndPlay function occurs? If so, how can I tell it to wait until the movie is loaded?
I have a similar problem elsewhere but I suspect that if I can get an answer to this problem, I will be able to fix the other problem as well. Thank you in advance.
Glen