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=7q4nVszSOrM', '_blank');
}
function openMusicLink() {
getURL('https://www.youtube.com/watch?v=cV0GsHqkOMc', '_blank');
}
stop();
var credits = new ContextMenu();
credits.hideBuiltInItems();
var link1 = new ContextMenuItem('Music: Never Dull - gypsy in my mind (sped up)', openMusicLink);
var link2 = new ContextMenuItem('Visuals: Sad Cat Dance Meme by RandoWis', openVisualLink);
var menu1 = new ContextMenuItem('sad cat dance.swf', emptyFunction);
var menu2 = new ContextMenuItem('21.10.2022 | MrFreeware', emptyFunction);
var menu3 = new ContextMenuItem('Press 1-5 for different dances', emptyFunction);
menu1.separatorBefore = true;
credits.customItems.push(link1);
credits.customItems.push(link2);
credits.customItems.push(menu1);
credits.customItems.push(menu2);
credits.customItems.push(menu3);
_root.menu = credits;
Anim1._visible = true;
Anim2._visible = false;
Anim3._visible = false;
Anim4._visible = false;
Anim5._visible = false;
var key = {'onKeyDown': function () {
switch (Key.getCode()) {
case 49:
Anim1._visible = true;
Anim2._visible = false;
Anim3._visible = false;
Anim4._visible = false;
Anim5._visible = false;
break;
case 50:
Anim1._visible = false;
Anim2._visible = true;
Anim3._visible = false;
Anim4._visible = false;
Anim5._visible = false;
break;
case 51:
Anim1._visible = false;
Anim2._visible = false;
Anim3._visible = true;
Anim4._visible = false;
Anim5._visible = false;
break;
case 52:
Anim1._visible = false;
Anim2._visible = false;
Anim3._visible = false;
Anim4._visible = true;
Anim5._visible = false;
break;
case 53:
Anim1._visible = false;
Anim2._visible = false;
Anim3._visible = false;
Anim4._visible = false;
Anim5._visible = true;
}
}};
Key.addListener(key);
}
movieClip 28 {
}
movieClip 67 {
}
movieClip 108 {
}
movieClip 129 {
}
movieClip 140 {
}