I've just spent about a day and a half of my life, along with others in our studio trying to get a HYBRID CD ROM projector working.
Its a simple project - just a frontend GUI with a set of buttons to open up folders on the disc with relevent content in them.

I had issues with getting the Applescript code to work from the projector. I could run the script in script editor no probs, but clicking through from the flash projector didn't work.

The problem? Flash CS3.
I'd set my publish settings to flash player 8 and actionscript 2, but this didn't help.
To solve it, i saved the whole .fla as a flash 8 document, opened it on an older machine in flash 8, published from there and it works fine.

It annoyed me on here when people just said 'i've sorted it, thanks', so decided to post back and help out anyone who's stuck like me. So below i've pasted all the code and links that helped me out.


I've been using this forum massively - this post:
Northcodes Proxy

To open folders on windows:
Code:
drv = _url.substr(8,1);
getURL(drv+":\\folder"); // change the folder name to whatever you need
Northcodes SmartExec function works a treat along with his proxy application:
Code:
function SmartExec(target)
{
   platform = $version.slice(0,3);
   if (platform == "WIN") {
      fscommand("exec", target + ".exe");
   } else {
      fscommand("exec", target + "_script");
   }
}
and if you're using an actionscript version that doesn't support slice, then:
Code:
function SmartExec(target)
{
   platform = substring(getVersion(), 1,3);
   if (platform == "WIN") 
   {
      // we're running on Windows, target an EXE file
      fscommand("exec", target + ".exe");
   } 
   else 
   {
      // we're running on a MAC, target an AppleScript file
      fscommand("exec", target + "_script");
   }
}
Applescripting walkthrough here:
Morgadinho