Timed actionscript- is it possible on actionscript?

Hi guys, id like to know if its possible to time a stop actionscript.

for example i have a short movie, at the end of scene 1 it will stop for a period of time, depends on how long you set it on actionscipt, lets say 5 seconds, after 5 seconds, it will continue to play the next frame?

so instead of measuring the duration of that scene on the timeline manually, it will be done via actionscript.

hope anyone could help me on this. thanks in advance!!