flex 4 工具栏

flex 4 WEB模式下的工具栏,能正常运行。

<?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2010/04/21/setting-the-height-of-the-control-bar-in-a-spark-application-container-in-flex-4/ --> <s:Application name="Spark_Application_controlBarGroup_height_test" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <s:controlBarContent> </s:controlBarContent> </s:Application>

AIR模式下用同样的代码无法为程序添加工具栏,不成功

<?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2010/04/21/setting-the-height-of-the-control-bar-in-a-spark-application-container-in-flex-4/ --> <s:WindowedApplication name="Spark_Application_controlBarGroup_height_test" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> <s:controlBarContent> </s:controlBarContent> </s:WindowedApplication>

你可能感兴趣的:(xml,Flex,Blog,Adobe,AIR)