[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.Frame 4 (8 B)
stop();
Instance of Symbol 31 MovieClip in Frame 10 (340 B)
onClipEvent (load) {
mcHandle._x = mcBoundL._x;
stop();
up = false;
firstframe = _root._currentframe;
lastframe = 4211;
}
onClipEvent (enterFrame) {
if (this.mcHit.hitTest(_root._xmouse, _root._ymouse, false)) {
if (!up) {
up = true;
this.gotoAndPlay("down");
}
} else if (up) {
up = false;
this.gotoAndPlay("up");
}
}
Instance of Symbol 31 MovieClip in Frame 18 (340 B)
onClipEvent (load) {
mcHandle._x = mcBoundL._x;
stop();
up = false;
firstframe = _root._currentframe;
lastframe = 6069;
}
onClipEvent (enterFrame) {
if (this.mcHit.hitTest(_root._xmouse, _root._ymouse, false)) {
if (!up) {
up = true;
this.gotoAndPlay("down");
}
} else if (up) {
up = false;
this.gotoAndPlay("up");
}
}
Frame 6070 (8 B)
stop();
Symbol 9 Button (31 B)
on (release) {
_root.play();
}
Symbol 10 MovieClip Frame 1 (39 B)
percent = 0;
_root.mcBar._xscale = 0;
Symbol 10 MovieClip Frame 3 (209 B)
percent = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
mcBar._xscale = percent;
textPercent.text = percent;
if (percent >= 100) {
gotoAndStop (4);
} else {
gotoAndPlay (2);
}
Symbol 29 MovieClip Frame 5 (8 B)
stop();
Symbol 29 MovieClip Frame 10 (8 B)
stop();
Instance of Symbol 23 MovieClip "mcHandle" in Symbol 30 MovieClip Frame 1 (1.06 KiB) ●
onClipEvent (load) {
barWidth = _parent.mcBoundR._x - _parent.mcBoundL._x;
pressed = false;
}
onClipEvent (enterFrame) {
if (!pressed) {
this._x = _parent.mcBoundL._x + (((_root._currentframe - _parent._parent.firstframe) / (_parent._parent.lastframe - _parent._parent.firstframe)) * barWidth);
} else {
total = _parent._parent.lastframe - _parent._parent.firstframe;
dest = Math.ceil((((this._x - _parent.mcBoundL._x) / barWidth) * total) + _parent._parent.firstframe);
_root.gotoAndStop(dest);
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this, false, _parent.mcBoundL._x, this._y, _parent.mcBoundR._x, this._y);
_root.stop();
pressed = true;
stopAllSounds();
} else if (_parent.mcBar.hitTest(_root._xmouse, _root._ymouse, true)) {
pressed = true;
startDrag (this, true, _parent.mcBoundL._x, this._y, _parent.mcBoundR._x, this._y);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
stopDrag();
if (_parent.mcPlay.playing) {
_root.play();
}
pressed = false;
}
}
Instance of Symbol 29 MovieClip "mcPlay" in Symbol 30 MovieClip Frame 1 (212 B)
onClipEvent (load) {
playing = true;
}
on (release) {
if (playing) {
_root.stop();
playing = false;
this.gotoAndPlay("paused");
} else {
_root.play();
playing = true;
this.gotoAndPlay("play");
}
}
Symbol 31 MovieClip Frame 11 (8 B)
stop();
Symbol 31 MovieClip Frame 20 (8 B)
stop();
Symbol 41 Button (35 B)
on (release) {
gotoAndPlay (18);
}