# Detect platform IN flash

**URL:** <https://forum.kirupa.com/t/detect-platform-in-flash/223808>\
**Category:** flash\
**Created:** [April 25, 2007, 10:59pm UTC](https://forum.kirupa.com/t/detect-platform-in-flash/223808 "2007-04-25T22:59:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tvdhoff](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tvdhoff/32/3088_2.png) [@tvdhoff](https://forum.kirupa.com/u/tvdhoff)\
**Post date:** [April 25, 2007, 10:59pm UTC](https://forum.kirupa.com/t/detect-platform-in-flash/223808/1 "2007-04-25T22:59:47Z")

</div>

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
