我在 Adobe AIR 桌面应用程序中有以下 mxml 文件:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:dns="flash.net.dns.*">
<fx:Declarations>
</fx:Declarations>
<fx:Script>
</fx:Script>
<s:layout>
<s:VerticalLayout horizontalAlign="center" />
</s:layout>
<s:DateSpinner id="ds"
selectedDate="{new Date(2010, 11, 15)}"
minDate="{new Date(2000, 0, 1)}"
maxDate="{new Date(2200, 11, 31)}"
minuteStepSize="5" />
<!-- toggle between different display modes -->
<s:HGroup>
<s:Button label="Date"
click="ds.displayMode = DateSelectorDisplayMode.DATE" />
<s:Button label="Time"
click="ds.displayMode = DateSelectorDisplayMode.TIME" />
<s:Button label="Date and Time"
click="ds.displayMode = DateSelectorDisplayMode.DATE_AND_TIME" />
</s:HGroup>
</s:Application>
当我在 adl 中运行它时,我收到以下消息:
错误:找不到 Flex_AIR_Test.ApplicationSkin2._ApplicationSkin_Group1.contentGroup.ds 的皮肤。
错误:找不到 Flex_AIR_Test.ApplicationSkin2._ApplicationSkin_Group1.contentGroup.ds 的皮肤。
DVFreeThread - CFMachPortCreateWithPort hack = 0x179cc0,fPowerNotifyPort= 0x17a5e0 DVFreeThread - CFMachPortCreateWithPort hack = 0x181190,fPowerNotifyPort= 0x1800b0
如何包含 DateSpinner 的默认皮肤?我的 FDT 项目中包含以下 swc:
mobile.swc [frameworks/themes/Mobile/mobile.swc]
airglobal.swc [frameworks/libs/air/airglobal.swc]
framework.swc [frameworks/libs/framework.swc]
spark.swc [frameworks/libs/spark.swc]
mobilecomponents.swc [frameworks/libs/mobile/mobilecomponents.swc]
我是否需要以特定顺序包含它们或启用“用作运行时共享代码”复选框?
标记