Can two function in a class be accessed simultaneously in AS3?

Posted by Roger B on Stack Overflow See other posts from Stack Overflow or by Roger B
Published on 2010-06-07T20:19:37Z Indexed on 2010/06/07 20:22 UTC
Read the original article Hit count: 310

Filed under:
|

In a custom queue, there's a push() and a pop() function. The pop() may be called any time on an Event.COMPLETE, so does this mean that code can be running in push() and pop() simultaneously? If so, is there a way to prevent the code from being run in both functions at the same time?

© Stack Overflow or respective owner

Related posts about flash

Related posts about as3