Timed event

I set up a small swf with a few micro animations that i want to play when a timer reaches a certain interval at which point it picks a random event to start.

all this is contained in one MC. i got the random display of an event sort of down using Math.random() but the getTimer() bit (if i have to use that at all) is giving me some grief.