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);
Tag Archives: programming
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); }
Using the Shared Library
A shared library allows multiple movies to use the same assets, which means that the user will only have to download them once no matter how many movies they are used in. This is useful with large bitmaps, sounds, fonts and components which can be very large, especially when used in multiple movies.