Combined Code
// unknown tag 88 length 65
movieClip 6 {
}
movieClip 7 {
}
// unknown tag 88 length 65
movieClip 11 {
}
frame 10 {
total = _root.getBytesTotal();
carregado = _root.getBytesLoaded();
pct.text = Math.floor((carregado / total) * 100) + '-100';
if (carregado == total) {
gotoAndPlay(12);
}
}
frame 11 {
gotoAndPlay(10);
}
movieClip 17 {
}
movieClip 20 {
}
movieClip 21 {
frame 1 {
caminhoMP3 = 'multimidia/musica.mp3';
var num = 100;
var som = new Sound();
som.attachSound('music');
som.start();
btnplay.onRelease = function () {
this.gotoAndPlay(6);
this.enabled = false;
this._alpha = 50;
btnpause.enabled = true;
btnpause._alpha = 100;
_root.onEnterFrame = function () {
num += 5;
som.setVolume(num);
if (num == 100) {
som.start();
delete _root.onEnterFrame;
}
};
};
btnpause.onRelease = function () {
this.gotoAndPlay(6);
this.enabled = false;
this._alpha = 50;
btnplay.enabled = true;
btnplay._alpha = 100;
_root.onEnterFrame = function () {
num -= 5;
som.setVolume(num);
if (num == 0) {
som.stop();
delete _root.onEnterFrame;
}
};
};
som.onSoundComplete = function () {
som.start();
};
btnplay.enabled = false;
btnplay._alpha = 50;
}
}
movieClip 23 {
}
frame 30 {
stop();
}