flex4 AIR titleBar问题

flex3 AIR中 windedApplication有showtitleBar 属性,而在flex4 中却没有,当你设置 <systemChrome>none</systemChrome> 
  <transparent>true</transparent>

后发现没有 关闭,最小化,最大化按钮。

这时你需要添加titleBar,flex4 提供TitleBar 组件。

<s:TitleBar width="100%">
        <s:title>This is a TitleBar</s:title>
</s:TitleBar>

 

这样就会出现关闭,最小化,最大化。

你可能感兴趣的:(AIR)