Help on time limit countdown actionscript

hello… i’m new here…

sorry if i ask questions that been posted b4, but i js cant find one actionscript which teaches how to make a time limit countdown.

such as in my game the characters need to do something in 30seconds. And so i need a time limit of 30seconds…

pls help anyone? or need me explain further?

thx