Unload SWF and Return to a frame in the Initial SWF
Hello, I used to use Flash quite often years ago when this was easily done - I guess back in the AS2 days. I have found this difficult to do in AS3. I have created the same presentation in 4 languages. I first created the original English version then duplicated the file to make the conversions. The presentation starts with an initial file titled "Engine360" - Buttons animate in and the time line stops. Viewer then selects which language they prefer by clicking the appropriate button. Let's say the viewer selects "English" The English button directs the play head to a label where the buttons animate off stage, the play head stops on a frame that loads "360English.swf". The code on this frame I used is:
var EnglishLoader:Loader = new Loader();
var url:URLRequest = new URLRequest("360English.swf");
EnglishLoader.load(url);
addChild(EnglishLoader);
This works perfectly, the play head in the initial file "Engine360" is stopped on a blank frame while the viewer watches the loaded "360English.swf". My problem is the viewer needs to be able to select a "Reset" button. The "Reset" button needs to unload the "360English.swf" and return the play head back to the initial "Engine360" say "frame 5" where they can once again select the preferred language. This was once easy, now it's not, but I have spent very little time learning AS3. Any help with this would be immensely appreciated!! I thank you in advance.
Oh, not sure if this is important but this will be published AIR 26.0 for Desktop with Windows installer.
