06
Jan
04

JSFL to export all components as SWCs

I needed to export a bunch of components from a source FLA several times for testing. Doing this manually got tedious very quickly, so, I created a small JSFL script to loop through the library and export all components.

var rootDir = "file:///C|/Documents and Settings/Sam/" +
"Local Settings/Application Data/Macromedia/" +
"Flash MX 2004/en/Configuration/Components/" +
"B-Line Charting Components 3.0/";

var items = fl.getDocumentDOM().library.items;
var item;
var j=0;
for (var i=0; i

Just change the root dir and put in your command folder.


1 Response to “JSFL to export all components as SWCs”


  1. 1 JesterXL Jan 6th, 2004 at 9:36 am

    Oh, so sexy…

    Thanks a ton, yo!

Comments are currently closed.