需要用到按钮和影片剪辑结合!
首先你要准备好所有的按钮,比如a1,a2,a3这3个按钮
还要3个影片剪辑b1,b2,b3,这里面分别放你点a1,a2,a3时出现的说明
然后将这些元件全部拖入到舞台上
下面开始加命令
先点第一帧,输入
b1._visible=false;//b1影片剪辑隐藏
b2._visible=false;
b3._visible=false;
然后分别给按钮加动作,点中a1按钮,加入
on(release){
b1._visible=true;//b1影片剪辑可见
b2._visible=false;
b3._visible=false;
}
a2的代码
on(release){
b2._visible=true;
b1._visible=false;
b3._visible=false;
}
a3的代码
on(release){
b3._visible=true;
b2._visible=false;
b1._visible=false;
}