Timer Interval is Dependent on FrameRate?

Hey,

I have a game, and in it, I have a timer that fires 30 times every second. I want to increase stage.frameRate, while still keeping the timer firing at 30 times every second.

I thought that since the timer’s interval is in milliseconds, it would run independently of the frame rate - but when I increase stage.frameRate, the number of times that the timer fires per second is decreased. How would I increase stage.frameRate while still keeping the timer constant?

I’ve attached a .fla to better illustrate my problem.

Thanks!

EDIT: It appears that the timer, firing 30 times per second, only works well when the frameRate is divisible by 30. I guess that’s because the event only occurs on the closest actual frame to the specified millisecond time? I, however, still need the timer to run 30 times per second, even when the frameRate is something like 40.