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