3 Replies Latest reply on May 27, 2011 2:37 AM by Peter Blazejewicz

    dynamically adding image to titlegroup

    htanramA

      HI,

       

      I tried adding an image component to 'Titlegroup', unfortunately I can't do that.

       

      can anyone help me.

       

       

                           var actImage:Image = new Image();

       

       

                          actionsPane.addChildAt(actImage,0);

                          actImage.source = "assets/abc.png";

       

       

       

           <s:TileGroup id="actionsPane" x="32" y="10" width="281"  height="252">

       

       

      Thank You.

       

      Cheer's

      htanramA.