The powers that be have decided a project I'm working on shouldn't go on a website after all, but needs to be on a CD for Windows users instead and of course I only have a couple of days to made the "relevant tweaks" as they call them.
It needs to run directly from the CD so I presume AIR isn't a good option.
I've got all of it working by publishing to a Windows Projector executable. The bit I'm stuck with is allowing users to click buttons to open various directories which will be on the CD. These are source files for following tutorials from the main part of the CD. I've tried playing around with the various options in the FileReference class (namely browse() and download()), but they seem to be set up for use online only.
My current workaround is to simply tell users where the necessary files are located and leave them to find them on the CD, but this isn't great.
My forum and google search has turned up some stuff to do with .bat files, but I don't understand these and would rather find a solution within Flash if at all possible.
Can anybody help?
Are you sure AIR won't run from a CD(assuming the users have the AIR environment on their systems)? You can do that when bringing up the CD using AUTORUN. http://www.ezau.com/latest/articles/autorun.shtml I don't know if you can tweak that to run on demand.
There are two options here that I can think of..
1. Preinstall AIR on their machines, and use AIR files. That will work IF AIR is already installed. Flash projectors have no ability to control the file system in this way, but AIR does.
2. Use a Director projector. There are Director Xtras that can control the file system, and you can embed a SWF in Director. So you wouldn't have to recreate the SWF content, you'd only need to have Director and learn some basics about using SWF and making projectors.
That's all I can think of.