I am trying to develop an App that will rotate Flash Movies without a postback. The Flash parameters are stored in a XML file and after loading the XML file I go through the nodes and build the string. I did not include the tags in the XML file (i.e. "<", ">" etc) because I thought it would be easy to just include them when I build the string in js. I AM NOT GOOD WITH JavaScript! (it would be easier to do this in .Net but I need the rotation to occur without postback) However after this script is debugged and working in IE, NN, FF etc. This will become apart of a .Net code behind file for a user control. Loading the xmlDoc works on IE, NN, FF etc. The problem is the function where I build the string:
etc.
This also worked for IE and it would work for NN if I had only one line but for some reason the concactenations are not liked well by NN, also when I use c++ more that once NN does not like it either. It also seems that NN does not like the '<' + ... either. Can some one please enlighten me as to how to get this script NN friendly?
Hi Imod.... I am not familiar with NN at all, but I am with XML. You should try using an XSLT to transform your XML document into the required HTML rather than doing these loops and string concatenation. Check out my attached example (extract the files to the same location).
Almost forgot. I have only tested this in IE, but the principle is the same. XSLT is standard (like XML).
Last edited by shunt; Aug 25th, 2005 at 09:21 AM.
Reason: Software Requirements