Combined Code
frame 1 {
_root.gotoAndStop('f1');
}
frame 1 {
_root.onLoad = function () {
_root._xscale = 145;
_root._yscale = 145;
};
_root.onEnterFrame = function () {
_root._xscale = 145;
_root._yscale = 145;
};
stop();
}
button 5 {
on (press) {
m = 1;
mouseHit = 1;
}
on (release, releaseOutside, rollOut) {
delete m;
delete mouseHit;
}
}
movieClip 7 {
}
movieClip 11 {
instance of movieClip 7 {
onClipEvent (enterFrame) {
if (_parent.mouseHit == 1) {
this._x = _root._xmouse;
this._visible = true;
} else {
this._visible = false;
}
}
}
}
instance seekbar of movieClip 11 {
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.gotoAndStop(formula);
_root.seekbar.head._x = _root._xmouse;
}
status = 'Play';
delete statusTimer;
_root.play();
delete movie_stop;
} else {
status = 'Stop';
delete statusTimer;
_root.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 >= 350) {
_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._currentframe / fps);
ten = Math.floor(second / 10);
min = Math.floor(ten / 6);
ms1 = (_root._currentframe / fps) * 1000 - Math.round(_root._currentframe / fps) * 1000;
ms2 = (_root._currentframe / 3) * 1000 - Math.round(_root._currentframe / 3) * 1000;
ms3 = (_root._currentframe / 2) * 1000 - Math.round(_root._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._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.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.gotoAndStop(formula);
_root.seekbar.head._x = _root._xmouse;
stopAllSounds();
delete playMusic;
}
}
} else {
if (playMusic == null) {
_root.gotoAndPlay(_root._currentframe);
status = 'Play';
delete statusTimer;
playMusic = 1;
}
_root.seekbar.head._x = _root._currentframe * 539 / (_root._totalframes - 1);
}
}
}
movieClip 14 {
}
movieClip 179 {
}
movieClip 180 {
instance min of movieClip 179 {
onClipEvent (enterFrame) {
this._rotation += _root.seconds / 60;
}
}
instance hr of movieClip 179 {
onClipEvent (enterFrame) {
this._rotation += _root.seconds / 3600;
}
}
instance sec of movieClip 179 {
onClipEvent (enterFrame) {
if (_root.forward == 1) {
_rotation = _rotation + _root.seconds / 1;
_root.seconds = 3000;
} else {
_rotation = _rotation + _root.seconds / 1;
_root.seconds = -3000;
}
}
}
}
movieClip 182 {
}
movieClip 183 {
}
movieClip 184 {
}
movieClip 295 {
}
instance of movieClip 295 {
onClipEvent (enterFrame) {
this._rotation += 19;
}
}
instance of movieClip 295 {
onClipEvent (enterFrame) {
this._rotation += 29;
}
}
instance of movieClip 295 {
onClipEvent (enterFrame) {
this._rotation += 9;
}
}
frame 2453 {
forward = 1;
}
movieClip 410 {
}
movieClip 436 {
}
instance of movieClip 436 {
onClipEvent (enterFrame) {
this.amount += 3;
this.amount2 += amount * 0.15;
}
}
instance of movieClip 295 {
onClipEvent (enterFrame) {
this._rotation += 19;
}
}
instance of movieClip 295 {
onClipEvent (enterFrame) {
this._rotation += 29;
}
}
instance of movieClip 295 {
onClipEvent (enterFrame) {
this._rotation += 9;
}
}
movieClip 481 {
}
movieClip 482 {
}
movieClip 484 {
}
movieClip 485 {
}