Search code examples
actionscript-3flashpsd

Smooth Edges for transparent animation in flash


I'm currently building a game, using the citrus engine. Therefor I am importing my bitmap into the flash library as psd layers. The compiled swfs are loaded on runtime as game graphics.

I smoothed the edges in photoshop and for still pictures (like the standing hero) it works quite good, but my animations look ragged. My game has a zoom function and on screen resize the graphics look ragged, too.

What is the best way of getting my animation frames into flash (with nice smooth edges)? Would it be better, to export them from photoshop as a webcompatible format? Or can I improve flashs displaying of images somehow?


Solution

  • These 2 should improve the image quality:

    Catchasbitmap= true (Not mandatory takes memory but easy on cpu)

    Smoothing = true (is cpu consuming)

    http://www.kirupa.com/forum/showthread.php?289874-AS3-bitmap-smoothing