You would need to use the getTimer() method to work out the time the movie clip has been idle.