View Full Version : Need urgent help targeting a scene!!
thinboyslim
05-24-2002, 10:08 AM
Here’s the deal – I’ve got a scene called ‘main’, within this scene I’ve got a movie clip called ‘quick nav’. The movie clip is like a button which when clicked opens up and reveals a set of navigation buttons. Here’s the problem – I’m trying to set an action on these navigation buttons that when clicked send the user to another scene (for example one of the other scenes is called ‘main service’). Could you let me know how to target various scenes from this movie clip?
Speedy replies will be greatly received!
Thanks all
Ryan
thegermster
05-24-2002, 12:55 PM
Hi thinboyslim,
Ah, another victim falls prey to the infamous scenes that flash offers. :p If you read around this forum, you'll see that using scenes is a very unpopular thing to do. Flash only seems to recognize them when they are on the _root level of the flash movie. It's best to combine them all into one scene and designate your pages with frame labels. If that results in too much work, there is a way to get around your problem. On the scene with the button, create an extra blank keyframe making it one frame past the last current frame in the movie and give it this action:
gotoAndPlay ("Scene 2", 1);
Then go to your button and give it this action:
on (release) {
_root.gotoAndPlay(50);
}
This is of course assuming that the new keyframe of your movie is on frame 50. Try avoiding scenes in the future as they can give you quite the headache. Hope this helps. :)
vBulletin v3.5, Copyright ©2000-2010, Jelsoft Enterprises Ltd.