Combined Code
frame 1 {
externallink.onRelease = function () {
getURL('http://www.4shared.com/get/1BUpqbQ8ce/Sakura_Kasugano.html', _blank);
};
}
frame 1 {
function toggleFullScreen() {
if (Stage.displayState == 'normal') {
Stage.displayState = 'fullScreen';
} else {
Stage.displayState = 'normal';
}
}
_root.playerstatus = 'Stopped';
_root.reserveplayerstatus = 'Stopped';
mySound = new Sound();
mySound.attachSound('');
mySound.start('', 999);
onEnterFrame = function () {
_root.nframe = _currentframe;
_root.framespeed = 40;
if (_root.forward == true) {
_root.nframe += _root.framespeed;
_root.gotoAndStop(_root.nframe);
}
if (_root.back == true) {
_root.nframe -= _root.framespeed;
_root.gotoAndStop(_root.nframe);
}
};
Stage.scaleMode = 'Scale';
Stage.align = 'TL';
var resizeListener = new Object();
resizeListener.onResize = function () {
toggleFullScreenButton._x = Stage.width / 2;
toggleFullScreenButton._y = Stage.height / 2;
};
Stage.addListener(resizeListener);
}
frame 1 {
_root.bracket._alpha = 0;
_root.volSlider._alpha = 0;
_root.stopbutton._alpha = 0;
_root.playbutton._alpha = 0;
_root.soundlevel._alpha = 0;
_root.fastforwardbutton._alpha = 0;
_root.rewindbutton._alpha = 0;
_root.fullscreenbutton._alpha = 0;
_root.playingstatus._alpha = 0;
_root.reserveplayingstatus._alpha = 0;
_root.externallink._alpha = 0;
}
frame 1 {
stop();
}
movieClip 8 {
}
movieClip 11 {
}
button 13 {
on (rollOver) {
_root.bracket._alpha = 100;
_root.volSlider._alpha = 100;
_root.stopbutton._alpha = 100;
_root.playbutton._alpha = 100;
_root.soundlevel._alpha = 100;
_root.fastforwardbutton._alpha = 100;
_root.rewindbutton._alpha = 100;
_root.fullscreenbutton._alpha = 100;
_root.playingstatus._alpha = 100;
_root.reserveplayingstatus._alpha = 100;
_root.externallink._alpha = 100;
}
}
button 15 {
on (press) {
_root.bracket._alpha = 0;
_root.volSlider._alpha = 0;
_root.stopbutton._alpha = 0;
_root.playbutton._alpha = 0;
_root.soundlevel._alpha = 0;
_root.fastforwardbutton._alpha = 0;
_root.rewindbutton._alpha = 0;
_root.fullscreenbutton._alpha = 0;
_root.playingstatus._alpha = 0;
_root.reserveplayingstatus._alpha = 0;
_root.externallink._alpha = 0;
}
}
movieClip 18 {
}
button 19 {
on (release) {
_root.play();
gotoAndStop('pause');
_root.playerstatus = 'Playing';
_root.reserveplayerstatus = 'Playing';
}
}
movieClip 22 {
}
button 23 {
on (release) {
_root.stop();
gotoAndStop('play');
_root.playerstatus = 'Paused';
_root.reserveplayerstatus = 'Paused';
}
}
movieClip 24 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 27 {
}
button 28 {
on (release) {
gotoAndStop(1);
_root.playbutton.gotoAndStop('play');
_root.playerstatus = 'Stop';
_root.reserveplayerstatus = 'Stop';
}
}
movieClip 32 {
}
button 33 {
on (press) {
startDrag('', false, -50, 0, 50, 0);
_root.playerstatus = 'Adjust Sound';
}
on (release, dragOut) {
stopDrag();
_root.playerstatus = _root.reserveplayerstatus;
}
}
movieClip 34 {
}
movieClip 37 {
}
instance volSlider of movieClip 37 {
onClipEvent (load) {
_parent.volSlider.drag._x += 50;
}
onClipEvent (enterFrame) {
vol = _parent.volSlider.drag._x + 50;
_parent.mySound.setVolume(vol);
_parent.volAt = Math.round(vol);
}
}
movieClip 41 {
}
button 42 {
on (press) {
_root.back = true;
_root.forward = false;
_root.playerstatus = 'Rewind';
_root.reserveplayerstatus = 'Rewind';
}
on (release) {
_root.back = false;
_root.forward = false;
_root.playbutton.gotoAndStop('play');
_root.playerstatus = 'Paused';
_root.reserveplayerstatus = 'Paused';
}
}
movieClip 44 {
}
button 45 {
on (press) {
_root.forward = true;
_root.back = false;
_root.playerstatus = 'Fast Forward';
_root.reserveplayerstatus = 'Fast Forward';
}
on (release) {
_root.back = false;
_root.forward = false;
_root.playbutton.gotoAndStop('play');
_root.playerstatus = 'Paused';
_root.reserveplayerstatus = 'Paused';
}
}
movieClip 48 {
}
button 49 {
on (press) {
toggleFullScreen();
}
}
movieClip 53 {
}
frame 310 {
gotoAndStop(1);
_root.playbutton.gotoAndStop('play');
_root.playerstatus = 'Stop';
_root.reserveplayerstatus = 'Stop';
}