So, now that I've got my XML import working nice and fast, I've come to another snag with the loading speed of the project I'm working on.
I've got about 2700~ or so records being sent in to Flex with information for each product. Now, I've created a simple custom display object that once I've got everything in to the ArrayCollection, it then goes and creates a unique display object for each record. These display objects are then output in to a canvas in a row format. This will, naturally, lead to the canvas having a scroll bar as the app is creating all the display options at start time. The problem I'm running in to is that if I allow it to run all 2700~ records, it will completely lag out and has a load time close to 2 minutes. I can go shorten the records to only display a certain number, but I can only get about 30-40 objects to be created before the lag makes the app unusable. So, my question is this: Is there any way to only create the items once they are being viewed by the user? I created Up and Down buttons and made it where it only creates/displays 9 items at a time. However, this solution isn't ideal as there's not a scrollable bar to allow users to browse all the objects. I hope this was clear enough, Thanks! Luke ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
