Macromedia flash mx professional 2004-macromedia flash lite 1.1 authoring guidelines Benutzerhandbuch
Player operation commands
33
ResetSoftKeys()
The
ResetSoftKeys()
function resets the soft keys to their original settings. It is executed
immediately upon invocation. If this function is not supported, a value of -1 is returned.
The
ResetSoftKeys()
function is supported only when Flash Lite is running in stand-alone
mode. It is not supported when the player is running in the context of another application (for
example, as a plug-in to a browser).
example, as a plug-in to a browser).
Syntax
status = FSCommand2( "ResetSoftKeys” )
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.
Player operation commands
The commands in this section provide the mobile phone’s memory value to Flash content on the
mobile phone.
mobile phone.
GetFreePlayerMemory()
The
GetFreePlayerMemory()
function returns the amount of memory, in kilobytes, currently
available to Flash Lite. This function is executed immediately upon invocation. If this function is
not supported, a value of -1 is returned.
not supported, a value of -1 is returned.
Syntax
status = FSCommand2( "GetFreePlayerMemory” )
Return value
A value of -1 if the function is not supported; otherwise, the amount of memory available,
in kilobytes.
in kilobytes.
GetTotalPlayerMemory()
The
GetTotalPlayerMemory()
function returns the total amount of memory, in kilobytes,
allocated to Flash Lite. This function is executed immediately upon invocation. If the function is
not supported, a value of -1 is returned.
not supported, a value of -1 is returned.
Syntax
status = FSCommand2( "GetTotalPlayerMemory” )
Return value
A value of -1 if the function is not supported; otherwise, the amount of memory available,
in kilobytes.
in kilobytes.