![MACROMEDIA FLASH MX PROFESSIONAL 2004 - FLASH LITE 1.1... Скачать руководство пользователя страница 36](http://html1.mh-extra.com/html/macromedia/flash-mx-professional-2004-flash-lite-1-1/flash-mx-professional-2004-flash-lite-1-1_manuallines_3384429036.webp)
36
Chapter 5: New FSCommand and FSCommand2 commands
Syntax
status = FSCommand2( "GetDateYear” )
Return value
A value of -1 if the function is not supported; otherwise, the current year, returned as a number
(for example, 2004).
GetLocaleLongDate()
The
GetLocaleLongDate()
function sets a parameter to a string representing the current date, in
long form, formatted according to the currently defined locale. The parameter is passed in by
name. The value returned through it is a multiple-character, variable-length string. The actual
formatting depends on the mobile phone and the locale.
The
GetLocaleLongDate()
function is executed immediately upon invocation. If this function is
not supported, a value of -1 is returned.
Syntax
status = FSCommand2( "GetLocaleLongDate”, "longdate" )
Return value
A value of -1 if the function is not supported; 0 if it’s supported.
Sample resultant values for
longdate
:
October 16, 2004
16 October 2004
GetLocaleShortDate()
The
GetLocaleShortDate()
function sets a parameter to a string representing the current date,
in abbreviated form, formatted according to the currently defined locale. The parameter is passed
in by name. The value returned is a multiple-character, variable-length string. The actual
formatting depends on the mobile phone and the locale.
The
GetLocaleShortDate()
function is executed immediately upon invocation. If this function
is not supported, a value of -1 is returned.
Syntax
status = FSCommand2( "GetLocalShortDate”, "shortdate" )
Return value
A value of -1 if the function is not supported; 0 if it’s supported.
Sample resultant values for
shortdate
:
10/16/2004
16-10-2004
Содержание 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...