Asv3's Blog

November 12, 2009

PNG export problem with Flash CS4

Filed under: flash — Tags: , , , , , , , , , , , , , — asv3 @ 1:57 pm

If you are using Flash CS4 to draw transparent graphics and intend to use them in photoshop later, think twice there is a problem here. Some time Flash CS4 adds some black edges similar to matte edges in GIF, even if you select PNG 24-bit with Alpha Channel. This problem got introduced in Flash CS4, hope Adobe fix it soon. any way solution of this issue seems to be simple, but it’s a work around.

First break apart all text in your graphic, remember to break apart text completely you have to break apart twice. try exporting now, most of the cases this should solve your problems, if not then go ahead and break apart symbols in your graphic. exporting now will give to smooth edged PNG. But by breaking symbols to shapes will often you loose shape arrangements, things behind can come forward, or thing front can go backward. To avoid this situation before breaking apart select all elements in your graphics and “Distribute to Layers” Ctrl+Shift+D, should do that, by doing so every shape, element will get a layer for them selves, breaking apart now will not loose arrangements.

4 Comments »

  1. This stupid bug has been haunting me for a while now. I used to do it the hard way by converting the animation to multiple keyframes and then break apart every single object, which sometimes created unwanted graphic effects.

    I finally found a pretty straight forward workaround!

    1. Publish/preview your animation to swf.
    2. Create a new flash document and import the swf you just created to stage.
    3. Export the animation to 24 bit PNG sequence with alpha channel.

    Works like a charm!

    I guess the reason it works is that the imported swf-file is rendered as multiple keyframes without symbols.

    Good luck! 🙂

    Comment by Tob — June 29, 2010 @ 1:46 pm

  2. @Tob, good that you figured out.

    Comment by asv3 — June 29, 2010 @ 11:14 pm

  3. The best workaround is converting all the objects on the stage (Ctrl+A) to a MovieClip (F8) and then applying a dummy “Adjust Color” filter. Export will then work as advertised.
    It is a bit of a headache, but once you’re done, you can quickly Undo everything.

    Comment by Aurelain — May 16, 2011 @ 6:42 pm

  4. hey can any body help me please , this will very appreciating me. problem is that, when am i export to swf file ,it is not exported in swf file …………..please help me.

    Comment by Ugam Kumar Sharma — September 25, 2013 @ 6:15 pm


RSS feed for comments on this post. TrackBack URI

Leave a comment

Create a free website or blog at WordPress.com.