Movieclip 'blinking' transition

Hi all.

I need help with getting a movieclip to enter the stage. what i want is the effect of a fluorescent light coming on; in other words, i would like my movieclip to blink a couple of times really fast before staying on the stage. I would also like to remove it from the stage in much the same way.

where i’m at now is im setting opacity to 0 on enter_frame and then starting a really fast timer and setting opacity to 1 when it completes. then start another timer, setting the opacity to 0 and then… you get the picture.

Does any of you know if theres a smarter way of doing this? I have a lot of movieclips i want to act this way, but i cant write a class because they have different reasons for doing it.

Thanks,
Esben

maybe RENDER Event will help and function

clip.visible=!clip.visible[/AS]

yes, thank you, i found out how to solve it using that. Thanks.