Return to Snippet

Revision: 13936
at May 13, 2009 11:05 by forchid


Initial Code
var libItems = fl.getDocumentDOM().library.items;

for (i = 0; i < libItems.length; i++){
if(libItems[i].itemType == "bitmap"){
libItems[i].allowSmoothing = true;
}
}

// Optional line to add into the loop if needed
// libItems[i].compressionType = "photo";

Initial URL


Initial Description


Initial Title
Script to Control Smoothing for ALL library assets in Flash IDE

Initial Tags
image, script, flash

Initial Language
ActionScript 3