Instance of Symbol 8 MovieClip in Frame 1
onClipEvent (enterFrame) {
loadPercent = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_xscale = loadPercent;
}
Frame 3
if (_framesloaded >= _totalframes) {
gotoAndStop (4);
} else {
gotoAndPlay (1);
}
Instance of Symbol 19 MovieClip "playbutton" in Frame 46
on (press) {
if (_currentframe == 1) {
nextFrame();
_root.stop();
} else {
prevFrame();
_root.play();
}
}
Instance of Symbol 28 MovieClip in Frame 46
onClipEvent (load) {
var startX = _x;
var endX = (startX + 150);
var offset = 46;
var playbackFrames = (_root._totalframes - offset);
seeking = function (Void) {
var _local2 = Math.round(((_root._currentframe - offset) / (_root._totalframes - offset)) * 100);
_x = (startX + (_local2 * 1.5));
};
following = function (Void) {
if ((_root._xmouse >= startX) && (_root._xmouse <= endX)) {
_x = _root._xmouse;
}
jumpFrame();
};
jumpFrame = function (Void) {
var _local3 = ((_x - startX) / 1.5) / 100;
var _local2 = Math.round(playbackFrames * _local3);
_root.gotoAndStop(_local2 + offset);
};
onEnterFrame = function (Void) {
this.seeking();
};
}
on (press) {
_root.stop();
this.onEnterFrame = function (Void) {
this.following();
};
}
on (release, releaseOutside) {
if (_root.playbutton._currentframe == 1) {
_root.play();
}
this.onEnterFrame = function (Void) {
this.seeking();
};
}
Symbol 13 Button
on (press) {
play();
}
Symbol 19 MovieClip Frame 1
stop();
Symbol 21 Button
on (press) {
gotoAndStop ("title");
}
Symbol 25 Button
on (press) {
getURL ("http://afro-ninja.com", "blank");
}