as3 用一个按钮控制元件是否可见
jiantou.visible = false;var jianboolean:Boolean = true;jian_btn.addEventListener (MouseEvent.CLICK, jianfunc);function jianfunc (event:MouseEvent):void{if (jianboolean == true){jiantou.visible = true;jianboolean = false;trace ("true显示按钮");} else{jiantou.visible = false;jianboolean = true;trace ("false关闭按钮");}}
?