Combined Code
frame 1 {
stop();
}
movieClip 4 {
frame 1 {
function loadedIndicatorFrame() {
var v2 = int((_parent.getBytesLoaded() / _parent.getBytesTotal()) * 100) + 2;
if (v2 - lastFrame > 4) {
lastFrame += 4;
return lastFrame;
}
if (v2 - lastFrame > 0) {
++lastFrame;
}
return lastFrame;
}
function preload() {
newPercLoaded = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
percLoaded += (newPercLoaded - percLoaded) * 0.17;
percent = Math.ceil(percLoaded) + '%';
if (percLoaded > 100 && newPercLoaded == 100) {
play();
}
}
Stage.showMenu = false;
lastFrame = 1;
var percLoaded = 0;
var newPercLoaded;
onEnterFrame = preload;
}
}
instance of movieClip 4 {
onClipEvent (load) {
if (_parent.getBytesTotal() == _parent.getBytesLoaded()) {
quickPlay = true;
} else {
preLoad = _parent.getBytesTotal() * 1;
}
_parent.stop();
}
onClipEvent (enterFrame) {
this.gotoAndStop(loadedIndicatorFrame());
if (quickPlay == true) {
if (_currentframe == _totalframes) {
_parent.play();
}
} else {
if (_parent.getBytesLoaded() >= preLoad) {
_parent.play();
}
}
}
}
frame 2 {
stop();
}
// unknown tag 88 length 193
button 12 {
on (release) {
play();
}
}
// unknown tag 88 length 170
button 24 {
on (release) {
getURL('http://www.youtube.com/watch?v=UgPUqlBnlDI', '_blank');
}
}
button 27 {
on (release) {
getURL('http://www.youtube.com/watch?v=kWV5DFzSQZQ', '_blank');
}
}
button 30 {
on (release) {
getURL('http://www.youtube.com/user/lowdtown', '_blank');
}
}
button 33 {
on (release) {
getURL('http://www.twitter.com/lowdtown', '_blank');
}
}
frame 2878 {
stop();
}
button 35 {
on (release) {
this.gotoAndPlay('3');
}
}