Is there a keyword/function I can use (in Flex/Flash AS3) to delay the execution of a method for several microseconds? Similar to the "delay" command in C. I need to do this without setting up a timer, since I need the actual execution of the method to halt where it is.
This is needed for a resource lock mechanism.
trace("LoadWeeks: Waiting for lock");
} while( lock != false);