Load Var to Level

dynsef._visible=false;

stop();

//_global.lang=”gr”;

_level2.done=undefined;

 

loadVariablesNum(“sef.php?lang=”+_global.lang, 2);

 

//_parent._parent.pop_prod.food_photo.url=_level2.photo1;

//_parent._parent.pop_prod.food_unbaked.url=_level2.unbaked1;

//trace(_level2.code1);

function checkParamsLoaded() {

 if (_level2.done == undefined) {

 //trace(“not yet.”);

 } else {

 trace(_level2.done);

  trace(_level2.pdfpath);

   trace(_level2.pdftitle);

 //trace(“finished loading. killing interval.”);

 clearInterval(param_interval);

 

if(_level2.pdftitle!= “”){

dynsef._visible=true; 

}

 }

}

var param_interval:Number = setInterval(checkParamsLoaded, 10);

 

Leave a comment