|
|
发表于 31-5-2009 09:24 AM
|
显示全部楼层
ttt.addEventListener(MouseEvent.ROLL_OUT, onRollOut_it);
ttt.addEventListener(MouseEvent.ROLL_OVER, onRollOver_it);
ttt.addEventListener(MouseEvent.CLICK, onClick_it);
function onRollOut_it(e:MouseEvent):void {
ttt.gotoAndPlay(11);
}
function onRollOver_it(e:MouseEvent):void {
ttt.gotoAndPlay(2);
}
function onClick_it(e:MouseEvent):void {
ttt.gotoAndStop(1);
} |
|