|
查看: 1226|回复: 1
|
大家帮帮忙 urgent
[复制链接]
|
|
|
myTextArray = new Array();
myTextArray = (myInputText.split(" "));
for (var i = 0; i < myTextArray.length; i++)
{
if (myTextArray == "welcome")
_root.firstSound.start();
if (myTextArray == "my")
_root.secondSound.start();
}
}
我要一个字读完了在读第二个字,上面这个code是两个字同时读。
这是我的main project.
http://www.geocities.com/heeromai/project2.zip |
|
|
|
|
|
|
|
|
|
|
发表于 11-3-2008 03:06 AM
|
显示全部楼层
需要找到那些sound的length先才可以。因为, FOR LOOP, 是很快的。。。。
check Flash 是不是play 完了第一个sound, 才来play第二个。 |
|
|
|
|
|
|
|
|
| |
本周最热论坛帖子
|