
ActionScript and properties
9
•
The
getURL()
function can only be called once per keypress, and can only be used for the
http
,
mailto
,
https
and
tel
protocols. Only the first
getURL()
call in a keypress statement
block is executed; all subsequent
getURL()
calls in the same block are ignored.
•
A button action can be assigned to launch an e-mail composition window with the address,
subject, and body text fields already populated. There are two methods to do this. Method 1
can be used for either Shift-JIS or English character encoding, while method 2 only supports
English character encoding.
Method 1
Set variables for each of the desired parameters, for example:
on (release, keyPress "#") {
subject = "email subject";
body = "email body";
getURL("mailto:[email protected]", "", "GET");
}
Method 2
Define each parameter within the getURL action, for example:
on (release, keyPress "#"){
getURL("mailto:[email protected]?subject=email subject&body=email
body");
}
•
Key events can only be attached to the keys 0-9, #, *, and the Enter key.
•
The
loadMovie()
,
loadVariables()
,
loadMovieNum()
,
and
loadVariablesNum()
functions are not supported.
•
The
MaxScroll
and
Scroll
text-scrolling properties are not supported.
•
Sound functionality is limited to event sound. An event sound can only be triggered to play
when it is attached to a keypress event. Only the first event sound in a keypress statement block
is played, and all other subsequent sounds in the same block are ignored.
•
There is no synchronized audio, so the
_soundBuffTime
property is not supported.
•
The range of valid integer numbers that can be represented is -2,147,483,648 to
2,147,483,647.
•
Math functions are not natively supported. In Flash Lite, the methods and properties of the
Math object are emulated using approximations and may not be as accurate as the non-
emulated math functions supported in Flash Player 5 and above.
•
The following Math functions can only be used with constants, not variables:
Math.acos()
,
Math.asin()
,
Math.atan()
,
Math.atan2()
,
Math.cos()
,
Math.pow()
, and
Math.tan()
.
•
The
_url
property is not supported.
•
The
Number()
and
String()
functions are not supported.
Note:
Flash 4 ActionScript does not support arrays. However, they can be emulated using the
eval() function. For more information, see Macromedia TechNote 14219, “How to use Eval to
emulate an array,” at www.macromedia.com/go/flash_support (English) or
www.macromedia.com/go/flash_support_jp (Japanese).
ActionScript commands that are not recognized are ignored. For a detailed listing of supported
ActionScript and properties, see Appendix A:
“Supported ActionScript” on page 25
and
Appendix B:
“Supported Properties” on page 37
.
Summary of Contents for FLASH MX 2004 - FLASH LITE AUTHORING GUIDELINES FOR THE I-MODE SERVICE
Page 1: ...Flash Lite Authoring Guidelines for the i mode Service by NTT DoCoMo...
Page 4: ...4 Contents...
Page 6: ...6 Chapter 1 Introduction...
Page 24: ...24 Chapter 4 Testing Content...
Page 36: ...36 Appendix A Supported ActionScript...
Page 40: ...40 Appendix B Supported Properties...
Page 48: ...48 Appendix D References...