/ Published in: ActionScript 3
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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";