<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" 
    xmlns:ar="com.dougmccune.ar.*" 
    xmlns:controls="com.dougmccune.controls.*"
    frameRate="80"
    enterFrame="ar.invalidateDisplayList();" viewSourceURL="srcview/index.html">
    <mx:Script>
        <![CDATA[
            import com.dougmccune.ar.ARClothesTypes;
            
            [Bindable]
            private var possibleClothes:Array = [ 
                                                    {label:"None"},
                                                    {clothes: ARClothesTypes.NAKED_MAN, label:"Male"},
                                                    {clothes: ARClothesTypes.NAKED_WOMAN, label:"Female"},
                                                    {clothes: ARClothesTypes.CORSET, label:"Corset"},
                                                    {clothes: ARClothesTypes.GOTH_DRESS, label:"Goth Dress"}
                                                ];
        ]]>
    </mx:Script>
    
    <mx:ComboBox id="combo" dataProvider="{possibleClothes}" change="ar.addClothes(combo.selectedItem.clothes);" />
    
    <ar:ARComponent id="ar" width="640" height="480" />
    
</mx:Application>