![MACROMEDIA FLASH MX PROFESSIONAL 2004 - FLASH LITE 1.1... Скачать руководство пользователя страница 66](http://html1.mh-extra.com/html/macromedia/flash-mx-professional-2004-flash-lite-1-1/flash-mx-professional-2004-flash-lite-1-1_manuallines_3384429066.webp)
66
Appendix A: Supported ActionScript
else
Action; specifies the actions, clauses, arguments, or
other conditional to run if the initial
if
statement returns
false
.
Fully supported
else if
Action; evaluates a condition and specifies the
statements to run if the condition in the initial
if
statement returns
false
.
Fully supported
eq
(string equal)
Comparison operator; compares two expressions for
equality and returns
true
if
expression1
is equal to
expression2
; otherwise, returns
false
. This action is
string specific.
The following examples illustrate
true
and
false
results
for the
eq
operator:
x =”Amy”;
y=”Fred”;
x eq “Amy”;
// true
x eq y;
// false
Fully supported
eval()
Function; accesses variables. The value of the variable is
returned.
Fully supported
fscommand()
Action; allows the Flash application to communicate with
the program hosting Flash Player.
Partially
supported
ge
(string greater than
or equal)
Comparison operator; returns
true
if the string
representation for
expression1
is greater than or equal to
the string representation for
expression2
; otherwise,
returns
false
. This action is string specific.
The following examples illustrate
true
and
false
results
for the
ge
operator:
x =”Amy”;
y=”Fred”;
x ge y;
// false
x ge “Amy”;
// true
y ge x;
// true
Fully supported
getProperty()
Function; returns the value of the specified property for
the movie clip instance.
Partially
supported. (See
“Supported
ActionScript”
on page 61
.)
getTimer()
Function; returns the number of milliseconds that have
elapsed since the SWF file started playing.
Fully supported
Action name
Description
Support
Содержание 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...