JSFL, Javascript for Flash, supports running scripts from other script files. The syntax is not very lucky, and I would have preferred something like import, but its availability allows for creation of libraries for reuse.
The file Commands.zip contains “newItem.jsfl”, that contains a few functions that come in handy when creating a new linked movieclip item. [...]