the application must reside in a subdirectory named fscommand. The exec command works only from within a Flash projector file. */. case “exec”: //need to deal. I’ve tried the following: fscommand(exec, ); I have pdf files in the root directory with the projector file as well as a sub directory called ‘fscommand’. use and to execute anything in the sub-folder named ” fscommand”. import and; fscommand(“exec”.
|Published (Last):||9 September 2008|
|PDF File Size:||7.67 Mb|
|ePub File Size:||7.51 Mb|
|Price:||Free* [*Free Regsitration Required]|
Some of the products that appear on this site are from companies from which QuinStreet receives compensation.
This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.
Conquering FSCommand EXEC
Page 1 of 2 1 2 Last Jump to page: Results 1 to 20 of Since then CS4 and AS3 and I tried using the old fire-it-up which allows you to launch, print and save files. It works in AS2 but not my AS3 project. Does anyone have a simple Cross Platform suggestion? All I want to do it Launch Files and Keep it simple.
I don’t really want to have to learn an API from some of the great 3rd party tools out there.
Exrc Suggestions to perform this simple task? Check out this thread I actually remember this thread from a while back. I will use it now since this is all I want to do. Will this work using AS3? Here’s what my file structure looks like: FScommand folder – invoke. Your problem isn’t with proxy, invoke or your BAT file. If you put a trace statement in the launch function you’ll see that it isn’t getting called! Hi Northcode – I feel like Aa3 am close to this working. I replaced what you had with the latest versions of invoke.
Works like a charm!
You are a master! Fscommnad are using the getURL and placed the document fscommand folder. Some MAC machines not opening the documents. I am using flash player 9. AppleScript is the simplest solution for the Mac and you can basically do the same thing. Create one AppleScript for each file you want to open and then use fsommand “exec”, “file1.
The key difference between OSX and Windows is where the fscommand folder goes. On windows it goes in the same folder as your EXE. When your swf2exe tool just HAS to work there’s only one choice NC, I’m working on a hybrid cd and web project and have the getURL working on the web-side, the bat files working on the PC side and just need to get the applescript files compiled. Do you know of any way to do this on a PC?
Also, what is the correct syntax within the applescript file? If I have to send it to my client to compile on his Mac, I’d like to only have to do it once. Do I have it call the Word file directly: Love like you’ve never been hurt, live like there’s no tomorrow and dance like nobody’s watching. If you know where the file is going to be on the CD and you can set the Fscommwnd name then you can use a simple script like this one. Last edited by Northcode; at Eexec, I got a buddy with a mac to make the scpt files for me.
I published the Mac projector and am getting ready to send it to the client to review. Do I have to drop the fscommand folder inside the start. The fscommand folder has to be in the same folder as the “Flash Player” file inside the app bundle so it should be in So, I’ve got all the. Here’s fscojmand I have the files set up on the CD: On the PC, clicking on the eexec 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: Got that figured out. Turns out it was a nesting issue.
This worked fine when I had the buttons on the stage and used this[event. Now, my only issue is that none of the documents open on the Mac fsdommand Let me know if anything jumps out at anyone about my folder structure Northcode, Sent you a PM about a problem I’m still having with this.
How To Open PDF File From Flash using Fscommand | Artfans Design
Would really appreciate it if you could take a few minutes to look at it All times are GMT The time now is You may have to register before you can post: To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 20 of 22 Thread: Not sure, but the function seems to be working I’ve posted this before, but I’ll save you the trouble of hunting it down.
This makes targeting files from AppleScript a little trickier because every reference you make is relative to the fscommand folder, fscommnad the AppliScript has to be so you can EXEC it. If you want, I’m glad to upload the code, files, package, etc. I’m using CS6, but can save down to a previous version.