# \[JSFL\] Export movieclip for AS and not in First frame + JSFL reference

**URL:** <https://forum.kirupa.com/t/jsfl-export-movieclip-for-as-and-not-in-first-frame-jsfl-reference/235322>\
**Category:** open source\
**Created:** [August 10, 2007, 8:07am UTC](https://forum.kirupa.com/t/jsfl-export-movieclip-for-as-and-not-in-first-frame-jsfl-reference/235322 "2007-08-10T08:07:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gvozden](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/gvozden/32/1084_2.png) [@gvozden](https://forum.kirupa.com/u/gvozden)\
**Post date:** [August 10, 2007, 8:07am UTC](https://forum.kirupa.com/t/jsfl-export-movieclip-for-as-and-not-in-first-frame-jsfl-reference/235322/1 "2007-08-10T08:07:22Z")

</div>

great JSFL reference  
[http://dynamicflash.com/jsfl/](http://dynamicflash.com/jsfl/)

I’ve used it yesterday to set Export for AS and not Export in first frame for some using item.name, but exaple is for all movieclip in library

it’s fairly simple to code in JSFL when you have good reference like this  
code is

```auto
var libItems = fl.getDocumentDOM().library.items;
fl.outputPanel.clear();

for (i = 0; i < libItems.length; i++){
     var item = libItems*;
     
   if(item.itemType == "movie clip"){
           fl.trace(item.name+" will be export to 1st Frame. " + item.itemType);
      item.linkageExportForAS = true;
      item.linkageIdentifier = item.name;
      item.linkageExportInFirstFrame = false;
      
      
   }
}

```

if you have problem how you can use this I can post few sentences
