Detect platform IN flash

Hi All,

I’m (still) building a hybrid CD-ROM flash presentation, which is working out nicely.
One of the reqs. is launching PDF files from the presentation. This works well on Windows, using a .bat script and should work fine on MAC using Applescript (haven’t tried it yet, but have found some code). Only trouble is: how can I tell from within the Flash standalone projector which platform is being used so I can fire the appropriate script?

Anyone?

Thanks!

Tim