Hi Scott,
A simpler solution if you are compiling with MMC is to use JSFL. This
one-line script will test the currently open FLA document:
fl.getDocumentDOM().testMovie();
Just save that as "testMovie.jsfl" and it will execute when opened (opening
the Flash IDE if it isn't already). If you need to run it from another
program like SEPY you just associate the jsfl with the Flash.exe.
If you want a more involved script, this one will clear the output panel,
save and compact the FLA, clear your ASO cache (you need to have Mike
Chambers' ASO clearing extensions installed for that part to work) and
finally test your movie:
fl.outputPanel.clear();
fl.getDocumentDOM().saveAndCompact();
var asoDirPath = fl.configURI + "Classes/aso";
fl.runScript(fl.configURI + "Commands/asoCommandLibrary.js",
"clearASOCache", asoDirPath);
fl.getDocumentDOM().testMovie();
I have both of those scripts associated with keyboard shortcuts and find
them invaluable time savers. Hope that helps :)
- Scott W.
On 7/25/05, Scott Hyndman <[EMAIL PROTECTED]> wrote:
Hi guys,
The project I'm working on at work is all Flash IDE-based, and I'm
trying to get an automated build process going. I'm not willing to use
ANT. I'm sure it's great, but .bats are much quicker for me, and time is
of the essence.
Now I know there is a way to get the Flash IDE to build from the command
line (using JSFL?), but I can't seem to find any information on the web
about it (only broken links). Could someone fill me in?
Thanks,
/Scott
_________________________________________________________________
Need a new job? Check out XtraMSN Careers http://xtramsn.co.nz/careers
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org