2 Replies Latest reply on Oct 10, 2008 5:43 AM by AnandGanesan

    background image to canvas in action script

    tausif_d Level 1
      hi
      i just want to know the correct syntex fro setting an image as background to canvas
      i did
      private function ini():void{
      var img:Image=new Image();img.source="Blue hills2.jpg"
      cv.setStyle("backgroundImage",img);
      } but this give error