|
查看: 1999|回复: 3
|
还是action script的问题。。。
[复制链接]
|
|
|
想问,可不可以这样做。。。?
我想做从scene1 click 一个 button, 然后跳到scene 1的其中一个frame走一段animation,走完了animation, 会直接跳到scene 2的frame。
这样有没有可能?
我只知道在button 那里的script 是:
on (release) {gotoAndPlay(6);
}
接下去能加吗?
我想它接去scene 2。。。 |
|
|
|
|
|
|
|
|
|
|
发表于 23-6-2011 01:56 PM
|
显示全部楼层
|
在animation最后一个frame用gotoAndPlay(这里放scene 名,这里放frame) <--最好check一下怎么叫scene,frame。我忘了 |
|
|
|
|
|
|
|
|
|
|
发表于 1-7-2011 03:37 PM
|
显示全部楼层
on (release) { .[scene-name].gotoAndPlay(6);
}
然后最后的frame放 gotoAndPlay ("[screne 2-name]");
试试看 |
|
|
|
|
|
|
|
|
|
|
发表于 13-8-2011 11:34 PM
|
显示全部楼层
回复 1# 幽灵
你可以用
on(release)
{gotoAndStop(frame)};
来避免play下一个frame. |
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|