XML/Flash use.
- Started
- Last post
- 4 Responses
- quik
Okay, I'm just wondering whats so damn useful of XML, I've read through it and all that, its pretty easy to understand..
but why use it with flash?
I don't understand how having data in an xml format is easy in anyway?maybe to export the data from flash for another program or something.. but I don't see how the other way in is any more efficient than say PHP/Flash..
- unfittoprint0
It's always a good thing to separate design and content, regardless of what what scripting tool you use (PHP, ASP, XML...).
that same XML file can be used in a CD presentation, an HTML version of the same site, create an XML driven Flash jukebox...
I too was not very convinced of its possibilities, but now I think it's an excellent and logic way to organize your site's content.
- quik0
that is one good example I suppose, but what if the data is only needed for one source, overkill?
any other pros?
- enobrev0
it's also the best and most organized method of loading a large sum of data.
Rether than debugging what went wrong where by digging through hundreds of &'s and ='s, you have a well organized document to flip through and find what's supposed to be passed.
Also, since AS has built in xml support (which is just as tedious or moreso in any language) it's easier to import entire arrays by looping through your xml object, rather than parsing generated variable names like item1=1&item=2&item3=3
- enobrev0
but at the end of the day, it's based on unfit's point. You're using a standard method of moving data that a great deal of different systems will understand in one way or another, including the human mind.