haysclark / flashcommand

Python helper script to compile Flash FLAs from the command line.
MIT License
0 stars 4 forks source link

Error: Flash File not found #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. flashcommand -p -v -s file.fla

What is the expected output? What do you see instead?
Actions : Public
Save JSFL false
Close FLA : false
Close Flash : false
Calling Flash
Executing Command : osascript -e 'tell application "Flash" to open posix file 
"/var/folders/Rd/RdFFftvuE+qyZtVC0LVHl++++TI/-Tmp-/tmpCS-Htn.jsfl"'
28:110: execution error: File Flash wasn’t found. (-43)
...............................
Timeout waiting for Flash to respond (30 Seconds)

What version of the product are you using? On what operating system?
OS X 10.5.2 
Adobe Flash Professional 9

Please provide any additional information below.

Original issue reported on code.google.com by rquig...@gmail.com on 30 Apr 2008 at 3:26

GoogleCodeExporter commented 8 years ago
What happens if you give the absolute path to the FLA?

Original comment by mikechambers on 2 May 2008 at 2:55

GoogleCodeExporter commented 8 years ago
Absolute path returns the same error.

Original comment by rquig...@gmail.com on 2 May 2008 at 2:57

GoogleCodeExporter commented 8 years ago
What version of OS X are you on?

Original comment by mikechambers on 2 May 2008 at 8:34

GoogleCodeExporter commented 8 years ago
10.5.2. all patched up to latest versions on os x and flash as well

Here's the output of a generated jsfl file:

//Generated by FlashCommand for OS X
//Fri May  2 20:47:37 2008 UTC
//http://www.markme.com/mesh/archives/004419.cfm
var sourceFile = 
"file:////Users/ryan/ee_websites/miandn/project_files/home.fla";
var outputFile = 
"file:////Users/ryan/ee_websites/miandn/project_files/home.swf";
var logFile = "file:////Users/ryan/Downloads/FlashCommand/tmpqPE5EC.log";
var doc = fl.openDocument(sourceFile);
fl.outputPanel.clear();
fl.getDocumentDOM().publish();
fl.outputPanel.save(logFile, true);

If I run that jsfl file from the IDE though, it works fine. Incidentally, if a 
separate path is specified for the output swf in Publish settings, 
that path is used instead of "outputFile"

Original comment by rquig...@gmail.com on 2 May 2008 at 9:03

GoogleCodeExporter commented 8 years ago
I just uploaded a new version (.90).

This should fix it. Can you check it and confirm?

Original comment by mikechambers on 3 May 2008 at 12:43

GoogleCodeExporter commented 8 years ago
Works perfect, Mike. Thanks!

Original comment by rquig...@gmail.com on 3 May 2008 at 3:32

GoogleCodeExporter commented 8 years ago

Original comment by mikechambers on 3 May 2008 at 4:35