Is there a way to check if an integer is going higher or lower in AS3

Posted by adamzwakk on Stack Overflow See other posts from Stack Overflow or by adamzwakk
Published on 2010-04-29T01:33:49Z Indexed on 2010/04/29 1:37 UTC
Read the original article Hit count: 336

Filed under:
|
|
|
|

I'm trying to make a script that listens to a variable (int or Number) and then does certain functions whether the variable is going higher or lower. So for example if the number gets higher, it runs one function. If it gets lower, it runs another.

Is this possible in AS3? Any ideas?

© Stack Overflow or respective owner

Related posts about flash

Related posts about flex