02-21-2012 12:30 PM
I have the following code inside a class which extends Container:
var button:LabelButton = new LabelButton(); button.label = "Button 1"; addChild(button); var button1:LabelButton = new LabelButton(); button1.label = "Button 2"; addChild(button1);When I run in the simulator all I can see is the button with label "Button2". I would imagine that "Button 1" is underneath. Why is this?
Solved! Go to Solution.