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” + …
Tag Archives: development
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);
Flash trace – view The current year
timedate = new Date(); todaydate = timedate.getDate(); b = timedate.getFullYear(); datee.text=b; trace(b);
flash fullscree without Scaling
in first frame on movie call action script with fscommand(“fullscreen”, true); fscommand(“allowscale”, false);
flash exit – close – quit
on (release) { fscommand(“quit”); }
Flash For…
total=10; for(var i=0; i<=total; i++){ trace(i); }