| Previous | Next | |
Windows: Flash 8 or 9 AS2.0 swf + mProjector
3.1.0
Macintosh: Not Yet Available
mApplication.onMessage = function (arguments:Array) {
// your statements here
}arguments
Nothing.
Event handler; An event handling function called when the application is called by another mProjector application via the mApplication.sendMessage() command.
This example joins the array of strings received by the onMessage command and traces them to the trace viewer.
mApplication.onMessage = function(args:Array) {
mApplication.trace("received message");
var msg = args.join(" ");
mApplication.trace(msg );
}http://www.screentime.com/downloads/mp/code/sendMessage.zip
| Questions or Feedback? | Previous | Next |