No lockups occur until i add this in
dataProvider="{listData}" to my list box
weird....ive got really no script at all?






<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute" backgroundColor="white" height="100%" width="100%">
     <mx:Script>
         <![CDATA[
             //import mx.controls.Alert;


         ]]>
     </mx:Script>

                        <mx:Array id="listData">
                         <mx:String id="L1">Stations</mx:String>
                         <mx:String id="L2">Inspectors</mx:String>
                         <mx:String id="L3">Stickers</mx:String>
                         <mx:String id="L4">Repair Facility</mx:String>
                         <mx:String id="L5">Repair Technician</mx:String>
                        </mx:Array>

     <mx:HDividedBox x="0" y="43" width="1132" height="614" id="hbox1"
liveDragging="true" horizontalGap="2">
      <mx:Canvas label="Canvas 1" width="143" height="100%"
backgroundColor="white">
                 <mx:Label text="Test Inc." fontWeight="bold"
fontSize="14"/>
                 <mx:Accordion x="0" y="26" width="100%" height="100%">
                     <mx:Canvas label="Main" width="100%" height="100%">
                         <mx:List width="100%" height="100%" id="list" >

                         </mx:List>
                     </mx:Canvas>
                     <mx:Canvas label="Settings" width="100%"
height="100%">
                     </mx:Canvas>
                     <mx:Canvas label="Administration" width="100%"
height="100%">
                     </mx:Canvas>
                 </mx:Accordion>
             </mx:Canvas>

             <mx:Canvas label="Canvas 2" width="100%" height="100%"
backgroundColor="white">
                 <mx:TabNavigator id="tabnav" x="0" y="0" width="100%"
height="100%">

                     <mx:Canvas label="Main" width="100%" height="100%">
                         <mx:Label x="26" y="19" text="Welcome to test "
width="622" height="23" fontWeight="bold" fontSize="17"/>
                         <mx:Label x="35" y="63" text=" etc..."
width="613" height="33"/>
                     </mx:Canvas>

                     <mx:Canvas label="Stations  X" width="100%"
height="100%" >
                     <mx:TabNavigator width="100%" height="100%">
                         <mx:Canvas label="Search" width="100%"
height="100%">
                             <mx:Label x="19" y="10" text="Station Name"
width="82"/>
                             <mx:ComboBox x="109" y="8" width="210"
editable="true" enabled="false" id="searchstation"></mx:ComboBox>
                             <mx:ComboBox x="109" y="34" width="210"
editable="true" enabled="false" id="searchstation0"></mx:ComboBox>
                             <mx:ComboBox x="109" y="60" width="210"
editable="true" enabled="false" id="searchstation1"></mx:ComboBox>
                             <mx:Label x="19" y="36" text="ID Number"
width="82"/>
                             <mx:Label x="19" y="62" text="Owner"
width="82"/>
                             <mx:Button x="254" y="90" label="Search"/>
                             <mx:DataGrid x="19" y="131" width="507">

                                 <mx:columns>
                                     <mx:DataGridColumn
headerText="Search Results 1 of 2050 Found" dataField="col1"/>

                                 </mx:columns>
                             </mx:DataGrid>
                             <mx:Button x="452" y="281" label="Next
&gt;&gt;"/>
                             <mx:Button x="19" y="281" label="&lt;&lt;
Back"/>

                         </mx:Canvas>
                         <mx:Canvas label="Info" width="100%"
height="100%">
                         <mx:Label x="20" y="10" text="Formal Name"
width="123"/>
                             <mx:Label x="20" y="45" text="DBA Name"
width="92"/>
                             <mx:Label x="20" y="71" text="Owner"
width="92"/>
                             <mx:Label x="20" y="97" text="Owner Type"
width="113"/>
                             <mx:Label x="20" y="133" text="Place of
Business" width="123"/>
                             <mx:TextArea x="20" y="149" height="43"
text="123 South Ave
                             Quincy, 345
                             " width="123" editable="true"/>
                             <mx:Button x="91" y="200" label="MAP"/>
                             <mx:Button x="20" y="200" label="Hours"/>
                             <mx:Label x="169" y="133" text="Billing
Address" width="123"/>
                             <mx:TextArea x="169" y="149" height="43"
text="123 South Ave
                             Quincy,45
                             " width="123" editable="true" />
                             <mx:Button x="240" y="200" label="MAP"/>
                             <mx:Label x="314" y="133" text="Mailing
Address" width="123"/>
                             <mx:TextArea x="314" y="149" height="43"
text="123 South Ave
                             Quincy, 2345
                             " width="123" editable="true"/>
                             <mx:Button x="385" y="200" label="MAP"/>
                             <mx:TextArea x="20" y="260" width="417"
height="57" id="comments" text="Sta :)" editable="true"/>
                             <mx:Text x="113" y="10" text="Jason's Auto
Parts" width="277" enabled="true" id="formalname" fontWeight="bold"/>
                             <mx:Text x="113" y="45" text=" Auto Parts
Inc." width="277" id="dbaname" fontWeight="bold"/>
                             <mx:Text x="113" y="71" text="Amanda"
width="277" id="owner" fontWeight="bold"/>
                             <mx:Text x="113" y="97" text="--"
