Does anyone have a script to detect the presence of flash 4?

Thank You.