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

18 mc._y = orgY + row * 20;<br />

19 }else{<br />

20 mc = cell0_0;<br />

21 }<br />

22<br />

23 str = new String(eval("row" + (row + 1)));<br />

24 if (str.charAt(col)==‘0’){<br />

25 mc.go<strong>to</strong>AndS<strong>to</strong>p(1);<br />

26 }else{<br />

27 mc.go<strong>to</strong>AndS<strong>to</strong>p(2);<br />

28 }<br />

29<br />

30 mc.letter = "";<br />

31 mc.number = "";<br />

32 count++;<br />

33 }<br />

34 }<br />

35<br />

36 duplicateMovieClip("cell0_0", "extra", count);<br />

37 extra.go<strong>to</strong>AndS<strong>to</strong>p(2);<br />

38 extra.letter = "";<br />

39 extra.number = "1";<br />

40<br />

41 for (i=1; i

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

Saved successfully!

Ooh no, something went wrong!