Hi Darko,
try:
var canvas:BitmapData=new BitmapData(20,20,true,0x0000000;
m.translate(e.uv.u*theBitmap.bitmap.width,(1-e.uv.v)
*theBitmap.bitmap.height);

and you probably don't need to draw the shape once in a canvas, then
this canvas in your BitmapMaterial, just :
theBitmap.bitmap.draw(s,m);
if you copy your canvas in the bitmapmateirl bitmap, better use
copyPixels.

Reply via email to