02.02.2013 Views

Flash MX 2004 Games : Art to ActionScript

Flash MX 2004 Games : Art to ActionScript

Flash MX 2004 Games : Art to ActionScript

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>Flash</strong> <strong>MX</strong> <strong>2004</strong> <strong>Games</strong><br />

To retrieve the value of a property use:<br />

For example,<br />

value = sprite(n).get<strong>Flash</strong>Property(clipName, #propertyName)<br />

CatX = sprite(2).get<strong>Flash</strong>Property("Cat", #x)<br />

Using these simple methods you can create a complex interface in <strong>Flash</strong> for controlling a 3D world.<br />

394

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

Saved successfully!

Ooh no, something went wrong!