Platform integration commands
45
sv
: Swedish.
tr
: Turkish.
xu
: The language cannot be determined.
zh-CN
: Simplified Chinese.
zh-TW
: Traditional Chinese.
Device and player identification
The commands in this section provide the mobile phone’s ID and platform information to Flash
content on the mobile phone.
GetDeviceID()
The
GetDeviceID()
function sets a parameter that represents the unique identifier of the mobile
phone (for example, serial number).
This function is executed immediately upon invocation. If
GetDeviceID()
is not supported, a
value of
-1
is returned.
Syntax
status = FSCommand2( "GetDeviceID” “id” )
Return value
A value of -1 if the function is not supported; 0 if it’s supported.
Supported applications
This feature is not supported in all mobile phones.
GetPlatform()
The
GetPlatform()
function identifies the current platform. The platform broadly describes the
class of the mobile phone. For mobile phones with open operating systems, this identifier is
typically the name and version of the operating system.
The name of the platform is returned in a variable that is passed in by name, in the form of a
string.
This function is executed immediately upon invocation. If
GetPlatform()
is not supported, a
value of
-1
is returned.
Syntax
status = FSCommand2( "GetPlatform”, “platform” )
Return value
A value of
-1
if the function not supported;
0
if it’s supported.
Sample resultant values for
platform
:
Содержание FLASH MX PROFESSIONAL 2004 - FLASH LITE 1.1...
Страница 1: ...Macromedia Flash Lite 1 1 Authoring Guidelines...
Страница 6: ...6 Contents...
Страница 10: ...10 Chapter 1 Introduction...
Страница 20: ...20 Chapter 2 Optimizing Content...
Страница 56: ...56 Chapter 7 Testing Content...
Страница 58: ...58 Chapter 8 Development Kit Examples...
Страница 74: ...74 Appendix B Supported ActionScript Properties...