If you're really going to ship the application on CD that means the XML file is static right? You could compile the XML data in to an <mx:XML source="yourfile.xml" /> and then it would be sitting there waiting for you. E4X will definitely be the most efficient way to access what you need. But having a 1-3 MB file loaded obviously does take memory. Not sure of the other processes that some folks mentioned are worth the investment, you'll want to experiment a little.
Matt -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of wayneposner Sent: Tuesday, April 04, 2006 2:30 PM To: [email protected] Subject: [flexcoders] Large XML Dataset? I've been searching and searching, but haven't been able to find the answer, so I'm posting here as a last resort. I am working on a Flex application that must read in a fairly large XML file (1.5 to 3 megs depending).....If I were to base my application off of the flexstore example, I'd just open up the XML file and try to read in everything. This works fine for 500- 1000 "records", but, unfortunately, has some pretty nasty effects when dealing with about 12000 thumbnails. When it comes to reading XML I'm not sure of e4x, object, or XML is the most efficent result set. Regardless...is there a way to open the XML file, but not read from it until a user enters a search and then only return nodes from the XML which match the search? Basically, I want to use the XML file as sort of a virtual database. The reason I have to go this route is that the application will be delivered via CD and is meant to run as a desktop application. Thanks! Wayne -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

