Mega Code Archive
Register the submitForm() and debugMessage() handler functions with b1s click event
public function createHandlers(e:Event):void {
b1.addEventListener(MouseEvent.CLICK, submitForm);
b1.addEventListener(MouseEvent.CLICK, debugMessage);
}
private function submitForm(e:Event):void {
}
private function debugMessage(e:Event):void {
}