Adding Many Items To A "Stage"

I have a list of images in a scrolling area and I'd like the
user to be able to click the image and it would appear in a "stage"
area that I have (they should be able to select as many as they
like).
I know how to do it with one image, but is there a more
dynamic way so that I can modify a function to just get an image id
to show it (so I don't have to write specific code for each
image)?

"Holomew" <[email protected]> wrote in
message
news:gcg9f7$7l7$[email protected]..
>I have a list of images in a scrolling area and I'd like
the user to be
>able to
> click the image and it would appear in a "stage" area
that I have (they
> should
> be able to select as many as they like).
>
> I know how to do it with one image, but is there a more
dynamic way so
> that I
> can modify a function to just get an image id to show it
(so I don't have
> to
> write specific code for each image)?
There's an example in one of the links from Q1 here
http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf

Similar Messages

  • Awt.List Flicker when adding many items.

    I need to add a lot of items to an awt.List (around 100),
    is there a way to do this off-screen so that it wont flicker
    like crazy while I'm adding the items in a loop?
    Thanks,
    Rob.

    you can make your list invisible setVisible(false) when it performed the adding make it visible.You can use Thread.sleep() to stay for a while till adding has not been done!
    hope it will match with ur requirements

  • Added many items to my iTunes wish list last night but today it is empty?

    Hi,
    I added lots of items to my iTunes wish list using my AppleTV last night but today when I went to check my wish list using iTunes on my desktop it is empty - does anyone know any reason why this might happen?

    The older version of iTunes does not read the wish list from AppleTV, 11.1.4 finally supports wish list.  I'm trying now to find out if here if I have to upgrade my firmware for iTunes to see it.
    https://discussions.apple.com/message/24607948#24607948
    I've noted before when I updated the firmware the wish list was vanquished from the AppleTV.

  • Using the same actionscript on many items?

    I am a very very big noob when it comes to actionscript. I
    have designed a few things adding behaviors to items and screens,
    but just dont understand actionscript.
    What I am wanting to do is use the same action script on many
    items. I have many 'buttons' on a page that I want to all act the
    same on rollOver and onPress, etc. Now I could just use a button
    for this, but the problem is that I also want the items to be able
    to be like a 'disjointed rollover'.
    Is there a way to asign the same actionscipt to all the
    movieclips so each object doesn't need to have multiple behaviors?
    And I'm sorry to say this, you may need to explain a solution to me
    in very simple terms.
    Here are my files
    swf -
    btnTest.swf
    fla -
    btnTest.fla

    Thank you for the reply.
    I'm sure I am missing something basic, but that does not seem
    to work for me here.
    For instance, If I turn one of the 'buttons' on the right (in
    my example file above) into a symbol with the actionscript attached
    to it then I drag it onto the stage; everything works fine. However
    if I then add behaviors to get the 'disjointed rollover' onto
    another button that works, but the original button has lost it's
    rollover effect.
    Thanks for the help - anymore suggestions for me?

  • Rss form with many item fileds how to insert at once all?

    RSS Form have single channel with many items.How to get them all form form so that can be added to a file.
    For now what i have done is a form having (RSS) input types as channel(title,link,desc) with many items together(title,link,desc)
    here i submitted the form to a servlet.to add to a file created a filehandler as well. but now problem is how to add many items to file together. Onechannel with many items sholud get uploaded to filehandler which will create a RSS file structure.On the basis of input.
    at the time of addition in a channel item can be 1-5 with all fileds (title,link desc) now how sholud i iterate them all.
    please if someone can suggest me anything please let me know.
    vijendra

    Hi,
    Did you try it? when you execute insert/update, corresponding trigger gets executed in same session and that's why I have V('Variable Name') . V('Variable Name') get will get replaced by its value in the current session sate.
    Thanks,
    --Manish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Setting TileList height to Change Based on How Many Items Are Within It

    In my app I have a tilelist populated by an array collection and I need it's height to change based on how many items are within it i.e. as new items are added to the array collection which populates it the tilelist will grow in height so that a scrollbar isn't necessary. Is there some sort of formula I can apply to the tilelist height property so that it expands in height as more items are added to it similar to the way a vbox would?

    Hi,
    OK - you don't actually need to know how many items there are as javascript can create a collection for you and you can loop through that. In your example, each item will have a NAME attribute of "f02" - using document.getElementsByName("f02") will create a collection of all items that have this name and using a "for" loop, will allow you to examine every one.
    One thing to note is that any INPUT item that is disabled or made read-only will not be included in the data when the page is submitted (this is a browser thing not an Apex one), so these items need to be re-enabled immediately prior to the submit action.
    For an example of all of this, see my first post in: Re: A better method of handling tabular forms with variable column type?
    Andy

  • Error while adding a item

    Hi All
    When I am adding a item in master data then error occurred "variation for price list and price list for items" and finally i could'nt add item. So please solve it if you have any solution regarding it.
    Thanks with regards
    Bibha
    Edited by: Bibha Singh123 on Mar 25, 2011 12:43 PM

    Hi Bibha,
    check Message 3506-9 Price List Error - Please Help thread.
    Thanks,
    Neetu

  • How to create new subsite while adding new item to the list by using javascript?

    hi,
    I hav a task ie, when I add item to the list then subsite will create with that list item title and description . So By using javascript, I have to create subsite while adding new item to the list.
    Help me to solve this.
    Thank you, 

    Is your item getting added through Javascript client object model ? If yes, you can write in the success delegate of your list creation method the logic to create the subsite.
    function CreateListItem()
    var clientContext = new SP.ClientContext.get_current();
    var oList = clientContext.get_web().get_lists().getByTitle('List Name');
    var itemCreateInfo = new SP.ListItemCreationInformation();
    this.oListItem = oList.addItem(itemCreateInfo);
    oListItem.set_item('Title', 'My New Item!');
    oListItem.set_item('Body', 'Hello World!');
    oListItem.update();
    clientContext.load(oListItem);
    clientContext.executeQueryAsync(Function.createDelegate(this, this.CreateListItemOnSuccess), Function.createDelegate(this, this.onQueryFailed));
    function CreateListItemOnSuccess() {
    var subsiteTitle = oListItem.get_item('Title');
    //Logic to create a subsite
    function onQueryFailed(sender, args) {
    I have added a sample flow for the above scenario. Have a look at the following lnk for how you can craete a subsite using ecmascript.
    http://ravisoftltd.wordpress.com/2013/03/06/sharepoint-2010-create-site-with-ecma-script-with/
    Geetanjali Arora | My blogs |

  • I previoulsy have adding many CD to my iTunes music library and then synched them with my iPhone so that I have all music in both places. And I could the CDs in iTunes or iPhone with no problems. Recently, my iTunes "sees" the music but won't play it. Why

    I have added many CD to my iTunes music library and then synched them with my iPhone so that I have all music in both places. Then I could the play them in iTunes or iPhone with no problems. Recently, my iTunes "sees" the music library but won't play any of it becuase "the original could not be found". If I attach my iPhone, then it pays them through the iPhone, but still not through the library in iTunes. How can I get the music library on my iPhone to transfer (i.e. restore it) to iTunes? I have iPhone 4S but have not upgraded to the iOS 6, and have not had any problems until last week.  Help!  Thanks.

    Check the manual for whatever backup program you used, or, if you just copied the files over, copy them that.
    How to restore data to your PC is outside the scope of these forums.

  • Using Bapi_salesorder_change adding a item, deleting a  item,Quanty change

    I need help on Bapi_salesorder_change.
    I have a table control in which there will be data of a particular sales document no, items, quantity, sales unit. When user changes the quantity, or adds a line item or deletes a line item and the press the save button bapi_salesorder_change should trigger and should change the order as the user changes.
    Can u help how to write code for this three conditions
    1> adding line item.
    2> deleting a line item.
    3> changing the quantity.
    using bapi_salesorder_change
    Can i use the same bapi for three conditions?
    Please help me in this as soon as possible.
    I thank them in advance

    Hello Geeks,
              i am using this bapi  for updating my item quantity no....
              but the bapi return msg say tat its not changing....
              i think i may did some mistake pls anyone can rectify it....
              i hv attached my code below......
    *For line item
    TYPES :BEGIN OF y_t_vbap,
            vbeln TYPE vbeln_va,  "sales Document
            posnr TYPE posnr_va,  "Item no of SD document
            matnr TYPE matnr,     "Material No
            zmeng TYPE dzmeng ,   "Target qty in Sales unit
            spart TYPE spart,     "division
            message TYPE BAPI_MSG,
           kwmeng type kwmeng,   "cummulative order qty
           END OF y_t_vbap.
    TYPES : y_t_itemin TYPE bapisditm,
            y_t_return TYPE bapiret2,
            y_t_headerx TYPE bapisdh1x.
    TYPES: BEGIN OF y_t_logdata,
           lno             TYPE         lineno,         "Lineno
           field           TYPE         fieldname,      "Field Name
           value           TYPE         lmon_fvalue,    "Field Value
           message         TYPE         bapi_msg,       "Messages
           END OF y_t_logdata.
                     Internal table declaration
    DATA: "y_i_vbak      TYPE   STANDARD TABLE OF y_t_vbak,
          y_i_vbap      TYPE   STANDARD TABLE OF y_t_vbap,
          y_i_headerx   TYPE   STANDARD TABLE OF bapisdh1x,
          y_i_itemin    TYPE   STANDARD TABLE OF bapisditm ,
          y_i_iteminx   TYPE   STANDARD TABLE OF bapisditmx,
          y_i_return    TYPE   STANDARD TABLE OF y_t_return,
          y_i_logdata   TYPE   STANDARD TABLE OF y_t_logdata,
          y_i_bapiret   TYPE   STANDARD TABLE OF bapiret2.
                     Table type declaration
    TYPES: y_tt_vbap    TYPE   STANDARD TABLE OF y_t_vbap ,
           y_tt_logdata TYPE   STANDARD TABLE OF y_t_logdata.
                     Work Area declaration.
    DATA:   y_wa_vbap     TYPE   y_t_vbap,
          y_wa_itemin   TYPE   bapisditm ,
          y_wa_iteminx  TYPE   bapisditmx,
          y_wa_headerx  TYPE   bapisdh1x,
          y_wa_return   TYPE   y_t_return,
          y_wa_logdata  TYPE   y_t_logdata,
          y_wa_event    TYPE   slis_alv_event,
          y_wa_event1   TYPE   slis_t_event,
          y_wa_bapiret  TYPE   bapiret2.
                     Variables declaration.
    DATA: y_i_event     TYPE   slis_t_event,
          y_v_success   TYPE   i           , "For Success
          y_v_error     TYPE   i           , "For Error
          y_v_sno       TYPE   char30      ,
          y_v_eno       TYPE   char30      ,
          y_v_msg       TYPE   char100     . "error msg
                     Constants declaration.
    constants : y_k_x type char1 value 'X',
                    y_k_u type char1 value 'U',
                   y_k_e type char1 value 'E'.
                  SELECTION SCREEN LAYOUT
    SELECTION-SCREEN:BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    SELECTION-SCREEN: BEGIN OF LINE.
    SELECTION-SCREEN: COMMENT 3(18) text-003.
    PARAMETERS   :    y_p_vbln TYPE vbak-vbeln OBLIGATORY.
    SELECTION-SCREEN: END OF LINE.
    SELECTION-SCREEN : END OF BLOCK b1.
                      START-OF-SELECTION.
    START-OF-SELECTION.
    WRITE: text-002.
                      END-OF-SELECTION.
    END-OF-SELECTION.
      SELECT  vbeln
              posnr
              matnr
              zmeng
              spart
              FROM vbap
                   INTO TABLE    y_i_vbap
                   WHERE vbeln = y_p_vbln.
      LOOP AT y_i_vbap INTO y_wa_vbap.
        y_wa_vbap-zmeng = 2 + y_wa_vbap-zmeng.
        MODIFY y_i_vbap FROM y_wa_vbap INDEX sy-tabix.
      ENDLOOP.
      PERFORM y_f_update USING y_i_vbap.
    *&      Form  y_f_update
           POPULATE BAPI DATA AND RUN BAPI
    FORM y_f_update USING  y_p_vbap TYPE y_tt_vbap.
      CLEAR: y_i_headerx, y_i_itemin, y_i_iteminx,
             y_i_return, y_i_bapiret.
      REFRESH: y_i_itemin, y_i_iteminx, y_i_return, y_i_bapiret.
      LOOP AT y_i_vbap INTO y_wa_vbap.
        MOVE y_wa_vbap-zmeng TO y_wa_itemin-target_qty.
        MOVE y_wa_vbap-posnr TO y_wa_itemin-itm_number.
        APPEND y_wa_itemin TO y_i_itemin.
      ENDLOOP.
    *Update the Bapi Itnernal tables
      y_wa_headerx-updateflag = y_k_u .
      APPEND y_wa_headerx TO y_i_headerx.
      LOOP AT y_i_vbap INTO y_wa_vbap.
        y_wa_iteminx-itm_number = y_wa_vbap-posnr.
        y_wa_iteminx-target_qty = y_k_x .
        y_wa_iteminx-updateflag = y_k_u .
        APPEND y_wa_iteminx TO y_i_iteminx .
      ENDLOOP .
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument    = y_wa_vbap-vbeln
          order_header_inx = y_wa_headerx
        TABLES
          return           = y_i_return
          order_item_in    = y_i_itemin
          order_item_inx   = y_i_iteminx.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      CLEAR y_i_vbap.
    IF y_i_return is not initial.
      LOOP AT y_i_return INTO y_wa_return where TYPE = y_k_e .
        MOVE y_wa_return-message TO y_wa_vbap-message .
        Append  y_wa_vbap to y_i_vbap.
        y_v_success = y_v_success + 1.
      ENDLOOP.
    ENDIF.
      y_wa_event-name = 'TOP_OF_PAGE'.
      y_wa_event-form = 'Y_FD_TOP_OF_LIST'.
      APPEND y_wa_event TO y_i_event.
      CLEAR y_wa_event.
      CALL FUNCTION 'ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program         = sy-repid
          i_tabtypename1             = 'Y_T_VBAP'
          it_events1                 = y_i_event[]
        TABLES
          t_outtab1                  = y_i_vbap[]
        EXCEPTIONS
          program_error              = 1
          maximum_of_appends_reached = 2
          OTHERS                     = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " y_f_vbap
    *&      Form  Y_FD_TOP_OF_LIST
    FORM y_fd_top_of_list.
      MOVE: y_v_success TO y_v_sno,
            y_v_error   TO y_v_eno.
      CONCATENATE text-002 y_v_sno '/' y_v_eno INTO y_v_msg SEPARATED BY
      space.
      CONDENSE y_v_msg.
      WRITE / y_v_msg .
      SKIP 1.
    ENDFORM.                    "Y_FD_TOP_OF_LIST

  • Adding line item prior to ACC_DOCUMENT03 Posting

    Due to our legacy currency alignment on some systems being incongruent with our SAP ECC 6.0 environment, some upstream inbound IDocs will post with 2 decimals for HUF when 6.0 environment has 0 decimals for HUF.  The inbound documents are coming in as ACC_DOCUMENT03 IDocs.
    There will be rounding involved.  iN certain cases, the rounding will mean that the line items are no longer in balance.
    Rather than alter the value of the inbound line items, preference is to add line item prior to posting that contains the balance difference and posts to the "rounding difference" account.
    Has anyone expereinced this situation before? How was it resolved?
    Considered adding line item via "BAPI_ACC_DOCUMENT_POST" or, if possible, within "'BAPI_INCOMING_INVOICE_CREATE'".
    Has anyone faced this or a simlar issue before?  How was it resolved?  Was it resolved internally?

    Hello Weng,
    I also looked on SAP notes. 
    There is a note with much information about Tax Postings with accounting BAPIs and it's a consulting note.  The note number is 626235.
    Regards,
    Rae Ellen Woytowiez
    Edited by: Rae Ellen Woytowiez on Dec 21, 2010 10:11 PM

  • I used to have eight genius mixes and now I have four...I changed the genres around and nothing happened...I've added many more songs since it changed from 8 to 4 mixes...how can I get more again and why did it go from 8 to 4?

    I used to have eight genius mixes and now I have four...I changed the genres around and nothing happened...I've added many more songs since it changed from 8 to 4 mixes...how can I get more again and why did it go from 8 to 4? I had the Hardcore mix and a rap mix and classic rock and grunge mixes...now I don't...I kinda want those back...the mixes I have now make no sense as most the songs on each do not correlate AT ALL to the genre mix they have been placed in. If someone could give me an answer that'd be great.

    1. Don't confuse "Apple ID" with iTunes Account ID.  You can have many Apple IDs but only one iTunes account active at a time.
    2. If you "changed" your iTunes account ID, you actually have 2 accounts - one under the old name plus the new name.
    3. You can't merge the accounts - they remain separate.  Apps purcahsed under the old account name will update ONLY WHEN THE PHONE IS SIGNED IN TO THE OLD ACCOUNT NAME  and visa versa.
    4. Likewise, you can sync only the apps, music, media purchased under the account the phone AND iTunes are signed in to.

  • C#: when adding listview items the screen flashes and only single listview column loads?

    When adding listview items, the listview1 items flash and only the first listview column loads (there are 5 columns in all)?
    Background...
    I was having cross-threading issues on 3 form components which I was able to resolve (see
    code here). Now I think the soluiton which involves creating a delegate and performing an "InvokeRequired" check (see
    what I used), I'm having an issue passing 5 values for each column. Below is the code involved calling this invoking check for each and their methods.
    Before having the cross-thread issue the "listview1.Items.Add(values.text) add the comma separated string values to the appropriate columns, but that doesn't happen through the cross-thread fix required.
    The "Loading()" method is handled through and async/await method causing the initial cross-thread issue.
    private void Loading()
    int t = 1;
    foreach (string line in scripts)
    string[] listValues = line.Split(',');
    ListViewItem values = new ListViewItem(listValues);
    if (t == 1)
    AddColumn("Script Name", 200); // Creates column headings
    AddColumn("Date and Time", 150);
    AddColumn("SID", 75);
    AddColumn("Environment", 75);
    AddColumn("Client", 75);
    t++;
    else
    if ((values.Text != "") && (values.Text != "Script Name"))
    //listView1.Items.Add(values);
    AddItem(values.Text);
    if (!dictScript.Contains(values.Text))
    dictScript.Add(values.Text);
    //cbxScriptList.Items.Add(values.Text);
    AddScript(values.Text);
    private void AddItem(object o)
    if (this.listView1.InvokeRequired)
    AddItemCallback d = new AddItemCallback(AddItem);
    this.Invoke(d, new object[] { o });
    else
    { // code that adds item to listView (in this case $o)
    listView1.Items.Add(o.ToString());
    private void AddScript(object o)
    if (this.listView1.InvokeRequired)
    AddCBXCallback d = new AddCBXCallback(AddScript);
    this.Invoke(d, new object[] { o });
    else
    { // code that adds item to listView (in this case $o)
    cbxScriptList.Items.Add(o.ToString());
    private void AddColumn(object o1, object o2)
    if (this.listView1.InvokeRequired)
    AddColCallback d = new AddColCallback(AddColumn);
    this.Invoke(d, new object[] { o1, o2 });
    else
    { // code that adds item to listView (in this case $o)
    listView1.Columns.Add(o1.ToString(), (int)o2); // Creates column headings
    SV

    Ok, I still have the flickering issue, I could use some guidance on that. And I should note that before I had the code-threading issue, I never had any flickering, it all appeared simultaneously.
    However, I was able to populate all columns (5 in all).  I had two corrections to make.
    1) My method should not have been passing the parameter as text but as the object ListViewItem:
    // Not This...
    AddItem(values.text)
    // This is Correct...
    AddItem(values)
    2) Then I needed to cast my object as a ListViewItem in my method call:
    private void AddItem(object o)
    if (this.listView.InvokeRequired)
    AddItemCallback d = new AddItemCallback(AddItem);
    this.Invoke(d, new object[] { (ListViewItem)o });
    else { // code that adds item to listView (in this case $o)
    listView1.Items.Add((ListViewItem)o);
    SV

  • Zen Vision:M adding unhighlighted items to Now Play

    My brand new Vision:M has just begun adding the item below what I have highlighted to the "Now Playing" list instead of what I wanted. I updated the firmware to . immediately after receiving the player.
    Anyone else have this problem. After I click on "add to selected", the highlight bar drops down to the next item and that's the item that's added. Very undesireable and confusing. No real help from Creative email support.

    Sidenote everyone: My post may have been somewhat misleading. The computer recognizes the Zen, as in, if I go under "My Computer" and whatnot it shows it as being there, what's not recognizing it is Creative MediaSource. The computer knows its there and a window asking what I want to do pops up every time I plug the Zen in, but when I run MediaSource, which is the specific version for this type of operating system, it won't recognize it and hence I can't transfer files. Sorry for the confusion.

  • Separtae  PO for the third party vendor while adding the item in the sales

    Hi
      There is any possible to create to separate PO for the added new item (third party vendor)in the existing sale order .
    Thanks
    Ramesh

    I don't think it will update the Billing Date. However, In VF while creating Invoice, we can mention the required Date.
    Regards,
    Rajesh Banka

Maybe you are looking for

  • Sales order schedule dates

    Hai,      I have created a sales order, whenever we created a SO it displays possible delivery dates, we enter that possible delivery date in delivery creation, I want to know where those schedule dates are getting stored when we save a sales order.

  • Installed CS6 Design and Web - programs will not load

    After installing CS6 successfully (so it says), I can't get any of the programs to load. Illustrator, InDesign, and some of the others I am seeing an "application failed to initialize properly (0xc000001d)" which is reminiscent of the errors people w

  • SELECT statement not returning NULL records

    I have the following SELECT statement: SELECT * FROM RPT_DS1_CNT_CAT WHERE DUPS_SAME <> 'N/A'; I also tried: SELECT * FROM RPT_DS1_CNT_CAT WHERE DUPS_SAME != 'N/A'; Same results - There ARE Null DUPS_SAME values which are not being selected. I get NO

  • How to do a new connection

    Hi i want to do a new connection in a function or a stored procedure like a connect scott/tiger@host under sql/+ it could be written in pl/sql java or dbms example: i am connected with scott/tger with sql+. i call my procedure/function and if i am do

  • Print reports directly in a local printer

    Hello buddies, Well, i wanna know if exists some way to print a reports directly in a local printer when using forms 9i ... the procedure built-in "PRINT", open a dialog box to choose the printer to send the printscreen... maybe exists a way to make