PDA

View Full Version : Button issues


mguthrie00
10-10-2006, 12:06 AM
Hey all!

I'm working on a site and trying to get a button to link to an image/page that I'd like to pop up. There are already a few buttons in the flash movie that do this, so I'm trying to copy them, but I can't really figure them out.

The code under the button is:

on (release) {
_root.page5.gotoAndPlay("s1");
_root.page5.swapDepths(10000);

I understand what it is saying, but I cannot figure out how page5 is descriptive of the movieclip that it loads. The movie is called something completely different and no where in its properties can I find where it is called page5.

Basically, how can I get another button to bring up a new movie clip I'm going to create? Where is the label/tag/whatever that this code refers to?

Thanks for the insight! :)

raskolnikov
10-12-2006, 10:39 AM
the code _root.page5 refer to level0

movie clip instance name must be "page5":cool: