flash选择题:我已经按书上教的做了,可点击选项的时候效果根本出不来……我快疯了,SOS
来源:百度知道 编辑:UC知道 时间:2024/06/01 14:59:56
影片剪辑abcd是显示答案的,有5帧,各帧代码分别是:
stop();
aa = 1
aa = 2
aa = 3
aa = 4
aa = 5
透明按钮有4个a、b、c、d,其代码分别是:
on (release) {
tellTarget("/abcd") {
gotoAndstop (2);
}
}
on (release) {
tellTarget("/abcd") {
gotoAndstop (3);
}
}
on (release) {
tellTarget("/abcd") {
gotoAndstop (4);
}
}
on (release) {
tellTarget("/abcd") {
gotoAndstop (5);
}
}
确定按钮代码:
on (release) {
if (Number (abcd.aa) == 4) {
tellTarget("/正确") {
gotoAndplay (2);
}
}else if (Number (abcd.aa) == 1) {
tellTarget("/未选择") {
gotoAndplay (2);
}
}else {
tellTarget("/错误") {
gotoAndplay (2);
}
}
}
清空按钮代码:
on (relea
stop();
aa = 1
aa = 2
aa = 3
aa = 4
aa = 5
透明按钮有4个a、b、c、d,其代码分别是:
on (release) {
tellTarget("/abcd") {
gotoAndstop (2);
}
}
on (release) {
tellTarget("/abcd") {
gotoAndstop (3);
}
}
on (release) {
tellTarget("/abcd") {
gotoAndstop (4);
}
}
on (release) {
tellTarget("/abcd") {
gotoAndstop (5);
}
}
确定按钮代码:
on (release) {
if (Number (abcd.aa) == 4) {
tellTarget("/正确") {
gotoAndplay (2);
}
}else if (Number (abcd.aa) == 1) {
tellTarget("/未选择") {
gotoAndplay (2);
}
}else {
tellTarget("/错误") {
gotoAndplay (2);
}
}
}
清空按钮代码:
on (relea
我晕,什么时候的书啊,还tellTarget呢...直接abcd.gotoAndStop(4)就行了,注意大小写。是gotoAndPlay()和gotoAndStop(),建议新学者开脚本助手。
至于逻辑方面看着晕...不过照书做的应该没问题。先把大小写改过来试试吧
帮帮我,我已经安装了adobe flash player
如何学好高一的政治?我的选择题没有问题,就是大题几乎0分,老师说要按书上的原句写的.那怎么背下来?
我的mp3为什么不能同步显示歌词?我已经按照说明书上介绍的步骤做了啊!!
书上看了小孩的乳牙一般是20颗,我女儿现在已经长了24
为什么网页上的Flash不能正常显示?我已经安装了flash 8.0
我已经下载了flash player 8,可还是看不到i e 的flash
播放FLASH时有声没象,是怎么回事?我已经安装了FLASH PLAYER 7了啊!
我已经安装了flash player 8,打开网页还是显示不支持FLASH
网页播放flash需要插件吗?我已经安装了flash播放器为什么还是不行
flash小游戏现示x号可我已经下载flash播放器了怎办?