说明:
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.
示例:
效果:
无。
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