载入中。。。
载入中。。。
2008-11-29 10:18:00
>>flash cs3的应用(五) 影片剪辑的隐藏和显示

AS3中的影片剪辑的隐藏和显示和AS2中的差不多,在AS2中常用

_root.movieclip.visible=false;

把movieclip隐藏,而在AS3中则是用

movieclip.visible=false;

把movieclip隐藏,然后点击xianshibutton这个按钮

xianshibutton.addEventListener(MouseEvent.CLICK, xianshitrue);

function xianshitrue(event:MouseEvent):void {

movieclip.visible=true;

}

把它显示。

 

壮志凌云 | 阅读全文 | 回复(0) | 引用通告 | 编辑
发表评论:
载入中。。。
用户公告
载入中。。。
时间记忆
<<  < 2009 - 11 >  >>
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30
我的相册
最新日志
载入中。。。
最新评论
载入中。。。
最新回复
载入中。。。
我的好友
站点信息
载入中。。。
   http://blog.ddedu.com.cn/user1/2377/index.shtml