PDA

View Full Version : [AS2] Doubling the score


greens85
05-21-2007, 10:03 AM
Hi,

Is is possible to double the users score in a game with the use of a math function, i have tried the following but its been unsuccessful.

_root.score*2;

and

_root.score == _root.score*2;

Can anyone help?

Thanks

kennard
05-21-2007, 12:21 PM
_root.score *= 2;

greens85
05-21-2007, 01:23 PM
Is there also a way to divide the score?

pkoncar
05-21-2007, 10:00 PM
_root.score /= 2;
:)