392
Chapter 12: ActionScript Dictionary
ge (greater than or equal to — string specific)
Availability
Flash Player 4. This operator was deprecated in Flash 5 in favor of the
>= (greater than or equal
to)
operator.
Usage
expression1
ge
expression2
Parameters
expression1
,
expression2
Numbers, strings, or variables.
Returns
Nothing.
Description
Operator (comparison); compares the string representation of
expression1
to the string
representation of
expression2
and returns
true
if
expression1
is greater than or equal to
expression2
; otherwise, returns
false
.
See also
>= (greater than or equal to)
get
Availability
Flash Player 6.
Usage
function get
property
() {
// your statements here
}
Note:
To use this keyword, you must specify ActionScript 2.0 and Flash Player 6 or later in the Flash
tab of your FLA file’s Publish Settings dialog box. This keyword is supported only when used in
external script files, not in scripts written in the Actions panel.
Parameters
property
The word you want to use to refer to the property that
get
accesses; this value must
be the same as the value used in the corresponding
set
command.
Returns
The value of the property specified by
propertyName
.
Description
Keyword; permits implicit “getting” of properties associated with objects based on classes you
have defined in external class files. Using implicit get methods lets you access properties of objects
without accessing them directly. Implicit get/set methods are syntactic shorthand for the
Object.addProperty()
method in ActionScript 1.
For more information, see
“Implicit get/set methods” on page 172
.
Содержание FLASH MX 2004 - ACTIONSCRIPT
Страница 1: ...ActionScript Reference Guide...
Страница 8: ...8 Contents...
Страница 12: ......
Страница 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Страница 54: ...54 Chapter 2 ActionScript Basics...
Страница 80: ...80 Chapter 3 Writing and Debugging Scripts...
Страница 82: ......
Страница 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Страница 112: ......
Страница 120: ...120 Chapter 6 Using the Built In Classes...
Страница 176: ......
Страница 192: ...192 Chapter 10 Working with External Data...
Страница 202: ...202 Chapter 11 Working with External Media...
Страница 204: ......
Страница 782: ...782 Chapter 12 ActionScript Dictionary...
Страница 793: ...Other keys 793 221 222 Key Key code...
Страница 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Страница 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Страница 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Страница 816: ...816 Index...