-
Is there anything I can do to get Flash to treat whitespace normally? It is awfully annoying to write an XML document without spacing out the nodes to look nice. And when I use any sort of carriage returns or anything, I get very strange results when my XML is loaded.
Any help?
Thanks.
fe.
-
Senior Member
Well the easy answer (and the most common of mine) is to look at the FAQ:
http://www.tupps.com/flash/faq/xml.html
However I would also point you towards a rant that Vaykent, myself and a few others had a weeks or so ago:
http://board.flashkit.com/board/show...hreadid=263033
Basically, if you program it right you don't need to worry about the whitespace.
A great recent example of a well coded flash app to allow you to extend your XML without breaking your code is by zipface here:
http://board.flashkit.com/board/show...hreadid=267905
Have a look at the link to his included actionscript file and the function buildProductText in particular.
Code like this and you won't have to may problems.
Thanks
Luke
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|