Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @:xml("
- <hbox>
- <button id='button1' text='Button 1' />
- <button id='button2' text='Button 2' />
- <button id='button3' text='Button 3' />
- </hbox>
- ")
- class Test1 extends Box {
- public function new() {
- super();
- button1.text = "New Button 1";
- button2.text = "New Button 2";
- button3.text = "New Button 3";
- }
- public override function createChildren() {
- super.createChildren();
- trace("this was already there");
- var x = 100;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement