AS2: Create array from selected items in checklist

Hello,

I am looking for advice on creating an array from selected items in a checklist. I have a flash AS2 file where the users drag items based on an array; what I would like is to add a previous screen in which they select the items that will be in that array. This may be fairly basic but I am having trouble finding anything online.
alisonkaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dgofmanCommented:
You have to use Aray filter and apply result to bindable variable.
Now just point dataProvider to this variable.
0
deepanjandasCommented:
Create an Item class with a property called selected. On select set the property to true for that item.
Now be sure that all the items are added to a movieClip, or are held in another array.

Now loop through the items and using filter check for selected to be true.
and create a new array based on that.

Hope this helps.

Warm Regards
Deepanjan Das
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
alisonkaAuthor Commented:
This was difficult to follow and could have benefited from some sample code.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.