  | | | Flash Interface with 10mb xml file | Flash Interface with 10mb xml file 2004-03-18 - By FODOR
Back I just tried with a 8.8 Mb xml file being parsed to an array.... The array did parse allright but I had a script building a string from every element of this array (length >100,000) and that began to run slow ;-) So, after having 10 times an alert telling me the movie was running slow because of some script, I finally aborted ;-)
The question should be: who wants to access so much data in one shot? As Pranav said, the architecture should be conceived not to waste any time/ressources/and common sense... Just like you would with a database.
(18/03/04 9:26) Pranav Verma wrote:
> my guess is this will require lot-n-lot of CPU resources... simply load and > try to get value of any node. it shud take subtantial amount of time.. > infact I am dam sure u will get flash script error!(though I would love to > know what exactly happens after loading 10 Megs XML,if u can please mail me > the results) > > I would suggest... devise ur architecture in such a way that instead of 1 > big XML u have thousands of small XML's . That will be light on CPU also .. > and I am sure it will help in ur coding too. > > HTH, > Pranav > >> -- --Original Message-- -- >> From: Herdiansah [mailto:herdiansah@(protected)] >> Sent: Thursday, March 18, 2004 1:46 PM >> To: flashcoders >> Subject: [Flashcoders] Flash Interface with 10mb xml file >> >> >> Dear list, >> >> I will be working on a flash based standalone application and >> using xml as >> data storage. >> The application it's self will be delivered on cd-rom. >> My client wants a customize application, like they can >> rearrange the menu, >> changing videos and images. >> In this part I'm able to handle but the problem is when dealing with a >> database than has been exported into xml file and the xml >> file is about 10MB >> >> >> They want an application that can search a record from the xml file in >> multiple fields, doing this with server side script is easy >> but searching on >> an xml file localy with multiple fields I don't have any clue yet. >> >> My question are, Is there posibble for flash to handle an xml >> file with 10MB >> size and do search in multiple fields ? and what is the best >> solution for >> this kind of project? >> >> >> Thanks in advance >> >> Herdiansah >> Web Developer >> PT. Hotlinetama Sarana >> http://www.hotlinead.com >> >> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- >> -- ------ >> Supported by Fig Leaf Software >> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- >> -- ------ >> Be sure to check the archives and the wiki: >> http://chattyfig.figleaf.com/ >> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- >> -- ------ >> http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107265 >> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- >> -- ------ >> To unsubscribe send a blank e-mail to: >> Normal Mode: flashcoders-unsubscribe@(protected) >> Digest Mode: flashcoders-digest-unsubscrive@(protected) >> > > > > **************************************************************************** > This e-mail and any files transmitted with it are for the sole use of the > intended recipient(s) and may contain confidential and privileged > information. If you are not the intended recipient, please contact the > sender by reply e-mail and destroy all copies of the original message. Any > unauthorised review, use, disclosure, dissemination, forwarding, printing or > copying of this email or any action taken in reliance on this e-mail is > strictly prohibited and may be unlawful. > Visit us @ http://www.masconit.com > **************************************************************************** > > > > > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > Supported by Fig Leaf Software > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > Be sure to check the archives and the wiki: > http://chattyfig.figleaf.com/ > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107267 > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > To unsubscribe send a blank e-mail to: > Normal Mode: flashcoders-unsubscribe@(protected) > Digest Mode: flashcoders-digest-unsubscrive@(protected) >
-- ---- ---- ---- ---- ---- ---- ---- ---- Pascal FODOR -- ---- ---- ---- ---- ---- ---- ---- ---- fodor@(protected) // flash@(protected)
****************************************** Visit: http://fodor.liane.net
Flash AV Players can be seen at: http://fodor.liane.net/flash_AV_players/ ******************************************
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:107268 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |