#12005/1/12 8:42:24
mySound = new Sound();
mySound.attachSound("mySound1");
mySound.start();
onEnterFrame = function () { pausedTime = math.floor(mySound.position / 1000); };
control_sound.onPress = function() {
if (this._currentFrame == 1) {
this.gotoAndStop(2);
_root.mySound.stop();
} else {
this.gotoAndStop(1);
_root.mySound.start(pausedTime);
}
};
这是一段声音控制AS,一开始播放是ON 要怎么改能使默认的是OFF