0 Replies Latest reply on Oct 1, 2009 12:45 PM by Jake Lyman

    HBox.addChild not working

    Jake Lyman



      I've instantiated an HBox using AS3, created two UIComponents that each hold a Bitmap. When I add the first UIComponent/Bitmap using addChild, it works great. As soon as I add the second one, however, I no longer see either the first image or the second image. Not sure what I'm doing wrong.


      this._homeButtonsHBox = new HBox();






      homeImage01 and homeImage02 are both UIComponents that have Bitmaps added to them. When I comment out the fourth line of code, I see homeImage01. When I uncomment it, I do not see either of the images.


      Anyone know what I'm doing wrong?


      Thanks so much.