Categories: How To | Flash Lite | Messaging | SMS | MMS | Code Examples
Compatibility: Flash Lite: 1.1, 2.x
"sms:aNumber?body=A Message" or "mms:aNumber?body=A Message"
myNumber = "4815162342"; myMessage = "Hi, This is my message"; getURL("sms:" add myNumber add "?body=" add myText); //Send a SMS /* getURL("mms:" add myNumber add "?body=" add myText); //Send a MMS */
You can check if Flash Lite can send SMS or MMS by using this numerical variables:
An example:
if(_capMMS) { getURL("mms:4815162342?body=Hi, This is my message"); //Send a MMS }
You can download an example with source code here:
Sending SMS/MMS example 240*320 (swf + fla)