[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Combined Code (6 KiB) ● ●
frame 1 {
_root.onLoad = function () {
_root._xscale = 145;
_root._yscale = 145;
};
_root.onEnterFrame = function () {
_root._xscale = 145;
_root._yscale = 145;
};
play();
}
movieClip 3 {
}
movieClip 6 {
}
movieClip 8 {
}
frame 2 {
_root.onLoad = function () {
_root._xscale = 145;
_root._yscale = 145;
};
_root.onEnterFrame = function () {
_root._xscale = 145;
_root._yscale = 145;
};
stop();
}
movieClip 13 {
}
movieClip 14 {
}
button 19 {
on (press) {
m = 1;
mouseHit = 1;
}
on (release, releaseOutside, rollOut) {
delete m;
delete mouseHit;
}
}
movieClip 21 {
}
movieClip 26 {
}
movieClip 27 {
}
movieClip 29 {
}
movieClip 31 {
}
movieClip 32 {
instance of movieClip 27 {
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.ml_input = 1;
}
}
}
instance of movieClip 31 {
onClipEvent (load) {
strtx = this._y;
}
onClipEvent (enterFrame) {
this._y = strtx + (_root._currentframe - 3) * 24;
}
}
}
button 37 {
on (press) {
delete _root.seekbar.doubleClick;
_root.music.play();
}
}
button 41 {
on (press) {
delete _root.seekbar.doubleClick;
if (_root._currentframe >= _root._totalframes) {
_root.gotoAndStop(2);
} else {
_root.nextFrame();
}
}
}
button 45 {
on (press) {
delete _root.seekbar.doubleClick;
_root.prevFrame();
}
}
button 49 {
on (press) {
delete _root.seekbar.doubleClick;
_root.music.gotoAndStop(_root.music._currentframe);
}
}
movieClip 52 {
}
movieClip 53 {
instance of movieClip 21 {
onClipEvent (enterFrame) {
if (_parent.mouseHit == 1) {
this._x = _root._xmouse;
this._visible = true;
} else {
this._visible = false;
}
}
}
}
instance seekbar of movieClip 53 {
onClipEvent (mouseDown) {
if (doubleClick >= 2) {
delete doubleClick;
} else {
++doubleClick;
}
}
onClipEvent (load) {
movie = new Color(_root);
shade = new Object();
value = 50;
shade = {'ra': value, 'rb': '0', 'ga': value, 'gb': 0, 'ba': value, 'bb': '0', 'aa': '100', 'ab': '0'};
noshade = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': 0, 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '0'};
status = '';
_root.seekbar._visible = false;
}
onClipEvent (enterFrame) {
if (status == 'Stop') {
movie.setTransform(shade);
} else {
if (status == 'Play') {
movie.setTransform(noshade);
}
}
if (statusTimer >= 50) {
status = '';
delete statusTimer;
} else {
++statusTimer;
}
_root.tests = doubleClickTimer;
if (doubleClick >= 2) {
if (movie_stop == true) {
if (_root._ymouse >= 350) {
_root.music.gotoAndStop(formula);
_root.seekbar.head._x = _root._xmouse;
}
status = 'Play';
delete statusTimer;
_root.music.play();
delete movie_stop;
} else {
status = 'Stop';
delete statusTimer;
_root.music.stop();
movie_stop = true;
}
delete doubleClick;
delete doubleClickTimer;
} else {
if (doubleClick >= 1) {
if (doubleClickTimer >= 10) {
delete doubleClick;
delete doubleClickTimer;
} else {
++doubleClickTimer;
}
}
}
fps = 25;
if (_root._ymouse >= 300) {
_root.seekbar._y = 378;
_root.seekbar._x = 11;
_root.seekbar._visible = true;
} else {
if (_root.seekbar.mouseHit == 1) {
} else {
_root.seekbar._visible = false;
}
}
if (second == null) {
second = 0;
min = 0;
ten = 0;
}
second = Math.round(_root.music._currentframe / fps);
ten = Math.floor(second / 10);
min = Math.floor(ten / 6);
ms1 = (_root.music._currentframe / fps) * 1000 - Math.round(_root.music._currentframe / fps) * 1000;
ms2 = (_root.music._currentframe / 3) * 1000 - Math.round(_root.music._currentframe / 3) * 1000;
ms3 = (_root.music._currentframe / 2) * 1000 - Math.round(_root.music._currentframe / 2) * 1000;
milsec = Math.floor((ms1 + 500) / 100) + '' + Math.floor((ms2 + 500) / 100) + '' + Math.ceil((ms3 + 500) / 100);
_root.playTimer = min + ':' + (ten - min * 6) + '' + (second - ten * 10) + ':' + milsec;
formula = Math.ceil(_root._xmouse * _root.music._totalframes / 550);
if (_root.seekbar.head.hitTest(_root._xmouse, _root._ymouse, true) && _root.seekbar.m == 1) {
_root.seekbar.mouseHit = 1;
_root.seekbar.head._x = _root._xmouse;
_root.music.gotoAndStop(formula);
} else {
if (_root.seekbar.head.hitTest(_root._xmouse, _root._ymouse, false)) {
delete _root.seekbar.mouseHit;
}
}
if (_root.seekbar.mouseHit == 1) {
_root.seekbar.head.gotoAndStop(3);
status = 'Stop';
delete statusTimer;
if (_root.seekbar.head._x < 0) {
_root.seekbar.head._x = 0;
delete _root.seekbar.mouseHit;
} else {
if (_root.seekbar.head._x > 539) {
_root.seekbar.head._x = 539;
delete _root.seekbar.mouseHit;
} else {
_root.music.gotoAndStop(formula);
_root.seekbar.head._x = _root._xmouse;
stopAllSounds();
delete playMusic;
}
}
} else {
if (_root.music._currentframe == _root.music._totalframes) {
if (_root._currentframe >= _root._totalframes + 1) {
_root.gotoAndStop(2);
} else {
if (_root._currentframe < _root._totalframes) {
_root.nextFrame();
}
}
}
if (playMusic == null) {
_root.music.gotoAndPlay(_root.music._currentframe);
status = 'Play';
delete statusTimer;
playMusic = 1;
}
_root.seekbar.head._x = _root.music._currentframe * 539 / (_root.music._totalframes - 1);
}
}
}
frame 3 {
stop();
}
movieClip 57 {
}
movieClip 58 {
}
movieClip 59 {
}
movieClip 238 {
}
frame 4 {
stop();
}
movieClip 607 {
}
frame 5 {
stop();
}
movieClip 611 {
}
movieClip 613 {
}
movieClip 725 {
}
frame 6 {
stop();
}
movieClip 729 {
}
movieClip 731 {
}
movieClip 735 {
}
movieClip 791 {
}
movieClip 793 {
}
movieClip 1052 {
}
movieClip 1136 {
}