Archive for the ‘Flash CS3’ Category

If you are a flash developer, you should have seen lots of comboBox designs and they’re always different from each other. And the default comboBox component in flash? You know how it is, I realy don’t need to say anything about it.
So, I needed a comboBox that is easily editable, easy to use and [...]

 
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.