<?xml version="1.0" encoding="utf-8"?>
<FxApplication name="SolidColorStroke_weight_test"
xmlns="http://ns.adobe.com/mxml/2009">
<layout>
<BasicLayout />
</layout>
<Script>
<![CDATA[
import mx.events.SliderEvent;
private function slider_change(evt:SliderEvent):void {
stroke.weight = evt.value;
}
]]>
</Script>
<Form>
<FormItem label="weight:">
<HSlider id="slider"
minimum="0"
maximum="20"
value="0"
snapInterval="1"
tickInterval="1"
liveDragging="true"
change="slider_change(event);" />
</FormItem>
</Form>
<Ellipse id="ellipse"
width="300"
height="200"
horizontalCenter="0"
verticalCenter="0">
<stroke>
<SolidColorStroke id="stroke" />
</stroke>
</Ellipse>
</FxApplication>