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

colour layer using ‘Ctrl + Shift + V’ or ‘Edit/Paste in Place’. At this point you should be up <strong>to</strong><br />

stage three of Figure 4.16.<br />

Figure 4.16 Removing transparent areas from a bitmap<br />

Finally click on the black area and delete it. You should now have a bitmap with an irregular<br />

shape. You can achieve a similar result using the magic wand option of the Lasso <strong>to</strong>ol, but in our<br />

experience you will get a better result using the alpha image option or a png sequence with an<br />

embedded alpha. When you have done this <strong>to</strong> each image in the animation sequence you can<br />

use the animation on any background. Take a look at ‘Examples/Chapter04/FatCatCG.fla’ <strong>to</strong> see<br />

how the animation looks. The file size for this 16-frame animation loop is 44 K.<br />

Figure 4.17 The final result from ‘Examples/Chapter04/FatCatCG.fla’<br />

56

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

Saved successfully!

Ooh no, something went wrong!