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
Bit long winded, but I would use the XML to populate a database then make queries on the database for subsets of data and have it return the data in XML. Or if you try and get the data directly into your actionscript with AMF format which is more compact binary format that should be faster. I have been using AMFPHP and mysql with PHP at back end. But it is a bit more work, plus you would need a way to get the XML and pupulate the database with it. Create the tables etc. If your not a PHP person, I think there are lots of other languages you can write services in to read stuff from a database. If you want to work with just XML file, XPath http://www.w3.org/TR/xpath/ helps with extracting parts of your XML file I think. Not sure about how to use it in actionscript though, but i just did google search and found this http://www.robgonda.com/blog/index.cfm/2006/2/19/Xpath-for-ActionScript--now-documented. Finally you could also convert XML to JSON, which is a bit more compact, but probably still slow because still text format, so the parsing could be slow and all the numbers have to be converted from text to binary which obviously takes time. Good luck
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »