|
-
anyone else hear that?
Northcode...hoping you can give me a little more direction here. 
So, I've got all the .app and .exe and .bat files for each one of the documents I need to open (39 total).
Here's how I have the files set up on the CD:
ROOT
start.exe
section1.swf - this is an animation that loads and plays as part of the CD
fscommand (FOLDER)
all the .exe, .bat and target files to be opened
start.app (FOLDER)
Contents (FOLDER)
MacOS (FOLDER)
section1.swf
fscommand (FOLDER)
all the .app and target files to be opened
The program launches fine on both platforms. The section1.swf takes longer to load and play on the Mac, but it does work (might just be the machine speed). On the PC, clicking on the buttons to open the documents works, but they ALL open the first document. On the Mac side, nothing opens when you click any of the document links...
Here's the code I'm using:
Code:
switch (this[event.target.name]) //when I trace this, it gives me null, but samp1.doc opens
//switch (event.target.name) //when I trace this, it gives me the correct button name, but no documents open
{
case b1_mc :
if (platform == "WIN")
{
fscommand("exec", "samp1.exe");
break;
}
else
{
fscommand("exec", "samp1");
break;
}
case b2_mc :
if (platform == "WIN")
{
fscommand("exec", "samp2.exe");
break;
}
else
{
fscommand("exec", "samp2");
break;
}
}
Any help you can give me would be much appreciated. If you want, I'm glad to upload the code, files, package, etc. for you to grab and take a look at. I'm using CS6, but can save down to a previous version.
Thanks!!
Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|