Macromedia flash mx professional 2004-macromedia flash lite 1.1 authoring guidelines Benutzerhandbuch

Seite von 86
46
Chapter 5:  New FSCommand and FSCommand2 commands
506i
 indicates that the device is a 506i phone.
FOMA1
 indicates that the device is a FOMA1 phone.
GetDevice()
The 
GetDevice()
 function identifies the mobile phone on which Flash is running. This 
identifier is typically the model name.
The name of the mobile phone is returned in a variable that is passed in by name. The device 
identifier is a string.
This function is executed immediately upon invocation. If 
GetDevice()
 is not supported, a value 
of -1 is returned.
Syntax
status = FSCommand2( "GetDevice”, “device”)
Return value
A value of 
-1
 if it’s not supported; 
0
 if it’s supported.