1 Reply Latest reply on Mar 4, 2010 9:03 AM by Flex harUI

    scaling a bitmap


      I'm scaling a bitmap  and works great , the thing is that when a trying to show it using the function sprite.graphics.beginBitmapFill(bitmapdata,null,false,false) dosen't work, what and doing is this.


      bitmap.scaleX = value;

      bitmap.scaleY = value;


      this way works perfect


      var container:Sprite = new Sprite();

      container.addChild(  bitmap )




      this way dosen't work


      var container:Sprite = new Sprite();

      container.graphics.beginBitmapFill( bitmap.bitmapdata,null,false,false );


      somebody knows why in the second way the bitmap dosen't seem to be scaled;