I want to create a flash list

Basically I want to make a lister.
Lets say when you input numbers like 2,4,6,8,10,12 and click the button or enter it pops up saying its even
and 1,3,5,7,9,11 click the button pops up saying odd.

You can start with some basic ActionScript. I have placed the code below. It is basically saying if a number can be divided by 2 it is even, if not it is odd. This should be a good start for you, you just need to fill in for the pop-up and the return text and you are good.
function dispari(numero:int):Boolean
   //check if the number is odd or even
   if (numero % 2 == 0)
   return false;
   else
   return true;

Similar Messages

  • I want to create a play list based on beats per minute. Is this possible?

    I want to create a play list based on beats per minute. Is this possible?
    I have selected show bpm on my itunes screen but there are no numbers there.

    Tracks do not come with BPM information included, either from the iTunes Store nor when you import a CD. You need to enter in the BPM information yourself. There are applications for Mac that can analyze tracks and determine (more or less) the BPM automatically, and there may be something similar for Windows. Otherwise you'll have to determine the BPM yourself and enter that information in the field for each track.
    BTW, this forum is for questions about iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. For future questions, you'll be most likely to get help with this issue if you ask in the general iTunes forums.
    Regards.

  • Want to create a menu/list that expands with additional links when you rollover it

    The hardest part about using the "help menu" is figuring out
    what to search for.... I want to create a button on my website that
    expands to additional options/links when you roll over it.... An
    example would be on this Adobe website.... There is a bar across
    the top that says solutions, products, etc. When you roll over it,
    the link expands to additional options.... If someone can tell me
    what to search on in the help menu, I can take it from there....
    Thanks,
    Nancy

    Haaga wrote:
    > The hardest part about using the "help menu" is figuring
    out what to
    > search for.... I want to create a button on my website
    that expands
    > to additional options/links when you roll over it.... An
    example
    > would be on this Adobe website.... There is a bar across
    the top
    > that says solutions, products, etc. When you roll over
    it, the link
    > expands to additional options.... If someone can tell me
    what to
    > search on in the help menu, I can take it from there....
    http://www.google.com/search?hl=en&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=css-based+drop+ down&spell=1
    Thierry
    Articles and Tutorials:
    http://www.TJKDesign.com/go/?0
    The perfect FAQ page:
    http://www.TJKDesign.com/go/?9
    CSS-P Templates:
    http://www.TJKDesign.com/go/?1
    CSS Tab Menu:
    http://www.TJKDesign.com/go/?3

  • How do I create a Distribution List in the Mail App?

    I am a recent convert from MS Outlook on Windows. I am loving Apple's Mail, Address Book and iCal. But I am still learning how to do all the things I do everyday without even thinking.
    I just want to create a Distribution list for each team of people I work with. There has got to be something I am overlooking...???
    iMac 2.16Ghz Core2Duo 20"   Mac OS X (10.4.9)   MacBook 2Ghz Core2Duo

    Thanks. I was hoping to find something other than Groups, because when you sync with a mobile device, it maps the groups to Categories in the device. This adds a lot of complexity to data and many mobile devices have some limitations on categories.
    But thanks for the quick response!
    -MJSTEELEGA

  • Create a flat list from SELECTION-SCREEN

    Hi,
    I have a selection for date on in an report,
    SELECTION-SCREEN  BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS : dat_rang FOR sy-datum.
    SELECTION-SCREEN END OF  BLOCK blk1.
    I want to create a flat list of dates from this selection. This list should exclude the date(s), which are excluded in the selection.
    Please give some starters on how to do this.
    Thank you,
    CD

    Here is another example, adding the dates to an internal table.
    REPORT  zrich_0001.
    TYPES: BEGIN OF t_datum,
            datum TYPE sy-datum,
           END OF t_datum.
    DATA: lt_datum TYPE TABLE OF t_datum.
    DATA: ls_datum LIKE LINE OF lt_datum.
    DATA: lv_date TYPE sy-datum.
    SELECTION-SCREEN  BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
    SELECT-OPTIONS : dat_rang FOR sy-datum.
    SELECTION-SCREEN END OF  BLOCK blk1.
    INITIALIZATION.
      lv_date = '19000101'.
    START-OF-SELECTION.
      DO.
        IF lv_date IN dat_rang.
          ls_datum-datum = lv_date.
          APPEND ls_datum TO lt_datum.
        ENDIF.
        lv_date = lv_date + 1.
        IF lv_date = '20500101'.
          EXIT.
        ENDIF.
      ENDDO.
      LOOP AT lt_datum INTO ls_datum.
        WRITE:/ ls_datum-datum.
      ENDLOOP.
    Regards,
    Rich Heilman

  • Create a small list from a bigger list, on some criteria

    I have a list of java objects, i want to create small list on some criteria for some calculation, so i dont have to loop through all the big list, but create a small list,
    what is the best way to do so, i can loop through the big list and then add objects that match the criteria to another list, but is there any other way, like using comparator or some thing any ideas
    here is some code for reference
    public class Mybean {
    private id ;
    private name;
    private lastname;
    //getters and setters
    }This is the big list, which may have 1000 objects, and then i want to create a small list where id = 123, then do some calculation,
    what is the best way, i am using this loop to create it
    for(Mybean mybean: biglist){
    if(mybean.getId = 123){
    smallListId.add(mybean);
    }

    If you're going to do this a lot, I'd suggest writing something like:
    class Filter<T> {
      List<T> filter(Match<T> matcher, List<T> inputToBeFiltered);
      interface Match<T> {
        public boolean matches(T);
    }

  • Creating a Flash Mouse Over Effect

    I want to create a flash mouse over effect that I can import into dreamweaver.  Dreamweaver used to have a function to make this simple, but Adobe removed it.  How do I create this in flash, and then define it in dreamweaver?

    Why not just cut on a big white rectangle? Another way is to keyframe the Light Rays filter...
    Patrick

  • Need help on creating a linked list with array...

    I want to create a linked listed using array method. Any suggestion on how would I start it.
    thanks

    That means I want to implement linked list using an
    array.I believe you mean you want to implement list using an array. Linked list is a very different implementation of a list, which can be combined with arrays for a niche implementation of list, but I don't think this is what you're talking about.
    Do you mind if we ask why you don't want to use ArrayList? It does exactly what you specify, plus it will increase the size of the internal array as necessary to ensure it can store the required elements.
    If you really want to make your own, have a look at the source for ArrayList (in src.jar in your JDK installation folder) - it will answer any questions you have. If you don't understand any of the code, feel free to post the relevant code here and ask for clarification.

  • I want to create a SWF for my small web site. How do I do this? Do I need to purchase "Flash Builder"?

    I want to create a SWF for my small web site. How do I do this? Do I need to purchase "Flash Builder"?

    Hi Developer_46038, 
    if for example all the properties and object are stated as list, i think there is a tool that overcome cross list.
    http://listrollup.codeplex.com/
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/13a51be5-4007-46e8-bbb2-5e04320dfebd/cross-list-webpart?forum=sharepointcustomizationlegacy
    you can also using dataview webpart to show the cross lists:
    http://office.microsoft.com/en-us/sharepoint-designer-help/create-a-data-view-HA010094804.aspx
    http://office.microsoft.com/en-us/sharepoint-designer-help/connect-two-data-views-HA010169133.aspx
    3rd party: http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2009/03/11/relational-database-capabilities-for-sharepoint-lists-cross-list-web-part.aspx
    but i am not quite sure how crystal report will do, if you can make the crystal report as also list, i think its possible, 
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/8247edf5-dee8-49d8-b7ee-9e49bfd97b9b/crystal-report-in-sharepoint-2010-webpart?forum=sharepointdevelopmentprevious
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • When creating a new record in a list, I want to create a new record in another list, too, together with the ID of the first record

    OK, for anyone who has ever programmed a database, this one is easy. However, I am EXTREMELY limited. I work with SharePoint 365 (2013). I am pretty proficient in a number of programing languages, but I really don't know how to program SP. I wouldn't even
    know where to put code.
    Say, I have two lists: List A, with Items A1 (ID), A2, A3 and List B, with Items B1 (Lookup to A1), B2, B3. What I want this: When I create a new record in List A I want that also an empty record (except for the B:A1 item) is created. Is that possible without
    any major programing?

    you can create a workflow to achieve your requirement
    http://sharepoint.stackexchange.com/questions/50059/create-a-list-item-when-item-is-created-in-another-list
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • List View Filter - I want to create List View based on a specific user

    I want to create a List View Filter based on specified user ID. I dont want to specify the [Me] for filtering the view based in current logged in User.
    I want the view to be based on specific user ID for Ex: "AD\JohnDoe"
    Thanks
    Nate

    The People/Group Picker field has several options for how the name is displayed. For example you can set it to be the friendly name or the account name. When you create your View Filter, make sure that you are using the same format as the field's display
    type.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • I'm so confused!! I just want to create interactive pdf files (with video and flash files), but this free trial version is confusing!! help!?!

    i'm so confused!! I just want to create interactive pdf files (with video and flash files), but this free trial version is confusing!! help!?!

    Thanks for your suggestions. I checked to see if the options you suggested were set incorrectly but they were set to sync all. This led me to think the problem was actually in the iphone. I re-initialized the iphone and did not allow the system to restore any of the previous settings. In essence, I forced the phone to reset to factory settings. Then my video podcasts started syncing. All is well now. I did notice that I had seven podcasts selected that were "HD" presentations, and as such, are not compatible with the iphone. I don't know if this had anything to do with my earlier situation, but now I'm getting the video podcasts automatically. I'm happy. It wasn't much fun forcing the iphone to forget all of my preferences and I'm still customizing the phone now several days later. I think I have everything working and back to normal except I haven't identified any of my email accounts as of yet. Thanks for your help.

  • Using two T lists i want to create a UI, from which user can make selection

    I want to create a UI in forms 6i, wherein there will be two T lists on the same canvas. I'll populate the left one from the record group and then make selections to the right one using four buttons in between.
    I'm using the add_list_element, delete_list_element, get_list_element_label, get_list_element_value built ins to do that. But it is not working properly. Giving a lot of forms errors.
    The same thing can be done in JDeveloper using a shuttle bean.
    An example of the UI that i want to construct :
    The kind of UI that i'm talking can be seen when we construct a new form manually, then we goto data block wizard. There we browse for a table and the wizard gives the list of the columns for that table, from this list selections can be done using the four buttons in the same way that i intend my form to do. This is the kind of UI i want to develop.
    I'm very new to development in forms. I'm sure you people at OTN will help me.
    Thanks,
    Abhishek.

    Hi Abhishek
    What is happening by these
    Copy(v_value, p_tlist_into); and
    ...This commans set list item value (list selection).
    The most simple way to move all elements between lists is to populate the target list from record group, and the to clear the source list. The lack of the given method - order of elements will be same, as in group.
    PROCEDURE Move_All_Elements (p_tlist_from VARCHAR2, p_tlist_into VARCHAR2) is
    v_value VARCHAR2(100);
    v_label VARCHAR2(100);
    v_index_from NUMBER;
    v_index_into NUMBER;
    v_count_from NUMBER; -- Count elements of tlist_out
    BEGIN
    --v_index_from := Get_List_element_count(p_tlist_from);
    -- Get_List_element_count never return zero!
    v_index_from := Get_List_Current_Index(p_tlist_from);
    if v_index_from = 0 then -- The source list is enpty
    --fnd_message.debug('elements=0, so return');pause;
    RETURN;
    end if;
    --v_index_into := Get_List_element_count(p_tlist_into);
    v_index_into := Get_List_Current_Index(p_tlist_into);
    if v_index_into = 0 then -- The target list contant only DEFAULT value
    --fnd_message.debug('no elements, so clearing the list');pause;
    clear_list(p_tlist_into);
    end if;
    v_count_from := Get_List_element_count(p_tlist_from);
    FOR i IN 1..v_count_from
    LOOP
    v_label := Get_List_Element_Label(p_tlist_from, i);
    v_value := Get_List_Element_Value(p_tlist_from, i);
    --Add_List_Element(p_tlist_into, v_index_into, v_label, v_value);
    Add_List_Element(p_tlist_into, v_index_into+i, v_label, v_value);
    -- The commands are lower in a loop are not necessary.
    -- The commands after the loop make too most.
    --Copy(v_value, p_tlist_into);
    --Delete_List_Element(p_tlist_from, i);
    --v_index_from := Least(v_index_from, Get_List_Element_Count(p_tlist_From));
    --v_value := Get_List_Element_Value(p_tlist_from, v_index_from);
    --v_value := Get_List_Element_Value(p_tlist_from, v_index_from + v_index_into);
    --Copy (v_value, p_tlist_from);
    --fnd_message.debug('done for one element');pause;
    --exit when v_label is null;
    END LOOP;
    clear_list(p_tlist_from);
    v_value := Get_List_Element_Value(p_tlist_into, v_count_from + v_index_into);
    Copy (v_value, p_tlist_into);
    EXCEPTION
    when others then null;
    END;

  • Using two T lists i want to create a UI, from which selections can be made

    I want to create a UI in forms 6i, wherein there will be two T lists on the same canvas. I'll populate the left one from the record group and then make selections to the right one using four buttons in between. I'm using the add_list_element, delete_list_element, get_list_element_label, get_list_element_value built ins to do that. But it is not working properly.
    I'm very new to development in forms.
    If anybody has developed such an UI in forms, please help me.
    Thanks,
    Abhishek.

    The kind of UI that i'm talking can be seen when we construct a new form manually, then we goto data block wizard. There we browse for a table and the wizard gives the list of the columns for that table. This is the kind of UI i want to develop. I hope the people at OTN would not dissappoint me.
    Abhishek

  • I have a survey sharepoint list, now i want to create a webpart using this list.

    Hi All,
    i have a survey sharepoint list, now i want to create a webpart using this list.
    webpart is to "display one question from survey sharepoint list(latest question)" and enduser participate on the survey when enduser submits the question(survey), save the result in to the list and result will display as graphical representation.
    How can i do this requirement, any help?

    You do not need to create a custom web part if you need to show the latest question and then display result in graphical way. The Survey list gives that OOTB.
    If there is a specific requirement, you can use Server/Client Object Model and achieve it.

Maybe you are looking for

  • Report failing from VB6

    Running Win 2003 R2 SP2, connecting to Oracle 10g, using Crystal 9.2.3.787. Report works fine when opened from within Crystal IDE. Report not working when called from VB6 application. Error Thrown: Error generating report! Error No: -2147189176 Error

  • Customer master-general data-attribute-creation

    Hi, I would like to use the attribute 1 to 10 fields in customer master general data to fill up relavant to customer . i have seen some SCN postings regarding activation of those fields technically. i want to create some data in the attribute same li

  • Select instance variable

    When I create a screenflow, in the pop window of selecting instance variable, it includes many variable (such as: participant, status ...) and the one I created. The tutorial let me set the in and out value to No. When should I set some of them to Ye

  • What Viewer Will Work In Flash Catalyst

    I got simpleviewer to work until I closed the project and the folders I loaded into the workspace folder were not saved.  I tried the demo of Slideshow Pro, but it gives me no idea of if it will work in Flash Catalyst or how I would install it.  Is t

  • Forms Runtime Web - R12

    Hi, We installed a vision on our Linux box. The installation was successfull. All the services are started. 1) The login page is working 2) Selecting responsibility page is working 3) When we are chooisng like concuurent --> Adminster the forms run t