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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Working with geometry<br />

tempMatrix = MatrixTransformer.transform(tempMatrix,<br />

xScaleSlider.value,<br />

yScaleSlider.value,<br />

dxSlider.value,<br />

dySlider.value,<br />

rotationSlider.value,<br />

skewSlider.value,<br />

skewSide );<br />

The application th<strong>en</strong> applies the return value to the matrix property of the transform property of the display object,<br />

triggering the transformation:<br />

img.cont<strong>en</strong>t.transform.matrix = tempMatrix;<br />

Last updated 6/6/2012<br />

220

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

Saved successfully!

Ooh no, something went wrong!