width="277" id="ownertype" fontWeight="bold"/>
                             <mx:Label x="20" y="243" text="Comments:"
width="138" fontWeight="bold"/>
                         </mx:Canvas>
                         <mx:Canvas label="License" width="100%"
height="100%">
                             <mx:Label x="20" y="10" text="Formal Name"
width="123"/>
                             <mx:Text x="115" y="10" text="Jason's Auto
Parts" width="277" enabled="true" id="formalname0" fontWeight="bold"/>
                             <mx:Text x="115" y="36" text="April 15 2008 
(28 Days Left)" width="277" enabled="true" id="formalname1"
fontWeight="bold"/>
                             <mx:Text x="115" y="62" text="Jan 1 1980"
width="277" enabled="true" id="formalname2" fontWeight="bold"/>
                             <mx:Label x="20" y="36" text="License
Expires" width="93"/>
                             <mx:Label x="20" y="62" text="Last Issued"
width="93"/>
                             <mx:Label x="20" y="88" text="Status"
width="93" fontWeight="bold"/>
                             <mx:Label x="327" y="10" text="Endorsements"
width="93" fontWeight="bold"/>
                             <mx:CheckBox x="329" y="36"
label="Passenger"/>
                             <mx:CheckBox x="329" y="66"
label="Commercial"/>
                             <mx:CheckBox x="329" y="96" label="7D"/>
                             <mx:CheckBox x="329" y="126"
label="Motorcycles"/>
                             <mx:RadioButtonGroup id="Status"/>
                             <mx:RadioButton x="64" y="88"
label="Inactive" groupName="Status"/>
                             <mx:RadioButton x="64" y="114"
label="Active" groupName="Status"/>
                             <mx:RadioButton x="64" y="140"
label="Retire" groupName="Status"/>
                             <mx:Button x="183" y="168" label="View
History"/>
                             <mx:Panel x="20" y="218" width="694"
height="288" layout="absolute" title="EApproval">

                                 <mx:CheckBox x="10" y="19"
label="nicipality"/>

                                 <mx:TextArea x="10" y="153"
wordWrap="true" text="Note: ....." width="654" height="95"
editable="false" fontSize="12"/>



                             </mx:Panel>
                         </mx:Canvas>
                         <mx:Canvas label="Lockout" width="100%"
height="100%">
                             <mx:Label x="19" y="10" text="Current State"
width="99"/>
                             <mx:Text x="153" y="10" text="Locked"
enabled="false" fontWeight="bold"/>
                             <mx:Text x="153" y="36" text="Yes"
enabled="false" fontWeight="bold"/>
                             <mx:Text x="153" y="62" text="No"
enabled="false" fontWeight="bold"/>
                             <mx:Text x="153" y="88" text="No"
enabled="true" fontWeight="bold"/>
                             <mx:Text x="153" y="114" text="No"
enabled="false" fontWeight="bold"/>
                             <mx:Label x="19" y="36" text="License
Expired" width="131"/>
                             <mx:Label x="19" y="62" text="License
Suspended" width="131"/>
                             <mx:Label x="19" y="88" text="License
Revoked" width="131"/>
                             <mx:Label x="19" y="114" text="Payment
Default" width="131"/>
                             <mx:Button x="198" y="62" label="Suspend"
width="96" height="20" click="suspenddate.visible=true"/>
                             <mx:DateChooser x="302" y="62"
id="suspenddate" showToday="true" enabled="true" visible="false"/>
                             <mx:Button x="19" y="160" label="View
History"/>
                         </mx:Canvas>
                         <mx:Canvas label="History" width="100%"
height="100%">
                             <mx:DataGrid x="10" y="32" width="494">
                                 <mx:columns>
                                     <mx:DataGridColumn
headerText="Lockout" dataField="col1"/>
                                     <mx:DataGridColumn
headerText="Suspended" dataField="col2"/>
                                     <mx:DataGridColumn
headerText="Payment Default" dataField="col3"/>
                                 </mx:columns>
                             </mx:DataGrid>
                         </mx:Canvas>
                     </mx:TabNavigator>
                     </mx:Canvas>
                 <!--mx:Canvas label="Inspectors  X" width="100%"
height="100%" >
                     <mx:TabNavigator width="100%" height="100%">
                         <mx:Canvas label="Finder" width="100%"
height="100%">
                         </mx:Canvas>
                         <mx:Canvas label="Info" width="100%"
height="100%">
                         </mx:Canvas>
                         <mx:Canvas label="License" width="100%"
height="100%">
                         </mx:Canvas>
                         <mx:Canvas label="Lockout" width="100%"
height="100%">
                         </mx:Canvas>
                         <mx:Canvas label="History" width="100%"
height="100%">
                         </mx:Canvas>
                     </mx:TabNavigator>
                     </mx:Canvas-->
                     <mx:Canvas label="Help" width="100%" height="100%">
                     </mx:Canvas>
                 </mx:TabNavigator>

             </mx:Canvas>
     </mx:HDividedBox>
     <mx:Image x="10" y="0" width="200" height="35">
         <mx:source>Images/Logo.png</mx:source>
     </mx:Image>
</mx:Application>




Reply via email to