//assets file path var assetsSwf = 'assets/ui/assets.swf'; //get all items in library var arr = fl.getDocumentDOM().library.items; for(var i =0 ;i