当前位置: 首页 > 工具软件 > Feathers UI > 使用案例 >

Starling Feathers Controls Screen

武彭薄
2023-12-01
说明:
The ScreenNavigator component can display any Feathers control as a screen. However, using the Screen class as your base class for a new screen is recommended because it provides a number of convenient properties.

示例:
package
			{
				import feathers.controls.Screen;
				
				public class CustomScreen extends Screen
				{
					public function CustomScreen()
					{
					}
					
					override protected function initialize():void
					{
						//runs once when screen is first added to the stage.
						//a good place to add children and set a layout.
					}
					
					override protected function draw():void
					{
						//override only if you want to do manual measurement and layout.
					}
				}
			}


效果:
无。

更多说明参考:

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

 类似资料:

相关阅读

相关文章

相关问答