tarun khurana
Nov 3, 2008, 12:04 PM
hello sir! I want to ask that question about random numbers.I know how to generate random nos but I don't know how to save that number example:
like that I show u below:
:confused:// command: trace(Math.floor(Math.random()*10));
some no. appears on the screen like 4
I want to save that no above so that I can use it further,again I traced the command
some no appears like 6 I want that the previous no and the current no adds,subtract etc.
like 4+6=10;
how to do so?
what scripting I use there?
help me!
I'm very thankful to u if I get the answer:)
like that I show u below:
:confused:// command: trace(Math.floor(Math.random()*10));
some no. appears on the screen like 4
I want to save that no above so that I can use it further,again I traced the command
some no appears like 6 I want that the previous no and the current no adds,subtract etc.
like 4+6=10;
how to do so?
what scripting I use there?
help me!
I'm very thankful to u if I get the answer:)