急急急!!!FLASH AS3 影片剪辑 如何用一个按钮控制影片剪辑??

2025-01-02 12:09:12
推荐回答(1个)
回答1:

a_mc.visible =false;//不可见
x_btn.visible =false;
x_btn.addEventListener(MouseEvent.CLICK ,closef);
push_btn.addEventListener(MouseEvent.CLICK ,outf);
function outf(e) {
a_mc.visible=true;//可见
x_btn.visible =true;
}
function closef(e) {
a_mc.visible =false;
x_btn.visible =false;
}
//只用可见属性就可以完成