Skip to content

Instantly share code, notes, and snippets.

@davisford
Created August 8, 2011 22:34
Show Gist options
  • Save davisford/1132919 to your computer and use it in GitHub Desktop.
Save davisford/1132919 to your computer and use it in GitHub Desktop.
EventHandler for receiving messages
[EventHandler(event="BluetoothTxRxEvent.RX", properties="data")]
public function receive(data:String):void {
// parse the message and do something with it
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment