TheAgent
11-16-2010, 12:04 PM
Hello,
Is there a way to check from a a range of a number is true, for example i have an event in actionscript that triggers when Score >= 9500 however it keeps triggering that if statement because my score keeps increasing above 9500, how can i either stop it from triggering or check withing a range of numbers for example.
if ( Score == 9500-10100 )
{
//do something cool
}
I know what i did is probably wrong but its how i can explain it
Thanks
Is there a way to check from a a range of a number is true, for example i have an event in actionscript that triggers when Score >= 9500 however it keeps triggering that if statement because my score keeps increasing above 9500, how can i either stop it from triggering or check withing a range of numbers for example.
if ( Score == 9500-10100 )
{
//do something cool
}
I know what i did is probably wrong but its how i can explain it
Thanks