detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function addTrigger(button:DisplayObject, functionDataCollectionSuccess:Function = null, functionDataCollectionFail:Function = null):void</code><p> 
   Registers a button(DisplayObject) to trigger <code>collectData</code> by MouseEvent.CLICK event.
   Also sets <code>functionDataCollectionSuccess</code> and <code>functionDataCollectionFail</code> to be triggered when <code>FormDataM