Detecting OS -flash 5

How can i detect OS within flash 5