[Flash8] Execute function only once per second!?

Hi Kirupa!

Can someone pls help me to make function execute only once per second in ActionScript 2.0? As always I’ll start from example to explain my problem…

I have aprox. 15 buttons on my stageand all of them are calling the same function, but with different arguments. This function executes some effects, that lasts for 1 second. If someone will click on that buttons more often, than once per second, that will look horrible

I can disable that button, what was pressed, but this will not solve the problem, be cause someone in a hurry can click another button.

So how to make so, that the function will not execute more often, than once per second?

P.S.
It has to execute first, than wait, not wait, than execute…

Thanks in advance and sorry for my english.