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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:34:28+00:00 2026-05-19T03:34:28+00:00

I have a five section accordion list, as seen at http://www.battletech-live.net , which draws

  • 0

I have a five section accordion list, as seen at http://www.battletech-live.net, which draws it’s list contents from xml files. The accordion also has the ability to adjust it’s width. Upon initial load, the first section of the accordion is exposed and a list within it is populated. SelectedIndex is technically null because it hasn’t bee selected or changed and the lists inside the other accordion sections technically don’t exist because it doesn’t instantiate them until they’re needed for the first time. As I move from section to section, my code looks at selected index and loads an xml file to populate the elements found in that list, but they do not appear when a new list is first exposed. I have to switch to something else and back again. How do I set it up so that lists are correctly populated the first time they need to be viewed? I tried changing all of the accordion canvases to AS instead of MXML, but while the structure would appear correctly, I couldn’t get any of the lists to populate. I’m installing the debug flash player now so that I can better see what’s going on.

A full code sample can be seen here: http://www.battletech-live.net/codeSample.txt

  • 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-19T03:34:28+00:00Added an answer on May 19, 2026 at 3:34 am

    After reading your comment, I suppose setting the creationPolicy property of the Accordion to “all” would fix your problem. That means the Flex framework will create all your accordion children when your view is created

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

Sidebar

Related Questions

I have five lists List<String> . I want to get a single array which
I am creating an online application with five sections. Each section will have its
I have a UITableView that has five sections. Just as the title describes cellForRowAtIndexPath
I have five buttons on one form that when clicked enables a bool each
I have five divs on my page (#art #fashion, #self, #nightlife, #community). right now,
I have five tables in my database. Members, items, comments, votes and countries. I
I have Five check boxes Search All Template 1 Template 2 Template 3 Template
I have five activities/screens that I would like to be able to swipe between,
I have five tables that are fairly similar in structure but different enough that
Lets say I have five tables named table1, table2 ... table5. I have already

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.