[ zoranidragan @ 02.08.2007. 13:02 ] @
Napravio sam swf fajl koji ucitava podatke iz xml. Podaci u xml se menjaju i u firefox radi sve kako treba. Medjutim u IE swf nece da refres-uje kada se promene podaci u xml. Da li neko zna kako da resim ovo. Evo kako izgleda as u flash-u. myXML = new XML(); myXML.ignoreWhite = true; myXML.load("basic.xml") myXML.ref = this; myXML.onLoad = function() { var root = this.firstChild; nodes = root.childNodes; this.ref["Title_txt"].text = nodes[0].attributes.name; subnodes = nodes[0].childNodes; this.ref["Comments_txt"].text = subnodes[0].firstChild.toString(); this.ref["holder_mc"].loadMovie(subnodes[1].firstChild.toString()); }; |