开发者

problem in action script3 function prevFrame

i made a button if you rollover on it it's size is larger i want if you roll out开发者_JAVA百科 on it it's size return back to it's original size i use this function prevFrame but my problem is when i use it it stops on the previous frame only and i want to stop from the starting


You can label your frames an use the gotoAndStop() method


function onRollover(event:MouseEvent):void
{
   gotoAndStop('largeSize');
}

function onRollOut(event:MouseEvent):void
{
   gotoAndStop('normalSize');
}

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