<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;p&gt;You can use the Behavior tag to generate a new instance of a behavior for each target.  It will automatically set the &amp;#8220;target&amp;#8221; property on the generated class if it can.&lt;/p&gt;
&lt;p&gt;As an alternative, you can replace the behavior tag with an actual instance of the behavior.&lt;/p&gt;
&lt;h3&gt;Example&lt;/h3&gt;
&lt;p&gt;&lt;a href=&quot;http://files.seanhess.net/demos/bifff/BehaviorTag.html&quot;&gt;Demo&lt;/a&gt;&lt;br /&gt;
/ &lt;a href=&quot;http://github.com/seanhess/bifff/tree/master/examples/src/BehaviorTag.mxml&quot;&gt;Source&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;Usage&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;BehaviorMap target=&quot;{this}&quot;&amp;gt;
	&amp;lt;Selector match=&quot;#button&quot;&amp;gt;
		&amp;lt;Behavior generator=&quot;{MyBehaviorClass}&quot; property=&quot;value&quot;/&amp;gt;
	&amp;lt;/Selector&amp;gt;
&amp;lt;/BehaviorMap&amp;gt;
&lt;/code&gt;&lt;/pre&gt;</body>
  <created-at type="datetime">2009-11-26T17:30:37-08:00</created-at>
  <id type="integer">165400</id>
  <permalink>behavior</permalink>
  <repository-id type="integer">139115</repository-id>
  <title>Behavior</title>
  <updated-at type="datetime">2009-03-23T07:17:37-07:00</updated-at>
  <user-id type="integer">16249</user-id>
</wiki>
