home *** CD-ROM | disk | FTP | other *** search
- if(!doc.loaded || zz._currentframe != 1 && (!zz["d" + zz.max]._currentframe || zz["d" + zz.max]._currentframe < zz["d" + zz.max]._totalframes - 1))
- {
- gotoAndPlay(2);
- }
- else if(zz._currentframe == 1)
- {
- zz.gotoAndPlay(2);
- var images = new Array();
- section = doc.firstChild.firstChild;
- while(section != null)
- {
- if(section.nodeType == 1)
- {
- if(section.nodeName.toUpperCase() == "IMAGES")
- {
- imSection = section.firstChild;
- while(imSection != null)
- {
- if(imSection.nodeType == 1 && imSection.nodeName.toUpperCase() == "IMG")
- {
- i = images.length;
- images[i] = new Object();
- images[i].name = imSection.attributes.name;
- images[i].src = imSection.attributes.src;
- images[i].thm = imSection.attributes.thm;
- images[i].full = imSection.attributes.full;
- images[i].desc = imSection.attributes.description;
- }
- imSection = imSection.nextSibling;
- }
- }
- else if(section.nodeName.toUpperCase() == "PARAMS")
- {
- parSection = section.firstChild;
- while(parSection != null)
- {
- if(parSection.nodeType == 1)
- {
- set(parSection.nodeName,parSection.firstChild.nodeValue);
- }
- parSection = parSection.nextSibling;
- }
- }
- }
- section = section.nextSibling;
- }
- TXTCOLOR = "0x" + TXTCOLOR.substr(1);
- var bcolor = "0x" + BKGCOLOR.substr(1);
- var mycol = new Color(GroundColor);
- mycol.setRGB(bcolor);
- gotoAndPlay(2);
- }
-