Rate, Comment, Subscribe please
Script:
1. stop(1);
2.
3. //handle events for buttons...
4. about.addEventListener(MouseEvent.CLICK, clickSection);
5. home.addEventListener(MouseEvent.CLICK, clickSection);
6. pictures.addEventListener(MouseEvent.CLICK, clickSection);
7. contact.addEventListener(MouseEvent.CLICK, clickSection);
8.
9. function clickSection(evtObj:MouseEvent){
10.//trace shows what's happening...in the output window
11.trace("The "+evtObj.target.name+" button was clicked!")
12.//go to the section clicked on...
13.gotoAndStop(evtObj.target.name)
14. }
no problem
AdobeTutor12341 2 years ago