您的位置:首页 > Web前端

Starling Feathers Controls Screen

2014-09-12 15:07 399 查看
说明:

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息