To write custom behaviors, create an XML file that contains the ActionScript 2.0 code to perform the desired behavior, and save the file in the Behaviors folder of your local computer. Behaviors are stored in the following location:
Windows XP: C:\Documents and Settings\user name\Local Settings\Application Data\Adobe\Flash CS3\language\Configuration\Behaviors
Windows Vista: C:\Users\user name\Local Settings\Application Data\Adobe\Flash CS3\language\Configuration\Behaviors
Macintosh: Macintosh HD/Users/user name/Library/Application Support/Adobe/Flash CS3/language/Configuration/Behaviors/
Before you create your own behaviors, examine the Behavior XML files to develop an understanding of the syntax of the XML files, as well as the ActionScript code used to create behaviors. If you are new to writing behaviors, familiarize yourself with the XML tags used to create user interface elements (such as dialog boxes), and with ActionScript, the coding language used to create behaviors. To learn about the XML used to create interface elements, see Extending Flash. To learn about ActionScript, see Programming ActionScript 3.0 or Learning ActionScript 2.0 in Adobe Flash.
You can also download behaviors that other Flash users have created from the Adobe Flash Exchange website. You can visit the Adobe Exchange at: www.adobe.com/go/flash_exchange.
Comments
Comments are no longer accepted for Flash CS3. Flash CS4 is the current version. To discuss Flash CS3, please use the Adobe forum.