applyBehavior() also passes the necessary arguments to the function in the section.
5. Inspect the behavior: From a user??™s point of view, building a Web page is often a trial-and-error
process. You try one setting and if it doesn??™t work, you try another. To modify settings for a particular
behavior, the user double-clicks the behavior name to reopen the dialog box and change the
settings. The inspectBehavior() function handles the restoration of the previous values to
the parameters form for easy editing.
6. Test the behavior: The final step, as in any software development, is testing. You need to try out
the new behavior in a variety of Web browsers and debug it, if necessary (and believe me, it??™s
always necessary).
To demonstrate the process of creating a behavior, the next few sections take you through a real-world
example: the construction of a Set Layer Z Index action by Massimo Foti, esteemed Dreamweaver/Fireworks
maven and extension developer (see www.massimocorner.com).
The behavior used in this example was developed when Dreamweaver referred to absolutely
positioned