I'm trying to update a clients site and the original developer left almost no instructions. The code is all updated through XML.
Here is a sample of the code
enter code here<FOLDER NAME="COMMERCIAL">
<GALLERY NAME="LOCANDA VERDE: New York">
<IMG HEIGHT="500" CAPTION="Some photo" WIDTH="393" SRC="locanda1.jpg" DX="60" DY="40" LINKTEXT="" LINKURL="" INFOTEXT="SOHO, NEW YORK"/>
<IMG HEIGHT="300" CAPTION="Some photo" WIDTH="450" SRC="locanda2.jpg" DX="160" DY="80" LINKTEXT="" LINKURL="" INFOTEXT="SOHO, NEW YORK"/>
<IMG HEIGHT="500" CAPTION="Some photo" WIDTH="393" SRC="locanda3.jpg" DX="80" DY="260" LINKTEXT="" LINKURL="" INFOTEXT="SOHO, NEW YORK"/>
<IMG HEIGHT="500" CAPTION="Some photo" WIDTH="393" SRC="locanda4.jpg" DX="120" DY="60" LINKTEXT="" LINKURL="" INFOTEXT="SOHO, NEW YORK"/>
<IMG HEIGHT="393" CAPTION="Some photo" WIDTH="500" SRC="locanda5.jpg" DX="180" DY="100" LINKTEXT="" LINKURL="" INFOTEXT="SOHO, NEW YORK"/>
<IMG HEIGHT="500" CAPTION="Some photo" WIDTH="433" SRC="locanda6.jpg" DX="60" DY="140" LINKTEXT="" LINKURL="" INFOTEXT="SOHO, NEW YORK"/>
<IMG HEIGHT="500" CAPTION="Some photo" WIDTH="393" SRC="locanda7.jpg" DX="100" DY="200" LINKTEXT="" LINKURL="" INFOTEXT="SOHO, NEW YORK"/>
</GALLERY>`enter code here
It relates to this page: http://meyerdavis.com/ Click Commercial Click Laconda Verde New York.
The xml file pulls a jpg from 2 places, one is a thumb nail that are all 60 x 60 and then one is the bigger sized image. The issue that I'm having is that I can't figure out how the DX and DY coordinates are generated for each item. Any help would be much appreciated.
`
Edit: Here's the code from the comment below.
platformblock.expandspeed = 0.02;
platformblock.h = 450 - platformblock.dy1;
//platformblock.h = 402;
platformblock.dy2 = 0;
platformblock.onResize();
/**/
platformblock.onEnterFrame = function() {
this.dy1 += (48 - this.dy1)*this.expandspeed;
this.h = 450 - this.dy1;
if(this.expandspeed<0.3) {
this.expandspeed += 0.02;
}
if(Math.abs(this.dy1-48)<0.2) {
this.dy1 = 48;
}
if(this.platform._height==402 && this.dy1==48){
this.h = null;
this.onResize();
this.onEnterFrame = null;
}
}
platformblock._resizeto(800, 402, _root.play, _root, 0.08);
titleblockcontainer.play();
/**/
stop();