Action script 3: Export object to image with PNG format - make transparent

Hi!

I have a problem in export a object to image .PNG (and make transparent). When i add a object TextField in stage and add effect for my object. Then i export to image with format is .PNG.I use BlendMode.NORMAL properties of BitmapData to draw my image - work done and image is exported.

I use BlendMode.ERASE properties of BitmapData to draw my image - is not word :frowning:

See more in attact file :[LEFT][COLOR=#000000][FONT=Arial]BlendMode.ERASE[/FONT][/COLOR][/LEFT].png, BlendMode.NORMAL.png

Code text effect: \OnlyTextEff\view extEffs.as and \OnlyTextEff\effects\EnvelopeDistord_2.as

Code export image: \OnlyTextEff\view extview.as (function name is “exportHandler”)

download demo: http://www.mediafire.com/?vgnauwspt8b6x08
Does anyone have a good example or explanation of that ? Thanks.