-
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.
Thank you
on (rollOver) {this.gotoAndStop("s1");}
on (rollOut, releaseOutside) {this.gotoAndStop("s2");}
on (release) {
this.gotoAndStop("s2");
_root.buttons2[("b" + _root.g_page)].gotoAndStop("s2");
_root.g_page = 0;
_root.page = 0;
_root.center1.play();
_root.center1.b0.b.enabled = false;
_root.buttons2.b1.b.enabled = false;
_root.buttons2.b2.b.enabled = false;
_root.buttons2.b3.b.enabled = false;
_root.buttons2.b4.b.enabled = false;
_root.buttons2.b5.b.enabled = false;
_root.buttons2.b6.b.enabled = false;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|