OK,

I've searched but couldn't find the answer to pausing actionscript in one frame.

Here's the scenario:
variable1 = 5000;
variable2 = 1000;
_root.pause(1000);
//pause this script for one second then continue with rest of script
variable3 = "Sam";

I just need to pause for one second (hopefully using a function) for a specified amount of time. Then be able to assign variable3.

I need to do this all in one frame. Is it possible to just pause a script for a certain amount of time?

Thanks.