|
|
1
1
把这个代码放在主时间轴的第1帧,和按钮在同一个场景中。
30是你的帧号。
|
|
|
2
1
通常最好使用帧标签,以防在动画中进行修改后帧编号发生更改。 play_btn.addEventListener(MouseEvent.CLICK, play_btnClickHandler);
function play_btnClickHandler(ev:MouseEvent):void
{
//The actual code to jump to a specific frame
this.gotoAndPlay('myFrameLabel');
}
|
|
|
nabster023 · 拉伸和旋转电影剪辑而不失真 8 年前 |
|
|
BadmintonCat · 获取数组排序的索引 8 年前 |
|
|
Dimentio · 无限循环(动作脚本3) 8 年前 |
|
|
steph45 · 它们是一种在数组中找到最接近0的数字的方法吗? 8 年前 |
|
|
AeroKLiam · AS3-使用组合框进行真/假测验 8 年前 |