Wrong y-value in div
Brought to you by:
makofp
In htmlRender_div.as a line was missing
for (var w=0;w<extracted.length;w++){
if (extracted[w].indexOf("top")!=-1){
var tempa=extracted[w].split(':');
var tempb=tempa[1].split('px'); <--- THIS LINE
this._y=Number(tempb[0]);
trace("Y: "+this._y);
}
else if (extracted[w].indexOf("left")!=-1){
var tempa=extracted[w].split(':');
var tempb=tempa[1].split('px');
this._x=Number(tempb[0]);
trace("X: "+this._x);
}
else if (extracted[w].indexOf("visibility")!=-1){
var tempa=extracted[w].split(':');
//set visibility status
if (tempa[1].toLowerCase().indexOf("hidden")!=-1){
this._visible=false;
}
}
}
It works better with this line :-)
/P