天天看點

Starling Feathers Controls PanelScreen

說明:

The PanelScreen component is simply a combination between the Panel component and the Screen component.

示例:

package
			{
				import feathers.controls.PanelScreen;

				
				public class CustomScreen extends PanelScreen
				{
					public function CustomScreen()
					{
						this.addEventListener( FeathersEventType.INITIALIZE, initializeHandler );
					}
					
					private function initializeHandler( event:Event ):void
					{
						//runs once when screen is first added to the stage.
						//a good place to add children and customize the layout
					}
				}
			}           

效果:

無。

更多說明參考:

http://wiki.starling-framework.org/feathers/panel-screen