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.

Chapter 12: Using external files<br />

When <strong>Flash</strong> starts the value of the variables following the question mark is au<strong>to</strong>matically set. Later<br />

in the chapter we will look at using query strings as part of the URL for the page. They are<br />

commonly used when using ASP.<br />

Figure 12.2 Running ‘Examples/QueryString.html’ from the CD<br />

Try running ‘Examples/QueryString.html’ on the CD. Then open the file in a text edi<strong>to</strong>r<br />

(Notepad on the PC or Simple Text on the MAC). The file looks like this:<br />

1 <br />

2 <br />

3 QueryStrings<br />

4 <br />

5 <br />

6 <br />

7 <br />

8 <br />

9 <br />

10

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

Saved successfully!

Ooh no, something went wrong!