Hi,
I have over 600 bitmaps that need to be imported and assigned a class name
for AS export.
I work in Flash CS3 and thought it's a good ocasion to try out JSFL for the
first time.
I have managed to set class names for MC items in the library (sort of hello
world thing), but the method doesn't seem to work with bitmaps.
Given the task doesn't seem to be uncommon one, it's bit strange that I so
far I managed to google up only two references to it - both report a
possible bug and date back to 2006. Does anyone know a good solution that
would save me a few hours of really dull work?
Here's the way I set class for MC (it works):
var lib = fl.getDocumentDOM().library;
lib.selectItem ("MC_01");
var it = lib.getSelectedItems()[0];
it.linkageExportForRS = false;
it.linkageExportForAS = true;
it.linkageClassName = "SomeClass";
it.linkageExportInFirstFrame = true;
Also if this is really a bug I can't belive that Adobe didn't fix it since
2006. After all some people seem to be using JSFL quite a lot and it
seems like a potentially great and powerful tool.
Best,
Konrad
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders