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.

Statements summary<br />

Statement Description<br />

break Appears within a loop (for , for..in, do..while or while) or within a<br />

block of statements associated with a particular case within a switch<br />

statement.<br />

case Defines a condition for the switch statement.<br />

class Defines a custom class, which lets you instantiate objects that share<br />

methods <strong>and</strong> properties that you define.<br />

continue Jumps past all remaining statements in the innermost loop <strong>and</strong> starts<br />

the next iteration of the loop as if control had passed through to the<br />

end of the loop normally.<br />

default Defines the default case for a switch statement.<br />

delete Destroys the object reference specified by the reference parameter,<br />

<strong>and</strong> returns true if the reference is successfully deleted; false<br />

otherwise.<br />

do..while Similar to a while loop, except that the statements are executed once<br />

before the initial evaluation of the condition.<br />

dynamic Specifies that objects based on the specified class can add <strong>and</strong><br />

access dynamic properties at runtime.<br />

else Specifies the statements to run if the condition in the if statement<br />

returns false.<br />

else if Evaluates a condition <strong>and</strong> specifies the statements to run if the<br />

condition in the initial if statement returns false.<br />

extends Defines a class that is a subclass of another class; the latter is the<br />

superclass.<br />

for Evaluates the init (initialize) expression once <strong>and</strong> then starts a<br />

looping sequence.<br />

for..in Iterates over the properties of an object or elements in an array <strong>and</strong><br />

executes the statement for each property or element.<br />

function Comprises a set of statements that you define to perform a certain<br />

task.<br />

get Permits implicit getting of properties associated with objects based<br />

on classes you have defined in external class files.<br />

if Evaluates a condition to determine the next action in a SWF file.<br />

implements Specifies that a class must define all the methods declared in the<br />

interface (or interfaces) being implemented.<br />

166 ActionScript language elements

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

Saved successfully!

Ooh no, something went wrong!