AARON SMITH’S CODE ENDEAVOR

JSFL: Declare Selected Items as Public Vars

Here’s a handy JSFL that creates “public var [instance_name]:[type];” declarations for all selected items on the stage, and trace’s it to the output panel.

It works fine with components, and also reads library information about the selected item, and uses the item’s base class for the instance type - if the clip is linked to a class.

Enjoy

  

No comments yet. Be the first.

Leave a reply