|
-
I was using SmartExec to launch a applescript file; however, as stated above, that was no longer working. Therefore, I changed the last section of code to simply check to see if the user is on a mac or pc "platform = _root.$version.slice(0,3);" and if they are on a pc it is using fscommand("exec", target +".exe") target being whatever they selected from the list component to open the flash .exe file
e.g. the user selects a lesson number and then clicks the "launch'' button to launch their selected lesson.
launch_btn.onRelease = function() {
SmartExec(link[myListBox.selectedIndex]);
};
if it is not a pc then the code ("exec", target) refers to the fscommand folder and whatever target name the user selected from the list box (this should open the projector file). I tried adding ("exec", target+".app") but that doesn't work either. Shouldn't it?
I will take a look at your link to get BAT files working again. But a solution for the mac and applescript files. Will your commercial app address some of these executable issues or give me other ways of launching .exe and .app files from a standalone player?
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
|