Jump to content


Limits to Array size or list box size?


  • You cannot reply to this topic
2 replies to this topic

#1 flamereaper

    Young Padawan

  • Members
  • Pip
  • 65 posts
  • Gender:Male
  • Location:UK

Posted 16 February 2007 - 09:40 PM

having a bit of a problem with flash atm.

The flash itself pulls in data from an XML file and uses it to populate a listbox. This works just fine and apparently had no problems untill now.

recently added in a new XML file that has a shit load more nodes in it. just over 10000. it seems to show up to 9201 but then wont show any more. Is this a problem with a limit to the length of arrays in flash? or maybe a limit to items that can be displayed in a listbox?

any help would be greatly appreciated. thanks in advance.

Edited by flamereaper, 16 February 2007 - 09:41 PM.


#2 Ben

    P2L Jedi Master

  • Publishing Betazoids
  • PipPipPipPip
  • 1,366 posts
  • Gender:Male
  • Location:VIC, Australia

Posted 18 February 2007 - 01:39 AM

Wow... 10,000 nodes... you know you'd be better off seperating that into either seperate XML files or atleast split them up.

As for a limit on the array, I am not actually surprised. Although I don't think it limits the array on how much is inside it, but it's file size.

Edited by Ben, 18 February 2007 - 01:40 AM.


#3 Pax

    P2L Jedi

  • Members
  • PipPipPip
  • 911 posts
  • Gender:Male
  • Location:Windsor, ON, Canada

Posted 18 February 2007 - 09:22 PM

Check to make sure your xml is well formed. If it fails after node 9201, that is probably the problem. I've had that happen in some of my projects.

With that much data, you might want to look into other ways to get the info into flash.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users