The following are 2 good tutorials about creating texture in Flash 8. I think it does talk about the concept behind, but not really explain much about the code. Anyway worthwhile to have a look.
Texture: Marble Wood
I may post some codes and explanations base on these 2 articles later.