Flash projector for MAC and PC

I’m creating a projector with MX, and want to have executable commands to open a pdf, open a url, and send email.

For a PC, using the fscommand works for the url and email, but I’m doing something wrong on the pdf.
Here’s what I’ve done:

on (release) {
fscommand(“fullscreen”, “false”);
fscommand(“exec”, “apps/sample.pdf”);
}

Appreciate any help here.

-In addition, how can I have these commands work for both PC and MAC?