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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Flash</strong> <strong>MX</strong> <strong>2004</strong> <strong>Games</strong><br />

Figure 18.2 Player animation frames<br />

31 Pitch.Blue4.disableuser();<br />

32 Pitch.Red4._x = 190;<br />

33 Pitch.Red4._y = 0;<br />

34 Pitch.Red4.disableuser();<br />

35<br />

36 Pitch.Blue0.targetx = -135;<br />

37 Pitch.Blue0.targety = -108;<br />

38 Pitch.Blue1.targetx = 41;<br />

39 Pitch.Blue1.targety = 105;<br />

40 Pitch.Blue2.targetx = 96;<br />

41 Pitch.Blue2.targety = -120;<br />

42 Pitch.Blue3.targetx = 151;<br />

43 Pitch.Blue3.targety = 83;<br />

44 Pitch.Blue4.targetx = -192;<br />

45 Pitch.Blue4.targety = 0;<br />

46 Pitch.Red0.targetx = 135;<br />

47 Pitch.Red0.targety = 108;<br />

48 Pitch.Red1.targetx = -41;<br />

49 Pitch.Red1.targety = -105;<br />

286

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

Saved successfully!

Ooh no, something went wrong!