detect flash for web preview