# Setting alpha on semi transparent png

**URL:** <https://forum.kirupa.com/t/setting-alpha-on-semi-transparent-png/287553>\
**Category:** Uncategorized\
**Created:** [May 3, 2009, 3:19pm UTC](https://forum.kirupa.com/t/setting-alpha-on-semi-transparent-png/287553 "2009-05-03T15:19:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![meldon](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@meldon](https://forum.kirupa.com/u/meldon)\
**Post date:** [May 3, 2009, 3:19pm UTC](https://forum.kirupa.com/t/setting-alpha-on-semi-transparent-png/287553/1 "2009-05-03T15:19:10Z")

</div>

Hey all,

I’ve been developing in AS2 for a few years now, and I’m learning AS3 at the moment. I ran into a problem about setting alpha on a PNG image.

I have a movieclip that holds a semi-transparent PNG image which comes straight from the library. Now I want to edit the alpha property of the movieclip. In AS2 it all works fine but when I set the alpha property in AS3 all semi-transparent pixels in the PNG image will fill with black first; then the alpha setting is applied.

Do I need to save my PNG’s in particular way or do I need to edit settings in Flash to display correctly? Any help is much appreciated.
