11 Oct
Posted by: antilopanda19283flash in: Experiences, Flash CS3, jsfl
var lib = fl.getDocumentDOM().library; var libItemLength = lib[0].length; for (i=0; i < libItemLength; i++){ if(lib.getItemType(lib[0][i].name) == "bitmap") { lib.selectItem(lib[0][i].name); lib.setItemProperty('allowSmoothing', true); lib.setItemProperty('compressionType', 'photo'); } }
download the jsfl file, and please share your comments and improvements.
2 Responses
brian
24|Mar|2009 1Hi all,
I’d like to resize everything in my library by 200%. Can I use this somehow? my file is as1, not sure if that makes a difference.
Cheers,
Brian
admin
24|Oct|2009 2yeah it can be used that way.
Leave a reply