I’m designing an interactive piece in AS3, and here’s what I think I’m doing wrong (if someone could let me know how to fix it, I would be really appreciative!):
Everything is within movie clips. The viewer chooses an option, hovers and then the movie clip takes over, revealing information. Once the movie clip is over, however, I need for the viewer to have the same options as they did before they entered the movieclip… so I need for the AS3 to indicate to the movie clip that when it is finished playing, to go back to the original time line… is this possible?
That’s what I’ve done. I put the mc on, for example frame labeled movie, and said basically when hover, gotoAndPlay(“movie”); … and that works just fine, but I haven’t figured out how to tell the mc to go back to that main timeline once finished playing???
Yes, and the whole file goes a little bonkers! It plays through the entire file, ignoring all of the other commands. … Not too sure what to do, or why that command doesn’t work? Any thoughts??
I tried that too, and it does the same thing as the _parent.gotoAndPlay(1);
Either one of these codes makes the entire file run through without listening to any other AS3 code that it has. It’s really very frusterating!!
I’ve placed those at the end of the movie clips - the ones that I want the user to go back to the original timeline when they are done. The other actions are simple this.stop(); - which I’ve placed at different places on the main timeline wherever applicable - and the first frame on the main timeline has the coding required to hover over buttons and make them launch into the movie clips associated.
I can send you the file if you would like…
All I’ve got is Flash 8. Doubt I can open the file.
It seems like it should be working. I’m kinda at a loss for any solution. Wish I could be of more help. It is probably something simple though. If you upload the .fla, someone else might be able to take a look at it.