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 />

equal <strong>to</strong> 10. Since i is no longer less than 10, the next repeat of the code block is skipped. This is<br />

so easy <strong>to</strong> do and relatively difficult <strong>to</strong> spot. You may read through the code several times before<br />

you spot that you have used ‘=’ when ‘==’ is intended. This example is even more frustrating<br />

because it never exits:<br />

for(i=0; i

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

Saved successfully!

Ooh no, something went wrong!