Flash Action Script


I want Help regarding Flash.
I have a pallate of Texture Colours.
And on another side there are different types of shapes.
I need to choose textures from the pallate and drag and drop on the surfaces to see how the surface looks with that combination.

So how do we use texture colours in Flash.

Thanks in Advance.

I think for this you can use the masking technique

when texture is drag to movie clip it will bring another clip behind which will create the required effect.