03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Returns<br />

Boolean - The Boolean result of the comparison.<br />

Example<br />

In the following example, the greater than or equal to (>=) operator is used to determine<br />

whether the current hour is greater than or equal to 12:<br />

if (new Date().getHours() >= 12) {<br />

trace("good afternoon");<br />

} else {<br />

trace("good morning");<br />

}<br />

ge greater than or equal to (strings) operator<br />

expression1 ge expression2<br />

Deprecated since Flash Player 5. This operator was deprecated in favor of the >= (greater than<br />

or equal to) operator.<br />

Compares the string representation of expression1 with the string representation of<br />

expression2 <strong>and</strong> returns true if expression1 is greater than or equal to expression2,<br />

false otherwise.<br />

Oper<strong>and</strong>s<br />

expression1 : Object - Numbers, strings, or variables.<br />

expression2 : Object - Numbers, strings, or variables.<br />

Returns<br />

Boolean - The result of the comparison.<br />

See also<br />

>= greater than or equal to operator<br />

++ increment operator<br />

++expression<br />

expression++<br />

Operators 139

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!