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.deviantart.com/pixeljeff', '_blank');
}
function openMusicLink() {
getURL('https://modarchive.org/index.php?request=view_by_moduleid&query=165819', '_blank');
}
stop();
var credits = new ContextMenu();
credits.hideBuiltInItems();
var link1 = new ContextMenuItem('Music: Among the Stars by Lamb', openMusicLink);
var link2 = new ContextMenuItem('Visuals: SUDIO by PixelJeff', openVisualLink);
var menu1 = new ContextMenuItem('among the stars.swf', emptyFunction);
var menu2 = new ContextMenuItem('05.11.2022 | 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 88 {
}