A while back, I wrote about rendering Wood and Marble using Perlin noise. But I've found that these code bits are a pain to use. You need to write code just to see them. You can't work with them in the Flash IDE; i.e. they are inconvenient.
Solution: package them in components with live preview. That way you can see them, adjust their color visually, mask them, drop shadow them, etc.
Last week, I wrote an article about using Flash 8 Perlin noise to generate a wood texture. Today, it's marble.
According to this link, the Perlin formula for marble is:
texture = cosine( x + perlin(x,y,z) )
Again, we don't want to do math on every pixel -- too slow. So, how do we do this with the existing Flash 8 API? First, let's pretend that the perlin term in the above equation is not there. Here's what our image would look like (this image is arbitrarily blue monochrome):