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 702889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:46:14+00:00 2026-05-14T03:46:14+00:00

How to enumerate items of Spark List component after setting dataProvider property? I mean

  • 0

How to enumerate items of Spark List component after setting dataProvider property?

I mean accessing them as DisplayObject instances.

  • 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-14T03:46:15+00:00Added an answer on May 14, 2026 at 3:46 am

    Iterate over list.dataGroup.numElements, calling list.dataGroup.getElementAt(i):

    var i:int = 0;
    var n:int = list.dataGroup.numElements;
    for (i; i < n; i++)
    {
        // getElementAt returns an IVisualElement, but most displayobjects
        // in a list will be IVisualElement (which a UIComponent implements)
        var displayObject:DisplayObject = list.dataGroup.getElementAt(i) as DisplayObject;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am attempting to enumerate the RecentApplication > CustomListItems property-list item's array of a
I wrote this function to filter a list to show all items after a
How can I enumerate all possible instances of System.Char ? I need to see
Is it possible to enumerate all main menu items of other programs on Windows?
Can someone tell me why this program doesn't enumerate any items? Does it have
I know that when defining a an enum you can enumerate through the list
I need to enumerate some items from 001 to 999 Maybe, if I could
How can I write a list comprehension to enumerate key: value pairs into 3-membered
I use windows shell to enumerate items in the control panel and add item
I've got a list of files in an array. I want to enumerate those

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.