4 Replies Latest reply on Jan 23, 2008 12:56 AM by sulletf

    Adding a Sprite to UIComponent

    babo_ya Level 3
      How do I add Sprite to an UIComponent?

      for example :
      var sprite:Sprite = new Sprite();
      // draw a rect.
      and I have a Canvas(container);
      container.addChild(sprite) // doesn't work... anyone know how to add a Sprite to an UIComponent?

      Thanks,