Package: pumpkin.ui
The ScreenUtils is a helper class for binding events and laying out DisplayObjects on the Stage.
Center a sprite to the Stage. | |
[beta] Aligns a DisplayObject to the bottom left of the Stage. | |
[beta] Aligns a DisplayObject to the bottom right of the Stage. | |
[beta] Aligns a DisplayObject to the bottom of the Stage. | |
[beta] Aligns a DisplayObject to the bottom center of the Stage. | |
[beta] Aligns a DisplayObject to the Right of the Stage. | |
Create button with childName and bind button click event. | |
Create button and bind button click event. | |
Create button and bind button click event, optionally set a label text field. | |
Create button and bind button click event, optionally set a label text field. | |
Create button and bind button click event, optionally set a label text field. | |
Create button with label and auto fit the text to the label area. | |
Create button with label and add a mouse over. |