title: how do I add a background image to a textfield in as3
body: <p>Hey guys I am developing an app for IPhone and I am trying to figure out how to add a background image to a textfield that is populated by phone numbers a user stores.</p>
  
  <p>My function -</p>
  
  <pre><code>function configureLabel():void
  {
      label = new TextField();
      label.autoSize = TextFieldAutoSize.LEFT;
      label.background = true;
      label.border = true;
      label.width = 50;
      label.x = 55;
      label.y = 80;
      //label.htmlText = "whasfd";
      var format:TextFormat = new TextFormat();
      format.font = "arial";
      format.color = 0xFF0000;
      format.size = 10;
      format.underline = false;
      //format.leftMargin = 50;
  
  
      label.defaultTextFormat = format;
      addChild(label);
  }
  </code></pre>