Control transparency w a formula r function

Any way to control transparency w a formula r function. Just make an image flash on n off quickly.

I no there r other ways but I want to do it n a group. Ive already done it w the date function just experimenting but not quick enough.

Thanks Jim