#12002/9/28 11:47:20
我再flash中作的控制声音播放的文件,引用到网页中为什么不管用,只能停止不能播放。可是单独运行是可以使用。
下面是我控制的源代码:
frameAction
mySound=new sound();
mySound.attachSound("01.mp3");
mySound.start();
_root.curState=1;
play
on (release){
if (_root.curState==0){
mySound.start(_root.myTime/1000);
_root.curState=1;
}
}
stop
on (release){
mySound.stop();
myTime=0;
_root.curState=0
}
[img]http://61.144.28.245/hjc/web/non-cgi//usravatars/paladin.gif[/img]
I thirst for freedom