Combined Code
frame 1 {
stop();
var empty = new ContextMenu();
empty.hideBuiltInItems();
_root.menu = empty;
onEnterFrame = function () {
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
textBox.text = Math.round(getPercent * 100) + '%';
this.loadBar._width = getPercent * 100 * 3;
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
delete onEnterFrame;
play();
}
};
}
movieClip 3 {
}
movieClip 5 {
}
// unknown tag 88 length 122
frame 2 {
function emptyFunction() {}
function openVisualLink() {
getURL('https://www.youtube.com/watch?v=gaiBKECU1xw', '_blank');
}
function openMusicLink() {
getURL('https://www.youtube.com/watch?v=-7XnDlYY9qw', '_blank');
}
stop();
var credits = new ContextMenu();
credits.hideBuiltInItems();
var link1 = new ContextMenuItem('Music: Hey Ya! - Outkast', openMusicLink);
var link2 = new ContextMenuItem('Visuals: Duck Dance with Riv and Moon by Flickering Nightfall', openVisualLink);
var menu1 = new ContextMenuItem('Duck Dance with Riv and Moon.swf', emptyFunction);
var menu2 = new ContextMenuItem('03.05.2023 | MrFreeware', emptyFunction);
menu1.separatorBefore = true;
credits.customItems.push(link1);
credits.customItems.push(link2);
credits.customItems.push(menu1);
credits.customItems.push(menu2);
_root.menu = credits;
}
movieClip 134 {
}
movieClip 135 {
frame 1622 {
gotoAndPlay(31);
}
}