EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 392

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.

Table of Contents

Related product manuals