<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2009/01/09/setting-the-joint-style-on-a-path-stroke-in-flex-gumbo/ -->
<Application name="Path_stroke_joints_test"
        xmlns="http://ns.adobe.com/mxml/2009"
        layout="vertical"
        verticalAlign="middle"
        backgroundColor="white"
        viewSourceURL="srcview/index.html">

    <Declarations>
        <String id="pathData">M 0 0 L 200 0 L 0 80 Z</String>
    </Declarations>

    <ApplicationControlBar dock="true">
        <Form styleName="plain">
            <FormItem label="joints:">
                <ComboBox id="comboBox"
                        dataProvider="[bevel,miter,round]" />
            </FormItem>
        </Form>
    </ApplicationControlBar>

    <Graphic>
        <Path id="path" data="{pathData}">
            <stroke>
                <SolidColorStroke id="pathStroke"
                        joints="{comboBox.selectedItem}"
                        color="red"
                        weight="40" />
            </stroke>
        </Path>
        <Path data="{pathData}">
            <stroke>
                <SolidColorStroke
                        color="black"
                        weight="1" />
            </stroke>
        </Path>
    </Graphic>
    
</Application>