<?xml version="1.0" encoding="utf-8"?>
<!-- http://blog.flexexamples.com/2009/04/22/looping-through-buttons-in-a-spark-buttonbar-control-in-flex-gumbo/ -->
<s:Application name="Spark_NumericStepper_arrowKeysWrapFocus_test"
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/halo"
        viewSourceURL="srcview/index.html">

    <mx:Form>
        <mx:FormItem label="arrowKeysWrapFocus:">
            <s:CheckBox id="checkBox" />
        </mx:FormItem>
    </mx:Form>

    <s:ButtonBar id="btnBar"
            arrowKeysWrapFocus="{checkBox.selected}"
            horizontalCenter="0"
            verticalCenter="0">
        <s:dataProvider>
            <s:ArrayList source="[Red,Orange,Yellow,Green,Blue]" />
        </s:dataProvider>
    </s:ButtonBar>

</s:Application>