Enabling the Export for ActionScript option automatically sets the linkage ID 
to the name (without path) of the symbol.
So setting the linkageIdentifier isn't really required.

Just a FYI :-)

regards,
Muzak

----- Original Message ----- 
From: "Christophe Herreman" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Thursday, November 03, 2005 4:09 PM
Subject: Re: [Flashcoders] Batch linkage jsfl command


> Thx all,
>
> I altered this version to only assign the name of the item and not the full 
> path.
>
> var selItems = fl.getDocumentDOM().library.getSelectedItems();
>
> for(var i=0; i<selItems.length; i++){
>    selItems[i].linkageExportForAS = true;
>    selItems[i].linkageIdentifier = selItems[i].name.split("/").pop();
> }
>
> regards,
> Christophe
>


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to