For more information on OSC, check the OSC tutorial on makingthings.com.
For information on how to send out OscMessages, see the send(), sendToAddress(), sendMessage() or sendMessageToAddress() functions in the McFlashConnect section.
If you're sending multiple OscMessages to the board at once, consider grouping all the messages into an OscBundle and sending them out together. This reduces network traffic and improves performance.
An OscBundle is simply an Array that is full of OscMessages. Once you've created your OscMessages, stuff them into an Array and send them out using the the sendBundle() and sendBundleToAddress() functions in the McFlashConnect section.
Example
// create an OscMessage that will set the state of LED 0 on the Application board to "on". var msg:OscMessage = new OscMessage( "/appled/0/state", [1] ); // access the address using the . operator: var msgAddress:String = msg.address; // read (or write) data into the args array, also using the . operator: var data = msg.args[0]; // this will be 1 // for incoming OscMessages, check to see where they came from: var msgFrom:String = msg.from;
See the list of all the OSC messages that the Make Controller knows how to respond to at http://www.makingthings.com/ref/firmware/html/group___o_s_c.html.