[DEMO] Heads or Tails - Flip a coin Nov 27, 2012 By Geert De Rycke Hi All, here's a little game I made using Java Randomizer Layers Variables States Triggers Lightbox Input field Hope you enjoy it. Geert heads+or+tails.story
Dave Neal over 11 years ago11/27/12 at 1:01 pm (UTC) It seems to be a game called "choose 'tails' or lose" . It doesn't randomize for me... Other than that, it looks nice. Quite a polished piece.
Geert De Rycke Author over 11 years ago11/27/12 at 1:05 pm (UTC) Hi Dave, you need to publish it first, as it uses JAVAscript. You'll also have to have java enabled on your computer Cheers Geert
Dave Neal over 11 years ago11/28/12 at 3:43 am (UTC) Geert, I do have javascript enabled on my browser. Here are my results after publishing: But then, maybe I'm just real unlucky... coinflip.png
Geert De Rycke Author over 11 years ago11/28/12 at 3:46 am (UTC) Hi Adam, What browser are you working on ? As you have the source code alter the javacode, add this line before the setvar line Alert(x); it will show a popup window with the random number that was generated Cheers Geert
Alphonso Hendricks over 11 years ago12/04/12 at 12:33 am (UTC) I find the same thing. Not randomising. Using CHROME browser. Have included Alert(x); as instructed. And then republished. No pop-up window appeared. Should I try a different browser?
Geert De Rycke Author over 11 years ago12/04/12 at 12:36 am (UTC) Hi Alphonso, yes please try it with an other browser, I've only IE7, IE8 and IE9 Cheers Geert
Phil Mayor Hero over 11 years ago12/04/12 at 12:49 am (UTC) It works for me! On IE8 Seriosly I am starting to think the javascript trigger sshould be avoide where possible because of browser issues
Alphonso Hendricks over 11 years ago12/04/12 at 12:55 am (UTC) Yep, can confirm it works in Internet Explorer 8
10 Replies
It seems to be a game called "choose 'tails' or lose" . It doesn't randomize for me...
Other than that, it looks nice. Quite a polished piece.
Hi Dave,
you need to publish it first, as it uses JAVAscript.
You'll also have to have java enabled on your computer
Cheers
Geert
Geert,
I do have javascript enabled on my browser. Here are my results after publishing:
But then, maybe I'm just real unlucky...
Hi Adam,
What browser are you working on ?
As you have the source code alter the javacode, add this line before the setvar line
Alert(x);
it will show a popup window with the random number that was generated
Cheers
Geert
I find the same thing. Not randomising. Using CHROME browser.
Have included Alert(x); as instructed. And then republished. No pop-up window appeared.
Should I try a different browser?
Hi Alphonso,
yes please try it with an other browser, I've only IE7, IE8 and IE9
Cheers
Geert
It works for me! On IE8
Seriosly I am starting to think the javascript trigger sshould be avoide where possible because of browser issues
Nice demo though, thanks for sharing
I completely agree with phil.
Yep, can confirm it works in Internet Explorer 8
This discussion is closed. You can start a new discussion or contact Articulate Support.