I'm working on a project that has a Main.fla and a Preload.fla. I am doing all the coding in Flash Builder 4. Each time I want to test I have to go to Flash CS5, publish Main.swf and then run Preload.swf. Is there a way to automate this process so I can just press the "Run Main" button inside Flash Builder 4 and all that is done automatically?
+1
A:
Use a JSFL script to compile all your fla's. Then set up the JSFL as an external tool in Flash Builder.
Sam
2010-06-10 03:56:34
I created the JSFL file and it runs fine in the Flash IDE but when I try to add it as an external tool I get an error saying the file cannot execute.
knuckfubuck
2010-06-14 23:01:27
When you setup the external tool did you point it directly to the jsfl or to flash.exe with jsfl as a command line parameter? Are there any spaces in the path? If you're on windows, try using short dos names for the path instead of one with spaces.
Sam
2010-06-15 18:17:48
I'm on a mac. It seems the External Tools does not recognize Flash.app as a file that can be run. I tried putting Flash.exe in as a test and the error about the file not existing went away. Is this a bug or is this functionality not allowed on a mac?
knuckfubuck
2010-06-16 05:45:03
@knuckfubuck, sorry, I can't help you with a mac. Try asking a new question specifically about running external tools in Eclipse on a mac.
Sam
2010-06-16 14:34:55