So I need some help coding button events to transition my pages…I’m new to AS so bear with me.
The only code that I have written so far to do this is…
import flash.events.MouseEvent;
//—Home button property change—\
homebtn.addEventListener(MouseEvent.CLICK, homeClick);
function homeClick (event:MouseEvent): void{
gotoAndPlay(“getjargon”);
}
This is the code for my home button. When someone clicks it, it goes to the frame for my home movie clip. But, the transition is very abrupt. I want to fade out the end of one clip and fade in the next movie clip. I’m not really sure what to do next…I figure I gotta write something that will fade out whats currently on the stage and then move to the selected frame?
Can I write multiple functions to one mouse event?
any help appreciated thanks.