Initiating A Text Or Multimedia Message - MACROMEDIA FLASH 8-LEARNING FLASH LITE 1.X ACTIONSCRIPT Manual

Learning flash lite 1.x actionscript
Table of Contents

Advertisement

The following code attempts to initiate call to 555-1212:
getURL("tel:555-1212");
Flash Lite only processes one
handsets restrict the
getURL()
is processed only if it is triggered within a keypress event handler. Even under such
circumstances, only one
following example starts a phone call when the user presses the Select button on the device:
on (keyPress "<Enter>"){
getURL("tel:555-1212");
}

Initiating a text or multimedia message

You can use Flash Lite to initiate a short message service (SMS) or multimedia message service
(MMS) message. To initiate an SMS or MMS message in a Flash Lite application, you use the
command, passing it the
getURL()
protocol, and then the phone number to which you want to send the message.
getURL("sms:555-1212");
You can optionally specify the message body in the URL query string, as the following
code shows:
getURL("sms:555-1212?body=More info please");
To initiate an MMS message, you use the
getURL("mms:555-1212");
It's not possible to specify an attachment for the MMS message from Flash Lite.
Flash Lite processes only one
handsets restrict the
getURL()
is processed only if it is triggered within a keypress event handler. Even under such
circumstances, only one
following example initiates an SMS message when the user presses the Select button on
the device:
on (keyPress "<Enter>"){
getURL("sms:555-1212");
}
action per frame or per event handler. Certain
getURL()
action to keypress events only, in which case the
action is processed per keypress event handler. The
getURL()
or
sms:
mms:
mms:
action per frame or per event handler. Certain
getURL()
action to keypress events only, in which case the
action is processed per keypress event handler. The
getURL()
protocols in place of the standard
protocol instead of
sms:

Initiating a text or multimedia message

call
getURL()
http
, as follows:
call
getURL()
21

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-LEARNING FLASH LITE 1.X ACTIONSCRIPT and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents