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

34<br />

35<br />

}<br />

36 if (xmlObj.nodeName == "DROPBOX") {<br />

37 id = Number(xmlObj.attributes.ID);<br />

38 usedids[id] = 0;<br />

39 name = "Box" + id;<br />

40 eval(name)._x = id * 50 - 15;<br />

41 eval(name)._y = 364);<br />

42 eval(name).Name = "None";<br />

43 Debug = "Dropbox " + id;<br />

44<br />

45 }<br />

}<br />

Listing 22.6<br />

Figure 22.4 The application running on the server<br />

358

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

Saved successfully!

Ooh no, something went wrong!