开发者

Adobe Flash CS3 make MovieClip hidden

I have a MyGame.fla with some animation "MyAnim"(MovieClip). I want this animation to be hidden and stopped initially. I plan to start and show it when some button is clicked.

Of course, I can just type something like

getChildByName("MyAnim").stop();
getChildByName("MyAnim").visible = false;

in the constructor of MyGame in the source file MyGa开发者_JAVA百科me.as.

But maybe it's possible to set it hidden and stopped from within Flash?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