Stop math.random generating numbers
Hi,
I have made a test which has a "test over" page at the end. When the test has finished and goes to this page, I cannot get the buttons to work - even though it was using a code snippet. I have noticed that math.random() keeps generating numbers when I get to the "test over" page and wondered if this was the reason why I could not get any buttons to work.
Is there a way to stop math.random() from generating numbers? The code for it is;
var MeSelRam: Number = Math.random();
MeSelectQu = Math.round(MeSelRam * 9 + 1);
Numbers are generated on frame 5. "Test over" is frame 111.
On the "test over" frame I tried to use MeSelRam = null; but didn't work.