onClipEvent (load)
{
//this.loadVariables(_global.VARGAL1+”tips.php”);
this.loadVariables(“all_pdf.php”);
}
onClipEvent (data)
{
xcount = 0;
yxount = 0;
trace(total);
for (var i = 1; i <= total; i++)
{
media0.duplicateMovieClip(“media” + i, i);
eval(“media” + i).pdfpath = eval(“pdfpath” + i);
eval(“media” + i).pdftitle = eval(“pdftitle” + i);
eval(“media” + i)._x = media0._x + xcount * 22;
eval(“media” + i)._y = media0._y + yxount * 22;
xcount++;
if (xcount > 0)
{
xcount = 0;
yxount++;
}
}break;
_parent.media._visible = true;
}