OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
Action Script with XML
This page's ID:
11009
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
You haven't yet described what you're doing with Flash, other than to say "xmlnitro" and "looping". First off, xmlnitro was really the only sane way to handle xml parsing in Flash 5, but Flash MX blows the doors off Flash 5 with regard to xml parsing. So if you're plodding thru large databases with Flash 5 and xmlnitro - upgrade to MX! And if you are using MX, eliminate the xmlnitro - the native functions are now faster. With regard to "looping" - no matter how you try to index your database into "chunks', you still need to load and parse the whole file into Flash before you can begin to loop through it. That's most likely where the slowdown is occurring. Once you have it loaded in an xml object in Flash, what do you do? Are you filling an array, or several arrays with the nodes of the xml? And then looping thru one array seeking a match with an incrementing counter? I would guess that that part wouldn't be hugely time consuming, and I would also guess that, once parsed, 10000 records should be within Flash's capacity to handle. Guess the bottom line is, more info on the Flash details would help. If we can't come up with a solution, you might also pop into the xml forum at were-here.com - there are some heavy hitters there. ------------- minutes later ... uh - I just actually reread your initial post. Heh. Sorry. So you ARE getting the file to load into Flash okay, it's just bogging down as you try to extract the node data. Okay, well there aren't any generic "fixes" I know (other than to bag xmlnitro for starters), but I can't offer optimization help without seeing what you're doing. Knowing the exact structure of the xml, and your parsing code would help. [This message has been edited by Steve (edited 07-16-2003).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »