k this is a problem... i have an assigment due next week for my flash class... and i have a code that i need to use, but it doesnt actually work with the combined file... i any o u guys kno flash and can help me out... thats b good here is codetitle_txt.text = "imgn..."; my_xml = new XML(); my_xml.ignoreWhite = true; my_xml.load("imgDB.xml" ;my_xml.onLoad = function(status) { if (status) { imgn_xml = this.firstChild.childNodes; createEmptyMovieClip("mc", 1); loadMovie(imgn_xml[ .attributes.imgl, "mc" ;mc._x = 130; mc._y = 20; title_txt.text = imgn_xml[ .attributes.title;delete my_xml; } }; nextbtn.onRelease = function() { if (img < imgn_xml.length - 1) { img++; loadMovie(imgn_xml[img].attributes.imgl, "mc" ;title_txt.text = imgn_xml[img].attributes.title; } }; prevbtn.onRelease = function() { if (img > 0) { img--; loadMovie(imgn_xml[img].attributes.imgl, "mc" ;title_txt.text = imgn_xml[img].attributes.title; } }; |