13.08.2012 Views

ACTIONSCRIPT 3 Developer’s Guide en

ACTIONSCRIPT 3 Developer’s Guide en

ACTIONSCRIPT 3 Developer’s Guide en

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.

<strong>ACTIONSCRIPT</strong> 3.0 DEVELOPER’S GUIDE<br />

Filtering display objects<br />

_curr<strong>en</strong>tFilters.pop();<br />

Removing this filter from the array doesn’t affect the filtered display object, because a display object makes a copy of<br />

the filters array wh<strong>en</strong> it is assigned to the filters property, and it uses that internal array rather than the original one.<br />

For this reason, any changes that are made to the array of filters don’t affect the display object until the array is assigned<br />

to the display object’s filters property again.<br />

Last updated 6/6/2012<br />

299

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

Saved successfully!

Ooh no, something went wrong!