I know that flash 8 isn't widely in use anymore, but since I don't have the money to upgrade at this time, its what I am stuck with.
Anyway, I am using the bitmapData class to create transparent bitmaps, the problem is that I am loading the bitmaps from a 24 bit bitmap source and I need to include an alpha channel for the application to work properly.
Here is an example of how the bitmap is loaded:
_root.createEmptyMovieClip("EarthHeight"
, 1);
var Height = BitmapData.loadBitmap("earthheight");
var HMap = new HeightMap();
HMap.GreyScale(Height);
EarthHeight.attachBitmap(Height, 2);
Whenever I get or set I pixel I use the getPixel32 and setPixel 32 methods. I assume that since it is not working properly the extra 8 bits of information describing the alpha of the pixel are being discarded. Does anyone know a way to fix this problem, IE convert a 24 bit bitmap into a 32 bit bitmap with alpha channel.