Looping function

Hi All,

I am creating an application using VB and flash 8.

It is nearly finished but im stuck on one thing.

I need to create a function that loops every 20 seconds.
This is because VB sends a var to flash and i need to detect to see if i have received it so then i can change a button.

Regards

Lee