Flashbuilder 4.5 DropDown List for Mobile application?

11,054

Solution 1

Although I'm coming in a little late to this question, we have created a Flex Mobile DropDownList and it is available as part of the Flextras Mobile Component set.

The issues w/ using the DropDownList in mobile relate to the differences between touch and mouse inputs and the way that the original DropDownList was structured.

Here is a sample of our Flex Mobile DropDownList. You can always download our free edition to test it out in the mobile emulators or on your device. The free edition can be used in production, but we do have pay options if you want source code or help.


Update: All Flextras Components went open source under the Apache License; so you no longer have to pay anything to use them.

Solution 2

Actually there is not an issue with the DropDownList. As a mobile application - user just need to create his own skin for it. Adobe "discourage" it because it requires some advanced skills, which is not the prime target nowdays of Adobe ( which is wried ). Just create your own skin, and it will be more than OK. :)

Solution 3

I think what you really want is to use Combobox:

<s:ComboBox change="changeHandler()">
   <s:ArrayCollection>
      <fx:String>Male</fx:String>
      <fx:String>Female</fx:String>                       
   </s:ArrayCollection>
</s:ComboBox>
Share:
11,054
user723858
Author by

user723858

Updated on October 03, 2022

Comments

  • user723858
    user723858 over 1 year

    Hi I am currently developing a mobile application within Flashbuilder 4.5 Pro. However I am having issues as I cannot seem to add a drop down list to my application and have it work properly. I have created the code below and this effectively creates a drop down list and populates it with items, however when the user clicks on an item it is not selected in the field.

    This also happens when I am testing it on my machine and the only way to select the item is to click on the list and then use the down arrow on the keyboard which I cannot do in the application. Can someone please help me????

    <s:DropDownList id="sex_drpdown" width="150" height="61.35" labelField="value" fontSize="30" change="sex_drpdown_changeHandler(event)">
                <s:ArrayCollection>
                    <fx:String>Male</fx:String>
                    <fx:String>Female</fx:String>                       
                </s:ArrayCollection>
            </s:DropDownList>