Search Our Web Design Blog...

Monday, April 25, 2011

web site timeline

set your doc to be 1024 x 768. then you can set up your timeline for content:


You need to make a new layer for each "page" of your site and add a frame label at a specific point for that "page". We will make transitions later, for now you just want to have some area for content on your timeline

Friday, April 8, 2011

yout button's timeline


this is the timeline of your MOVIECLIP, it has its own timeline, this is how it should look:

button tutorial for movie clips in flash AS3

http://www.schoolofflash.com/blog/2008/05/flash-cs3-tutorial-movie-clip-buttons/

code for movie clip buttons

YOUR INSTANCE BUTTON NAME.buttonMode = true;


YOUR INSTANCE BUTTON NAME.addEventListener(MouseEvent.ROLL_OVER,animIn);
YOUR INSTANCE BUTTON NAME.addEventListener(MouseEvent.ROLL_OUT,animOut);


function animIn(event:MouseEvent):void {
event.target.gotoAndPlay("over");
}
function animOut(event:MouseEvent):void{
event.target.gotoAndPlay("out");
}

Monday, April 4, 2011

STOPPER!

yourButtonsInstanceName.addEventListener(MouseEvent.CLICK, functionname);

function functionname(event:MouseEvent):void
{
stop();
}