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

12 swflash.cab#version=7,0,0,0"<br />

13 WIDTH=550 HEIGHT=400><br />

14 <br />

15 <br />

16 <br />

17 <br />

23 <br />

24 <br />

25 <br />

26 <br />

27 <br />

Listing 12.2<br />

Notice how the ‘bgcolor’ is set <strong>to</strong> ‘#CCCC99’, that is a red value of ‘CC’ (12 ∗ 16 + 12 = 204),<br />

a green value of ‘CC’ (204) and a blue value of ‘99’ (9 ∗ 16 + 9 = 153). But the most important<br />

aspect of this file is the values for ‘configfile’ and ‘audiofile’; try changing the values and then<br />

re-running the HTML file. The display will change <strong>to</strong> show the new values. If you are running<br />

IE on PC then change the value for the ‘PARAM NAME=movie’; if you are running Netscape<br />

or on a MAC then change the value for the ‘

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

Saved successfully!

Ooh no, something went wrong!