Seanx
10-17-2007, 06:29 PM
I'm trying to make a jsfl file that will take everything in the library of an fla and export it for actionscript as if I'd right-clicked each library item, and then clicked the 'Export for ActionScript' box, and then clicked 'OK' - so that it would be the same as the library name.
I know this is probably horribly wrong, but I don't have much experience with making jsfl files, and I'm not an AS expert either... anyway here's what I've got so far:
var items = fl.getDocumentDOM().library.items;
for (var i = 0; i<items.length; i++) {
items.linkageExportInFirstFrame = true;
}
(items[i]);
//
can anybody tell me what I'm doing wrong?
I know this is probably horribly wrong, but I don't have much experience with making jsfl files, and I'm not an AS expert either... anyway here's what I've got so far:
var items = fl.getDocumentDOM().library.items;
for (var i = 0; i<items.length; i++) {
items.linkageExportInFirstFrame = true;
}
(items[i]);
//
can anybody tell me what I'm doing wrong?