i'm going nuts.

i've tried with both

var bmat=new BitmapMaterial(Cast.bitmap("checker"),{smooth:true});
var bmat:IMaterial = new BitmapMaterial(generateFromLib("checker"));

var mat:Dot3BitmapMaterial=new Dot3BitmapMaterial
(bmat,mapgen.normalmap);

(not at the same times)

and have for seconde bmat this error
1067: Implicit coercion of a value of type away3d.materials:IMaterial
to an unrelated type flash.display:BitmapData.

Reply via email to