This content has been marked as final. Show 3 replies
Yea, I know that - this is the way I am creating my project.
But with the interval function you have to break your code to 2 functions: One of your main function, one on the interval function (to be executed after the flag change). And this mess up the code, specially if we talk about 500-1000 lines of code in an object which need to check with 3-5 flags with logical combination with those flags... too messy.....! :P
Still intervals seems to be the only way. :)
Still hoping someone to find another!!!... AS2.0 should have a "sleep" or "pause" or "wait" function that will make the object's called code to stop executing for some milliseconds. This would come very handy! :)