<?xml version="1.0"?>
<flash_behavior version="1.0">
<behavior_definition dialogID="ID of Dialog" category="Type of Behavior" name="Behavior Name" >
<properties>
<property id="Variable Name" default="Default Value"/>
</properties>
<dialog id="Id of Dialog" title="Title in title bar" buttons="accept, cancel">
<vbox>
<hbox>
<label value="Value of label" control="Control Name 1 ( control related to this label )"/>
<textbox literal="true or false" required="true or false" size="40" id="Control Name 1"/>
</hbox>
<hbox>
<label value="Value of label" control="Control Name 2 ( control related to this label )"/>
<menulist literal="true or false" id="Control Name 2">
<menupopup>
<menuitem label='val1'/>
<menuitem label='val2'/>
<menuitem label='val3'/>
<menuitem label='val4'/>
</menupopup>
</menulist>
</hbox>
</vbox>
</dialog>
<actionscript>
<![CDATA[
//Your Action Script (Behavior)
myFunc($Control Name 1$,$Control Name 2$);
//End Behavior
]]>
</actionscript>
</behavior_definition>
</flash_behavior>