try using TransformBitmapMaterial, which extends the basic BitmapMaterial with properties such as scaleX, scaleY etc
On Sun, Oct 3, 2010 at 11:54 PM, sofke <[email protected]> wrote: > Now I have a problem with using the BitmapMaterial as a back material > of a plane, there is no scaleX property that the BitmapFileMaterial > has so the back image is mirrored > On a BitmapFileMaterial I was using scaleX = -1 and repeat = true to > show the back image correctly > Error #1056: Cannot create property scaleX on > away3d.materials.BitmapMaterial > > > On 4 list, 00:07, sofke <[email protected]> wrote: > > Thanks! > > > > On 3 list, 17:49, savagelook <[email protected]> wrote: > > > > > > > > > No, you cant use a BitmapFileMaterial on a sprite, but you can use the > > > same BitmapData. Load the image once with a Loader and use its > > > BitmapData as the source fir a BitmapMaterial (not BitmapFileMaterial) > > > and also a Bitmap to be used on the sprite. > > > > > On Oct 3, 7:40 am, sofke <[email protected]> wrote: > > > > > > I load the BitmapFileMaterial for a Plane material, and I want to use > > > > the same bitmap on the stage without loading it again with the Loader > > > > class. Is this possible? Can a BitmapFileMaterial be added to a > > > > Sprite? > > > > > > Thanks > -- Rob Bateman Flash Development & Consultancy [email protected] www.infiniteturtles.co.uk www.away3d.com
