You are using addChild when you should use addElement(). This code works: var hg:HGroup = new HGroup(); hg.right = 0; hg.top = 0; hg.gap = 0; var label:Label = new Label(); label.text = "Hello World"; hg.addElement(label); addElement(hg); Erik
On Nov 30, 2017, at 6:41 AM, Tucsonjhall <jh...@cactusware.com> wrote: I'm trying to use HGroup to keep several optional images together in a group however I'm not hitting the right combination. In short, the code is: hgroup = new HGroup(); hgroup.right = 0; hgroup.top = 0; hgroup.gap = 0; Within the renderer I try to add the element addChild(hgroup); // have also tried addChild(DisplayObject(hgroup)); And when I want to add images within the HGroup hgroup.addElement(lockedImage); hgroup.addElement(noteImage); Nothing appears visually. Any suggestions? Thank you -- Sent from: http://apache-flex-users.2333346.n4.nabble.com/