1 Reply Latest reply on Jul 27, 2007 9:46 AM by Newsgroup_User

    Empty ComboBox Custom Control.

    Level 7
      What am I missing here? This displays an empty combobox when called as
      such: <Ctrl:statusComboBox id="te_status" />. It works if I create an
      inline ComboBox, but I will want to use this same control in multiple
      locations in my application.

      <?xml version="1.0" encoding="utf-8"?>
      <mx:ComboBox xmlns:mx=" http://www.adobe.com/2006/mxml">
      <mx:Script>
      <![CDATA[
      [Bindable]
      public var status:String = '';
      ]]>
      </mx:Script>

      <mx:ArrayCollection>
      <mx:String>Reported</mx:String>
      <mx:String>Assigned</mx:String>
      <mx:String>Closed</mx:String>
      </mx:ArrayCollection>
      </mx:ComboBox>