title: How to set Bitmap image in Canvas background? AS3
body: <p>I have image as Bitmap:</p>
  
  <pre><code>var bitmapImage:Bitmap=getDefaultImage();
  </code></pre>
  
  <p>I need to set this bitmap as canvas backgroundImage.</p>
  
  <p>I find method</p>
  
  <pre><code>  myCanvas.setStyle("backgroundImage",url); 
  </code></pre>
  
  <p>But i dont need url. Whent i do this:</p>
  
  <pre><code>myCanvas.setStyle("backgroundImage",bitmapImage);
  </code></pre>
  
  <p>I have an error.</p>
  
  <p>How to set bitmap image in canvas background?</p>