Flash CS4 Tutorial: Adding Button Functions HD part 4

Published: 17 August 2009
on channel: AdobeTutor12341
6,555
7

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. }


On this page of the site you can watch the video online Flash CS4 Tutorial: Adding Button Functions HD part 4 with a duration of hours minute second in good quality, which was uploaded by the user AdobeTutor12341 17 August 2009, share the link with friends and acquaintances, this video has already been watched 6,555 times on youtube and it was liked by 7 viewers. Enjoy your viewing!