Hello.
I am in the process of making a game (As usual), and I sent a demo of it to my friend. However, he cannot seem to click on the continue button to get back the introduction of the story. Due to previous similar problems, I believe that the script I am using for the continue button may not be compatable with macs.
Here is the code:
class ButtonContinue extends MovieClip {
var Timer
function onLoad() {
Timer = 0
// The timer is so that you can't accidently click the button
// twice in a row and skip the story.
}
function onEnterFrame() {
Timer += 1
if (Key.isDown(1)) {
if (Timer >=10) {
_root.nextFrame();
_root.MessageFade.gotoAndPlay(1);
// That above script will make the next frame fade in
// instead of suddenly appearing.
Timer = 0
}
}
}
}
Can anyone comfirm my suspicions, and tell me what I can do to fix this? Or possibly give another explination?
(And yes, I do know that you can click anywhere and the button still registers. That is intentional.)
Thanks in advance, Orc.
Loading