开发者

Adobe Flash CS3 make MovieClip hidden

开发者 https://www.devze.com 2023-03-09 06:18 出处:网络
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.

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

精彩评论

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