[F8] [F8] fscommand("exec","") to open/run mac on projectors on mac
forgive me if i have the wrong forum...
im making a flash project to go on cdrom for windows and mac. i dont use mac and have limited access.
flash files are menu.fla, file1.fla, file2.fla and exported as projectors. ie
windows projector - menu.exe, file1.exe, file2.exe
mac projector - menu.hqx, file1.hqx, file2.hqx
when burning to hybrid cd the ".hqx" files are decoded as app for mac (from my understanding from using cdeverywhere)
for windows it all is fine.
how do i code in AS to run the decoded 1.hqx
as i believe if i burn it to hybrid cd and decode the hqx files they have no extension
so am i correct below for the button code to open/run file1.exe/file1.hqx....
PHP Code:
on(release){
platform = $version;
platform = platform.slice(0,3);
if (platform == "WIN")
{
// we're running on Windows
fscommand("exec", "file1.exe");
}
else if (platform == "MAC")
{
// we're running on MAC
fscommand("exec", "file1");
}
}
is this code correct or am i completely wrong??
thanx