cpfmm2000
注册会员
查看详细资料
TOP
原帖由 cpfmm2000 于 2007-11-11 15:12 发表 附上代码: pp代表播放与暂停按钮 st代表停止按钮 pp.onRelease = function(){ if(pauseed){ s.stop(); played = s.position; pauseed = false; }else{ s.start(played/1000,1); pauseed = true; } ...
FLASH023
版主
查看个人网站
原帖由 终极讨厌 于 2007-11-11 15:20 发表 st.onRelease = function() { played = 0; s.stop(); }; 加一句played = 0;
pp.onRelease = function() { if (pauseed) { s.stop(); played = s.position; pauseed = false; } else { s.start(played/1000, 1); pauseed = true; } }; st.onRelease = function() { pauseed = false; played = 0; s.stop(); };
中级会员
新手上路