Hi everyone - I’m dealing with a problem right now that has me stumped. A client asked me to design a site with an xml based Flash template. I tested the file on my computer and everything looked fine, but when I uploaded it to the testing server there were extra line breaks between each bit of xml text. Why do you think our server be rendering things differently?
I came across this a while back. don’t know what the particular issue was but i was told to add this piece of code to any xml nodes in flash that where display the issue.
.split("\r
“).join(”
")
Example
var passedfromXML = XMLRoot.childNodes.firstChild.nodeValue.split("\\r\
").join("\
")
Hope it helps