This content has been marked as final. Show 4 replies
In order to load the XML you need to have some application code loaded. So you'd be trying to load the data before the code was available to load the data. So it is not possible to preload the data.
90Mb is quite a lot download - no matter what you are using for client-side UI. 90Mb is 90Mb, no way around it. When you data set is that large it is time to look into Flex Data Services and Flex Data Management.
My Problem is that I cant use Flex Data Services or some Webservice to load the data from a database because the Application should be runnable from a CD on every machine who has FlashPlayer installed.
When Flex loads my reduced XML File (1.5 MB) it is working fine, but with a File of about 100Mb i'll get a Error Message that the max Script execution time of 30 seconds is up ... and firefox does no longer work.
The time which the application needs to load the file does not matter, I only have Flex to load this "King-Size"-XML File, Anyhow.
Is there perhaps another possibility to load an XML File an use the date in a DataGrid, except HTTPService ?
If you are running from a CD, then you could embed the XML into the SWF:
<mx:XML id="myData" source="myData.xml" />
This incorporates the XML into the SWF so there's no download or reading of the data - its just there. It does increase the size of the SWF of course, but when loading from a CD and not from the 'net, it might work for you.
Thank you very much !