define a behavior of scroll 'mobile' for a drop-down list on a desktop application

Hello

We are looking for help on a 4.5 AIR Flex application deployed in a tactile desktop environment.

We are developing some kind of a kiosk application before all designed for desktop computers (mouse). Recently, we tested on a touchscreen used with a stylus or fingers (not a mobile device but a touch screen connected to a computer), all run smoothly without modification the touch events on the screen being interpreted as an interaction of the mouse by the driver.

So everything works fine, but of course the user interface is not designed to be manipulated with the fingers and especially the scrolling of the list behavior is not suitable: the desktop AIR application displays the vertical scroll bars and buttons to scroll the list up and down, but usually in a touch screen, you scroll the list by dragging (touch something and drag up or to the left element is not selected because that you moved the finger before moving it to the top)

I know this behavior for a Scroller exists in flex 4.5 in a 'Mobile' project (apparently, it is possible to compile a 'Mobile' project in a desktop AIR app...?)

So my questions are:

(1) is it possible to implement this behavior 'mobile' a drop-down list to a desktop AIR application?

(2) as a general rule, it is possible to set installation (by configuration or almost) 'style' of the application (by 'style' I mean the size and behavior of the components to be handled by a mouse or a finger). It seems possible that the logic behind the component does not change, just the size (if it is a button or the behavior of scroll if it is a list and so on...). Is this something related to skin? or maybe a theme?

(3) what is the difference between a "desktop AIR application" and a "mobile app" in Flex Builder 4.5? (both project seems to have the same compiler arguments, etc...) ?

Mich

In a project Flex desktop, you can activate the scroll key defining interactionMode = 'touch' on the list.

Tags: Flex

