Pixel by pixel image rendering

ello

I’ve been out of the picture with flash for some time now so flash 8 has pretty much passed me by unoticed.

I was looking at some demos of the new features and noticed some new image functions, like the ability to read the colour of a single pixel of an image, and this made me think.

Is it possible to get flash to draw an image pixel by pixel? As in give flash coordinates and say ‘this pixel should be red’ and the next should be a slightly darker red etc.

The reason being is I made a flash app in mx 2004 to draw the mandlebrot fractal and allow you to zoom in on a specific area. But the only way I could get flash to render the image was to place tens of thousands of individual pixel-sized movie clips arranged in a grid and give each the relevent colour to create the image. This was not only very slow but used up massive amounts of memory.

If anyone is interested, you can see the demo in the ‘Experimental’ section of my portfolio: www.clearimpressions.org