Sharing files that use behaviors

If you plan to share your FLA file with other users and you use ActionScript placed on or inside objects (such as movie clips), it can be difficult for those users to find your code’s location, even when they use the Movie Explorer to search through the document.

Document the use of behaviors if you are working with a complex document. Depending on the size of the application, create a flow chart, list, or use good documentation comments in a central location on the main Timeline.

If you are creating a FLA file with code placed in many locations throughout the document and plan to share the file, leave a comment on Frame 1 on the main Timeline to tell users where to find the code and how the file is structured. The following example shows a comment (on Frame 1) that tells users the location of the ActionScript:

/*
	ActionScript placed on component instances and inside movie clips using behaviors.
	Use the Movie Explorer to locate ActionScript
*/
Note: This technique is not necessary if your code is easy to find, the document is not shared, or all of your code is placed on frames of the main Timeline.

  This page on the Web