I don't think getTimer() is exactly what you want...
The getTimer() function tells you the number of milliseconds that have passed since the movie started playing. What you need is how long it has been since the user last tried to access the movie clip...
I made a quick example of one way to do it. It has an explanation inside, and fully commented code. Hope it helps!