walked into a website that’s four years old and has yet to go public. I know that this is a photos page…but that’s it. If someone would be so kind, could you tell me where it’s pulling the photos from?
function loadExplore(sID)
{
var _loc2 = new LoadVars();
_loc2.id = sID;
_loc2.type = "species";
trace (rootPath + "html/xml/xmloutput.php " + this + " " + _loc2.type);
_loc2.sendAndLoad(rootPath + "html/xml/xmloutput.php", this.doc3, "GET");
} // End of the function
function getTheExplore()
{
trace ("attaching explore: " + this.theRoot);
var _loc2 = new Object();
_loc2.speciesArray = this.speciesArray;
_loc2.arrayID = 0;
this.attachMovie("explore_screen", "explore_screen", this.getNextHighestDepth(), _loc2);
this.dispType = "e";
var _loc3 = new com.mosesSupposes.fuse.Fuse();
_loc3.__set__target(this);
_loc3.push({alpha: 0, ease: theTween, seconds: 1, delay: iD + 0});
} // End of the function
function callPHP(searchString)
{
if (thumbMan != undefined)
{
delete thumbMan;
delete myIS;
} // end if
thumbMan = new ThumbManager();
myIS = new ImageStructure(this, imagePath, 80, 60, true, 20, 155, 0, 5, 5, 4);
var _loc2 = new LoadVars();
if (searchString != undefined)
{
_loc2.type = "photos";
_loc2.instanceid = searchString;
}
else
{
_loc2.type = "species";
} // end else if
_loc2.sendAndLoad(rootPath + "html/xml/xmloutput.php", theRoot.doc, "GET");
} // End of the function
function myClick(instanceID)
{
if (theRoot.dispType != "m" && theRoot.dispType != "e")
{
theRoot.dispType = "m";
callPHP(instanceID);
theRoot.imageHolder.removeMovieClip();
removeMovieClip (theRoot.theBClip);
} // end if
} // End of the function
function stockClick()
{
trace (theRoot.dispType);
if (theRoot.dispType != "s" && theRoot.dispType != "e")
{
theRoot.dispType = "s";
callPHP();
theRoot.imageHolder.removeMovieClip();
} // end if
} // End of the function
function addMouseCheck(newMC, coverMC)
{
Mouse.addListener(myObj);
newMC.over_mc = false;
var _loc1 = new Object();
_loc1.rollMC = newMC;
_loc1.coverMC = coverMC;
mcCheckArr.push(_loc1);
} // End of the function
function checkMouse()
{
for (var _loc3 = 0; _loc3 < this.theRoot.mcCheckArr.length; ++_loc3)
{
if (this.theRoot.mcCheckArr[_loc3].rollMC.hitTest(_root._xmouse, _root._ymouse, true) && this.theRoot.mcCheckArr[_loc3].coverMC.hitTest(_root._xmouse, _root._ymouse, false))
{
if (!mcCheckArr[_loc3].rollMC.over_mc)
{
mcCheckArr[_loc3].rollMC.fauxRollOver();
mcCheckArr[_loc3].rollMC.over_mc = true;
} // end if
continue;
} // end if
if (mcCheckArr[_loc3].rollMC.over_mc)
{
mcCheckArr[_loc3].rollMC.fauxRollOut();
mcCheckArr[_loc3].rollMC.over_mc = false;
} // end if
} // end of for
} // End of the function
function tabRollOver()
{
this.tween("_y", this.myY - 4, 2.500000E-01, "easeOutSine");
} // End of the function
function tabRollOut()
{
this.tween("_y", this.myY, 2.500000E-01, "easeOutSine");
} // End of the function
function tab_behavior(mc)
{
mc.myY = mc._y;
mc.onRollOver = tabRollOver;
mc.onRollOut = mc.onReleaseOutside = tabRollOut;
} // End of the function
function raiseTabs(raiseMCs)
{
var _loc3 = this[raiseMCs];
for (var _loc2 = 0; _loc2 < tabsArray.length; ++_loc2)
{
tabsArray[_loc2].tween("_y", tabsArray[_loc2].myY, 5.000000E-01, "easeOutSine", 0);
} // end of for
_loc3.tween("_y", _loc3.myY - 38, 5.000000E-01, "easeOutSine", 1);
} // End of the function
ZigoEngine.register(Fuse, FuseFMP);
com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing);
nav.userXML.ignoreWhite = true;
var instanceID;
if (nav.myUser != undefined)
{
instanceID = nav.userXML.childNodes[0].childNodes[0].childNodes[0].attributes.id;
}
else
{
titleTabs_mc.my_photos.enabled = false;
titleTabs_mc.my_photos._visible = false;
} // end else if
myNav = nav;
var speciesID = nav.speciesID;
nav.speciesID = undefined;
speciesArray = new Array();
doc3 = new SpeciesXML(this);
doc3.ignoreWhite = true;
var rootPath;
var imagePath;
var config = new XML();
config.ignoreWhite = true;
config.parent = this;
config.onLoad = function (success)
{
if (success)
{
this.parent.rootPath = this.childNodes[0].attributes.rootPath;
this.parent.imagePath = this.parent.rootPath + "images/";
if (this.parent.speciesID != undefined)
{
this.parent.loadExplore(this.parent.speciesID);
}
else if (this.parent.instanceID != undefined)
{
this.parent.myClick(this.parent.instanceID);
}
else
{
this.parent.stockClick();
} // end else if
} // end else if
};
config.load("config.xml");
displayDepth;
theRoot = this;
superClip;
theRoot.dispType;
doc = new XML();
doc.ignoreWhite = true;
myArray = new Array();
doc.parent = this;
doc.onLoad = function (success)
{
if (success)
{
myArray = new Array();
for (j = 0; j < 5; j++)
{
var _loc1 = doc.childNodes[0];
for (i = 0; i < _loc1.childNodes.length; i++)
{
tempObj = new Object();
tempObj.mySrc = _loc1.childNodes*.childNodes[0].childNodes[0].childNodes[0].nodeValue;
tempObj.myID = _loc1.childNodes*.attributes.id;
tempObj.myWidth = _loc1.childNodes*.childNodes[0].childNodes[0].attributes.width;
tempObj.myHeight = _loc1.childNodes*.childNodes[0].childNodes[0].attributes.height;
myArray.push(tempObj);
} // end of for
} // end of for
myIS.loadImages(myArray);
} // end if
};
myObj = new Object();
myRollIn = setInterval(this, "checkMouse", 10);
myObj.theRoot = this;
mcCheckArr = new Array();
tab_behavior(titleTabs_mc.my_photos);
tab_behavior(titleTabs_mc.stock_photos);
tab_behavior(exploreTabs_mc.back_mc);
tab_behavior(exploreTabs_mc.create_mc);
tab_behavior(createTabs_mc.save_image);
tab_behavior(createTabs_mc.back_photos);
exploreTabs_mc.myY = exploreTabs_mc._y;
titleTabs_mc.myY = titleTabs_mc._y;
createTabs_mc.myY = createTabs_mc._y;
titleTabs_mc.my_photos.onRelease = function ()
{
myClick(this._parent._parent.instanceID);
};
titleTabs_mc.stock_photos.onRelease = stockClick;
exploreTabs_mc.create_mc.onRelease = function ()
{
};
exploreTabs_mc.back_mc.onRelease = function ()
{
this._parent._parent.explore_screen.backToPhotos();
};
createTabs_mc.back_photos.onRelease = function ()
{
this._parent._parent.create_screen.backToPhotos();
};
createTabs_mc.save_image.onRelease = function ()
{
this._parent._parent.create_screen.saveThePic();
};
fadeNewText(type);
tabsArray = new Array();
tabsArray.push(titleTabs_mc);
tabsArray.push(exploreTabs_mc);
tabsArray.push(createTabs_mc);
raiseTabs("titleTabs_mc");
Thanks,
–thesprucegoose