I have tried the following:
var targetSideMat:BitmapMaterial = new BitmapMaterial(new targetBitmapSide().bitmapData, true, true);
targetSideMat.lights = [light1,light2,light3];
targetSideMat.specular = .6;
targetSideMat.alphaBlending = true;
targetSideMat.animateUVs = true;
var targetSides3:Cylinder = new Cylinder(targetSideMat,435,435,300,24,1,false, false);
targetSides3.position = new Vector3D(0,0,150);
targetSides3.rotationX = -90;
targetSides3.subMeshes[0].scaleU = 6;
targetSides3.material.bothSides = true;
targetContainer.addChild(targetSides3);
But I get this error
Warning: animateUVs is set to true with an IRenderable without a uvTransform. Identity matrix assumed.
I am not sure where I read to use “targetSideMat.animateUVs = true” but it works for a .3DS file I loaded but not for a simple cylinder without giving that error/warning.
What is the proper way?