1 Reply Latest reply on Aug 28, 2007 12:48 PM by ssmithstone

    <mx:combobox> and currentState

    Tannapaws
      In my head, this seemed like such a simple idea, but in code, it's not feeling like it is....so here we go:

      I have a sample application (learning flex; currently a PHP guy) that has a ComboBox in a ApplicationControlBar. The code goes something like the following:

      <mx:combobox id="animals">
      <mx:arrayCollection>
      <mx:object label="Dog" data="Dog"/>
      .....(insert many more animals here)...
      </mx:ArrayCollection>
      </mx:combobox>

      Well I have several states designed with panels that connect back to my Ruby on Rails server to "add your animal" and I would like to be able to have a user click on the combobox, select their animal, and then move forward to the new state.

      Is this possible? I've been searching and it seems like no one else is trying to do this at all.
      Thanks!