I'm currently trying to make a Website with different Scene's. In each scene, theiris the same menu. But when i go to another Scene, and try to open a link, it opens the link in the first Scene, and not in the Scene i want it to. I'm now changing all links in all the Scene's (eg. on(release) { gotoAndPlay ("Scene2", 1) {) Is there a easier wayn of doing this, because theirs loads of links. Can't i tell the link somehow to open the frame in the same Scene, so i can copy and paste the menu in all of the Scene's, without relinking all links in each Scene?on(release) { gotoAndPlay ("Scene2", 1) {
use labels for your frames and refer to them accordingly: on frame 1 : "mylabel" gotoAndStop("label"); this works independent of scens, make sure you have unique labels though
That would take a a long time to do. is their anyway to say gotoAndPlay ("currentscene", 598)??
you can only refer to scene names for navigation in the root of your movie. so while on the root a gotoAndPlay("mySceneX",1) works, it won't do so from a nested mc or button. If you need to put _root.gotoAndPlay("mySceneX",1), it WON'T work. As morksinaanab says, use labels, or you can use frame numbers without the scene name, giving it the total number of frames - ie if you had scene1 with 20 frames, and wanted to go to frame 10 of scene2, you could say gotoAndPlay(30). this obviously becomes confusing very quickly though. Frame lables are the way forward! I actually stopped using scenes altogether years ago. hth }`¬P
Don't see what you're looking for? Try a search.
|