Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7020093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:16:25+00:00 2026-05-27T23:16:25+00:00

I have 2 spark lists with items, drag&drop enabled (mxml application, flash builder 4).

  • 0

I have 2 spark lists with items, drag&drop enabled (mxml application, flash builder 4). Everything works fine, I can drag and drop items from the one list to the other. I’ve been searching a lot but I can’t find it (probably because I’m using the wrong keywords).

Let’s say that I want to ‘handle’ when an Item changes from list. So

LIST 1          LIST 2
item1           item 2
                item 3

It works fine when I drag Item 3 to List 1, but how can I handle this event? I want to ‘save’ the changes. I think about looping the whole list when there’s a ‘change’, but I’m not sure if that’s the right way.

Can someone give me more advice or help me out?

Thanks a lot!
(And sorry if this question has already been asked)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:16:25+00:00Added an answer on May 27, 2026 at 11:16 pm

    You can handle by listening the event CollectionEvent.COLLECTION_CHANGE:

    myList.dataProvider.addEventListener(CollectionEvent.COLLECTION_CHANGE, onCollectionChangeHandle);
    

    That will fire an event.kind == CollectionEventKind.* (see here) each time you make some change, so you can save the changes as you want.

    Also there is the option by listening DragEvent.DRAG_COMPLETE event:

    myList.addEventListener(DragEvent.DRAG_COMPLETE, onDragCompleteHandle)
    

    Which event.dragSource has the data being dragged.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two Spark Lists with custom Item Renderers. I'm working on an application
I have a MXML application with a DataGroup as follows: <s:DataGroup id=productSelector dataProvider={products} itemRenderer=renderers.ProductLineupRenderer
Hi, i have been having some problems using JSON data in flash builder lately
I have a client that I build a business card builder application for in
I am using Adobe Flash Builder 4 Premium. I have a mx:DataGrid and a
I have an issue with Spark Lists whereby I am trying to ensure that
Here's what I have so far, <?xml version=1.0 encoding=utf-8?> <s:Application xmlns:fx=http://ns.adobe.com/mxml/2009 xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx minWidth=955
I have a problem with Spark. I have compiled assembly with views, located in
I have looked at the usual suspects...Spark, NHaml, etc. They all seem to be
I have the following code in a partial view (using Spark): <span id=selectCount>0</span> video(s)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.