main.mxml:
复制代码 代码如下:
<?xml version="1.0" encoding="utf-8"?>
<FxApplication name="FxHScrollBar_baseColor_test"
xmlns="http://ns.adobe.com/mxml/2009"
backgroundColor="white">
<ApplicationControlBar x="10" y="10">
<Form styleName="plain">
<FormItem label="baseColor:">
<ColorPicker id="colorPicker"
selectedColor="#CCCCCC" />
</FormItem>
</Form>
</ApplicationControlBar>
<VGroup horizontalCenter="0" verticalCenter="0">
<FxHScrollBar id="scrollBar"
baseColor="{colorPicker.selectedColor}" />
</VGroup>
</FxApplication>
时间: 2024-11-04 00:08:47