If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

editing a navigation button

I am trying to edit a navigation button so that when clicked, it will bring the user to a specific point on the timeline. As it stands, when the "close"button is selected, the user is routed back to the main page and the beginning of the mc. This makes it somewhat annoying when trying to navigate through the entire site. Below is the Action script currently. Ideally, I would like to have the close button take the user back to frame 180 or so of the timeline. If someone could help shed some light, I would be gateful.

It's quite a big file, anyway, you will need to mess around with the number till you get what you desire.
Perhaps you should remake the file (if you did) to make it easier to edit, lots of code embedded everywhere you go (hard to find), looks ok though.

I have made the changes as you suggested within the action script but am still having an issue. After the changes are made, the "close" button no longer functions correctly and will not close the open window. I carefully checked to be sure I didn't mistype or space anything, but It appears I have it correct. Is it possible I need to make further change elsewhere?

It's quite a big file, anyway, you will need to mess around with the number till you get what you desire.
Perhaps you should remake the file (if you did) to make it easier to edit, lots of code embedded everywhere you go (hard to find), looks ok though.

PHP Code:

_root.center1.gotoAndPlay(50);// any number you desire

instead of _root.center1.play();

Making the changes as you suggested did resolve my issue, after I made the necessary changes on the timeline. Thank you again for the help.