 |
Featured jobs
Featured template
View more templates
 |
 |


Add Trailer Circle (Random) v3.0
 |
 |
Mouse.hide();
main_mc._alpha = a;
a = Math.random()*101;
n = random(222);
m = random(h++);
x = random(601);
y = random(300);
g_mc = random(19);
rot = random(4);
g_mc++;
main_mc.duplicateMovieClip("main_mc2", g_mc, i, i);
n++;
xmov = 3;
main_mc._x += xmov;
main_mc._rotation = rot
main_mc._x= x;
main_mc._y= y;
Posted by: Muhammad Junaid Attari | website
http://media.3lo.net/media/flash/add_trialer_circle.html
|
 |
 |
 |
anti-refresh valuation
 |
 |
obj_ft = SharedObject.getLocal("runfirstime");
function setFirst() {
obj_ft.data.firstime = "run";
obj_ft.flush();
}
if (obj_ft.data.firstime != "run") {
trace("that' s the firtstime we meet!");
} else {
trace("hey - i know ya");
}
setFirst();
Posted by: andi haas | website
http://www.flash.andihaas.de
|
 |
 |
 |
SysConfig Class
 |
 |
class SysConfig
{
public var os:String;
public var version:String;
public var printing:Boolean;
public var language:String;
public var audio:Boolean;
public var video:Boolean;
public var res_x:Number;
public var res_y:Number;
public var accessability:Boolean;
public var flashcomm:Boolean;
private var config:String;
public function SysConfig() {
this.os = System.capabilities.os;
this.version = System.capabilities.version;
this.printing = System.capabilities.hasPrinting;
this.language = System.capabilities.language;
this.audio = System.capabilities.hasStreamingAudio;
this.video = System.capabilities.hasStreamingVideo;
this.res_x = System.capabilities.screenResolutionX;
this.res_y = System.capabilities.screenResolutionY;
this.accessability = System.capabilities.hasAccessibility;
this.flashcomm = System.capabilities.hasScreenBroadcast;
this.writeConfig();
}
public function writeConfig():Void{
var SysConfig_lso:SharedObject = SharedObject.getLocal("user_sys_config");
SysConfig_lso.data.os = this.os;
SysConfig_lso.data.version = this.version;
SysConfig_lso.data.printing = this.printing;
SysConfig_lso.data.language = this.language;
SysConfig_lso.data.audio = this.audio;
SysConfig_lso.data.video = this.video;
SysConfig_lso.data.res_x = this.res_x;
SysConfig_lso.data.res_y = this.res_y;
SysConfig_lso.data.accessability = this.accessability;
SysConfig_lso.data.flashcomm = this.flashcomm;
SysConfig_lso.data.
SysConfig_lso.flush();
}
public function readConfig():String{
var read_config_lso:SharedObject = SharedObject.getLocal("user_sys_config");
this.config = "Operating System: " + read_config_lso.data.os + "\nLanguage: " + read_config_lso.data.language + "\nFlash Player Version: "+ read_config_lso.data.version + "\nAudio Enabled: " + read_config_lso.data.audio + "\nVideo Enabled: " + read_config_lso.data.video + "\nPrinting Enabled: " + read_config_lso.data.printing + "\nScreen Resolution: " + read_config_lso.data.res_x + " x " + read_config_lso.data.res_y + "\nAccessability: " + read_config_lso.data.accessability + "\nFlash Comm Available: " + read_config_lso.data.flashcomm;
return this.config;
}
}
Posted by: Eric Feminella | website
http://www.ericfeminella.com
|
 |
 |
 |
|  |
Search Entire Site
Advertisements
Latest New Articles
- Set up a simple IIS Server for Flash
by Peter McBride - Day 1 at FITC Toronto 2008
by Anthony Pace - Simple reflection effect with AS2
by Jean André Mas - ActionScript.org Meets Josh Tynjala (aka dr_zeus)
by ActionScript.org Staff - Rapidly Create Online Flash Movies to Help Users Market, Sell and Support Software and Hardware
by Sabrina F
|
 |