Similar Questions

  • Disable the scroll bar on the drop-down list?

    Hello.

    I have a form in which I use a list box which goes down.

    Due to the quantity of values in the list box, livecycle provides a scroll bar rather than opens the box to list completely until. As the list box is at the top, there is plent of room on the page.

    Is it possible to disable the scroll bar on the list box?

    Thanks for your help in advance.

    Will be

    Hello

    There is no way to disable this behavior of a drop-down list or list box.

  • Is it possible to add images/icons for a drop-down list box?

    I have created a form with several fields of text. The customer wants to be able to 'mark' some/all the of them with an icon (until there are only two icons of your choice)

    Due to the limit "real estate" on the form, it would help a lot if I could add these icons to a simple drop-down list. Unfortunately, I found no way to do it.

    Such an option exist?

    ... and if so, how?

    Thanks for any help or information

    No, but you can use a button to display images/graphics. If you are using JavaScript (for example, app.popUpMenuEx) to view the selections of text after you click the button, the script will mark the button icon to the corresponding selection. There are other similar types of things that would make with the buttons, but all rely on JavaScript. Note that this type of approach does not work on most mobile PDF viewers and not Adobe PDF viewers.

  • Code JavaScript for buttons, drop-down lists, and text fields

    Hello, I currently have a form with a drop-down list field that fills a text field with something according to what is selected in the drop-down list via a custom script typo.

    I want to add a button that something will enter the field of text according to what is selected in the menu dropdown. Copy and paste the script of hitting into the button do not work and returns an undefined value.

    I would also like to add that I am new to coding and it would be more useful if someone can provide a script for it or let me know if this is not possible. Thank you.

    OK, the script of mouse upwards for the button might look like this:

    (function () {}

    var aQuotes = [];

    aQuotes [0] = this.getField("Batch").value = util.printd ("Rmmddyy-96", f);

    aQuotes [1] = this.getField("Batch").value = util.printd ("Rmmddyy-95", f);

    aQuotes [2] = this.getField("Batch").value = util.printd ("Rmmddyy-94", f);

    aQuotes [3] = this.getField("Batch").value = util.printd ("Rmmddyy-93", f);

    aQuotes [4] = this.getField("Batch").value = util.printd ("Rmmddyy-92", f);

    aQuotes [5] = this.getField("Batch").value = util.printd ("Rmmddyy-91", f);

    aQuotes [6] = this.getField("Batch").value = util.printd ("Rmmddyy-90", f);

    Get the value (export) of the element selected in the drop-down list

    var point = getField("dropdown1").value;

    Set the value of a text field

    getField("Batch").value is aQuotes [point];.

    })();

    Replace "ListeDéroulante1" in the code above with the actual name of the relevant drop-down list field.

  • Registration type of best practices for updating the mapping of cascading for account drop-down list

    1. most bearing the name of choice in parent list values and related lookup has been changed in the main list of the external application, so the same should be updated in CRMOD.

    2 to update the value of the list of choices, do we need to DISABLE the existing value and CREATE a new list of selection.

    3. are there best practices to avoid the manual pick list Cascading draw for the record type account? because we have about 500 values in list dropdown to map with parent and related list of choice.

    Thank you!

    Mahesh, I recommend disabling the existing values and create new ones. This means that the remap manually cascading dropdown lists.

  • Simple javascript for the drop-down list IF, fills two different fields

    I don't write js, but can grasp what it did when I hang a sample edit and re - purpose. I have a form simple fax that already resets to the opening. Here's what I'm doing:

    User selects the sender's name in the drop-down list of about 15 (grow w / hour)

    Fill in the following text field "sender Fax #" with the number of direct fax (xxx-xxx-xxxx in the js) user

    Are also complete this later text field "sender Ph #" with the number of direct ph of the user (xxx-xxx-xxxx in the js)

    Here is an example which I believe works the way you want: https://workspaces.acrobat.com/?d=gZNDS8dQQNqvwocUufXHNQ

    You have to watch the fields to see how they are implemented and to study different scripts to see how it works. If you have any questions, post again.

  • limit the max char for the drop-down list

    How is it possible to limit editing of a drop-down list, if the combo is configured as editable. Thank you.

    Cannot be done in the script... events that fire when the drop-down list is typed in don't work the same way.

    The only way I can get that uses the exit event add this javascript code:

    var

    strTemp = this.rawValue;

    If

    (strTemp.length > 5) {

    this.rawValue

    strTemp.substr = (0.5);

    App.Alert ("you have exceeded the limit of the tank.");

    }

    Where 5 corresponds to the length of the string that you will allow. The user can type in a long string, then it will warn and truncated to length.

    Paul

  • ToolTip for the drop-down list of the combo box

    Hello

    How can I give a ToolTip when I ride on an item in the drop-down list of a ComboBox?
    Its a little urgent: () help, please.

    Thanks in advance,
    Yann

    HI HI...

    Try to play with this example changed from Flex 2 help...

    Import mx.events.ToolTipEvent;

    [Bindable]
    public var cards: Array = [{label: 'Visa', data: 1},]
    [{label: "MasterCard", data: 2}, {label: "American Express", data: 3}];

    [Bindable]
    public var selectedItem:Object;

    ]]>







  • How to make the menu drop-down list with a scroll bar

    Hello

    I have a drop-down list that is filled with different table sizes.

    I have a size of 30-element array.  Some of the last items just go off the screen at the bottom of the Simulator PB.

    Is it possible for me to add a drop-down scroll bar?

    DP = new DropDown();
    dp.rowHeight = 24;
    DP.prompt = "stuff";
    DP. Height = 34;
    DP.width = 230;
    DP.x = TitleTB.x + 170;
    DP.y = Title.y-3;
    addChild (dp);

    Some of the tables look like this-

    case 'List 1':
    dp.rowCount = 2;
    for (var i: int = 0; i<2;>
    {
    if(i==0)
    {
    DPP.splice (0);
    DPP.unshift({label:"blahblah"});)
    }
    else if (i == 1) {}
    DPP.unshift({label:"foofoo"});)
    }
    }
    dp.dataProvider = new DataProvider (dpp);
    addChild (dp);
    break;

    case "List2":
    dp.rowCount = 30;
    for (var n: int = 0; n<30;>
    {
    if(n==0)
    {
    DPP.splice (0);
    DPP.unshift({label:"lalalala"});)
    }
    Else if (n == 1) {}

    **********

    Delete the existing table using splice (0);

    then I add the new array of labels.

    Before, when I didn't have the splice (0), I only had the .unshift () and sometimes got bays combined together and a scroll bar appears automatically in the Simulator.  But then the berries were mixed.

    Thanks for the help!

    Hey mlin13,

    from the looks of it, your property rowCount is set too high. the rowCount property represents the number of lines displayed on the screen when the drop down menu is open. so if the number of rows is less than the amount of items on the list, it will create a scroll bar with a drop-down list for you. try to set the number of lines to a default value of 10 and and keep it manipulate your list from there. and see if you get the desired results. Good luck!

  • Drop-down lists to DataGrid scrolling through the grid reset

    I have a datagrid that contains two columns with drop-down menus. The drop-down list values are defined by program to the given index. But when the grid scroll bar is made to scroll up and down and then back up the selected values to reset. Any idea of this behavior?

    Yes. point converters are "recycled". Flex creates only for the visible rows. When you scroll, item for item data is scrolled position are sent the converter (through the set data() setter), who must use these data to render its visible state.

    This means that all aspects of the item converter must be controlled by the data. You can't do a data-oriented work to initialize or create complete, but need to override the set data() method. Best practices is actually a little more complicated Quen only. You must place the selectedIndex property of the ComboBox value stored within the item renderer.

    Google: Alex Harui point converter recycling

    For a full explanation and examples.

    Tracy

  • Drop-down lists lists loop until the first position when scrolling down

    Original title : Drop-down lists keep scrolling to the first position

    As soon as there is a drop involved or any time there is more than a list of what can be seen on the screen, something is causing the list to scroll to the first position.  It also happens on anything that uses a mouse to move a bar on the side, using keyboard does not help, she returned at the beginning.  Please, someone let me know how to solve this problem, I can't get anything done as much of what I do has lists in drop-down lists.

    Thanks for your help

    BlueFairy2012

    Hello

    1. the problem occurs with any particular application or all applications?
    2. don't you make changes to the computer before the show?
    3. what operating system is installed on the computer?

    I suggest you perform the clean boot and check if the problem persists.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: Follow step 7 clean boot KB929135 article to reset the computer in normal mode.

    Additional information:
    The problems with the mouse button or scroll the parameters
    http://support.Microsoft.com/kb/303091

  • How to define the format of a field drop-down list text align at the top of the field instead of the Center?

    I have a form with the fields of data entry simple Acrobat 11. I have, for the first time inserted drop-down lists and most of them is single-line fields. However, there are a few examples where my field must be larger to mask unwanted background. (The field will define the colur to white background are data entry, but I did not write the script for this.) When a selection is made, it appears centered in the field and I need to be aligned to the top.

    I guess I can put a script on the Format tab, in the custom format script, but I don't know enough about Javascript to run on the syntax. I guess it would be a simple line or two of code. Can anyone help?

    You have no control over this. They are always vertically centered. You can use a separate field in the drop down menu, however, and control its background. I suggest to use a read-only button.

  • Search for text in the drop-down list when entering

    Hello

    When drop-down-list "allowing custom text entry" disabled and if there are for example values:

    one

    ABX

    ABY

    b

    c

    When the field has focus and the user types, the field then gets the first value that starts with the last letter typed.

    Is it possible to configure this feature for more respect then the first letter? While the user type "ab" and AR would have filled the "abx" value?

    There is no work around for it?

    Thanks for any help.

    Hello

    I don't think that there is an option to enable this behavior.  But I have implemented something a bit similar, see the example in this post http://forums.adobe.com/message/2372156#2372156

    Concerning

    Bruce

  • If Google is my default search, can I go and change it if I want to do a search for GMaps; only the default is in the search drop-down list.

    If Google is my default search, can I go and change it if I want to do a search for GMaps; only the default is in the search drop-down list.
    So I have to change the default to Google Maps then back to Google to search for one.

    I have it! It's the topic: config "hiddenoneoffs" where the 3 elements of google, maps and mcafee have been included. There was no space between Google and maps. I put one in from Google Maps. She appeared in the first box-ff, but not sure about the search in the second time zone. I went back to the subject: one-offs. Safe search was shown with a space after Secure. I took out the space. Safe search arose in the 2nd single search box!
    Weird! This is contrary to how they show in the search parameters.
    Can I have messed that when Firefox has been reset all the search engines on an update, but I do not.
    Either incidentally, I tried to re-installation characteristic but the file comes down as a .dmg that I'm not familiar with and don't apparently is 8.0 to win because he couldn't open it. Thank you once again.

  • Behavior of the drop-down list

    Greetings,

    When I click on the bookmarks drop-down list opens. However, instead of appear suddenly, it begins at the top right and zoom out until it is complete. When I had too much bookmarks it was OK but now it's getting boring. I don't know if it is a feature of FireFox, but if it is I don't think. Is it possible to have just the drop just open fully?

    Thanks for your help!

    Thank you jscher! That solved. Interesting that he took and add in. Sounds like it should be an option can be set in this fine browser.

Maybe you are looking for