Search Our Web Design Blog...

Thursday, October 20, 2011

creating a menu

creating a menu and then a website in flash is fun, although a hair confusing... here is a link to a tutorial of what we will be doing in class:

buttons:
http://schoolofflash.com/blog/2008/05/flash-cs3-tutorial-movie-clip-buttons/
start with buttons (they are animated! fun!) then we can add them to a website, which is fairly simple...

Flash is an animation program that can prove useful for the web, most notably for it entertainment properties. It works with a timeline, layers and scenes to create basic animations...

Action scripting: the code used to make your button work!

homecodeexplained.gif

code to copy:

everything in BOLD and Italics needs to be changed to match what you have in your Flash movie/document:

yourButtonsInstanceName.addEventListener(MouseEvent.CLICK, onClick);

function
onClick(event:MouseEvent):void{
gotoAndPlay("Your Frame Label Here");
}

No comments:

Post a Comment