Loading Bitmap with transparency = true

Hello all,
I’m trying to load a Bitmap from and external URL, and manipulate a few pixels color and alpha values. I’ve managed to get the BitmapData and change some pixel colors, but there’s a problem with the transparency.
The ‘transparent’ property in BitmapData is only getable (non-setable), and after loading the Bitmap it’s automatically given transparent=false.

I’ve tried solving this in a few methods, without much success:

  1. My first attempt was to set the property of the BitmapData:
    [COLOR=Blue]bitmapData.transparent = true;[COLOR=Black]

  2. Created a new BitmapData with transparency enabled, and setting the loaded bitmap’s BitmapData onto the new one, hoping that the transparent field will remain ‘true’.
    [COLOR=Blue]

[COLOR=Black]Can somebody help me load a JPG file from a URL, and change some alpha values of certain pixels in the BitmapData?

[/COLOR][/COLOR][/COLOR][/COLOR]