Combined Code
frame 1 {
function nextUp() {
_root.nextFrame();
}
function restartIt() {
_root.gotoAndStop(1);
}
function deadClick() {}
function backItUp() {
_root.prevFrame();
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var animeSauce = new ContextMenuItem('Game: Animahjong X Perfect', deadClick);
var songSauce = new ContextMenuItem('Song: Megaman 9 Shop', deadClick);
var nextTell = new ContextMenuItem('Press right or N to go to the next step', nextUp);
var prevTell = new ContextMenuItem('Left or P to go to the previous step', backItUp);
var restartTell = new ContextMenuItem('R restarts the whole thing', restartIt);
myMenu.customItems.push(animeSauce, songSauce, nextTell, prevTell, restartTell);
_root.menu = myMenu;
if (!newRun) {
dateSim = new Sound();
dateSim.attachSound('dateSim');
dateSim.start(0, 9999);
trace('We\'re running!');
newRun = true;
}
}
frame 1 {
stop();
}
// unknown tag 88 length 58
button 7 {
on (keyPress '<Left>') {
backItUp();
}
on (keyPress 'p') {
backItUp();
}
on (keyPress '<Right>') {
nextUp();
}
on (keyPress 'n') {
nextUp();
}
on (keyPress 'r') {
newRun = false;
restartIt();
}
}
movieClip 20 {
frame 112 {
stop();
}
}
movieClip 57 {
frame 136 {
stop();
}
}
movieClip 60 {
frame 22 {
stop();
}
}
movieClip 81 {
frame 74 {
gotoAndStop(6);
}
}
movieClip 130 {
frame 144 {
stop();
}
}
button 143 {
on (keyPress '<Up>') {
gotoAndStop(59);
}
on (keyPress '<Down>') {
gotoAndStop(79);
}
}
movieClip 144 {
frame 96 {
stop();
}
}
movieClip 209 {
frame 168 {
stop();
}
}