Combined Code
movieClip 3 {
}
movieClip 6 {
}
button 10 {
on (release) {
_root.play();
}
}
movieClip 11 {
frame 1 {
percent = 0;
_root.mcBar._xscale = 0;
_root.stop();
}
frame 3 {
percent = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
mcBar._xscale = percent;
textPercent.text = percent;
if (percent >= 100) {
gotoAndStop('done');
} else {
gotoAndPlay(2);
}
}
}
button 16 {
on (release) {
getURL('http://www.dustfilms.com', '_blank');
}
}
button 23 {
on (release) {
getURL('http://www.dustfilms.com', '_blank');
}
}
movieClip 25 {
}
movieClip 28 {
}
movieClip 30 {
}
movieClip 33 {
}
movieClip 35 {
}
movieClip 36 {
frame 5 {
stop();
}
frame 10 {
stop();
}
}
movieClip 37 {
instance mcHandle of movieClip 30 {
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 mcPlay of movieClip 36 {
onClipEvent (load) {
playing = true;
}
onClipEvent (release) {
if (playing) {
_root.stop();
playing = false;
this.gotoAndPlay('paused');
} else {
_root.play();
playing = true;
this.gotoAndPlay('play');
}
}
}
}
movieClip 38 {
frame 11 {
stop();
}
frame 20 {
stop();
}
}
instance of movieClip 38 {
onClipEvent (load) {
mcHandle._x = mcBoundL._x;
stop();
up = false;
firstframe = _root._currentframe;
lastframe = 4709;
}
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 movieClip 38 {
onClipEvent (load) {
mcHandle._x = mcBoundL._x;
stop();
up = false;
firstframe = _root._currentframe;
lastframe = 5891;
}
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');
}
}
}
}
button 47 {
on (release) {
getURL('http://www.cookiedoughrecords.com', '_blank');
}
}
movieClip 52 {
}
movieClip 56 {
}
movieClip 74 {
}
movieClip 81 {
}
movieClip 87 {
}
movieClip 94 {
}
movieClip 96 {
}
movieClip 98 {
}
movieClip 100 {
}
button 103 {
on (release) {
getURL('http://www.dustfilms.com', '_blank');
}
}
button 106 {
on (release) {
gotoAndPlay('start');
}
}
frame 6061 {
stop();
}