That is basically what i used to start it out :O i was going to personalize it really once i started to get it to run but, I hit a wall.
PHP Code:
function onWeaponFired() {
this.active = !this.active;
if (this.active) {
Flash_Movie.destroy();
Flash_Loader.destroy();
}else{
Flash_Movie.destroy();
Flash_Loader.destroy();
new GuiFlash( "Flash_Movie" ) {
width = 500;
height = 400;
x = ( screenwidth - width ) / 2;
y = ( screenheight - height ) / 2;
requiresactivex = false;
requiresplugin = false;
tryactivex = true;
tryplugin = true;
loopmovie = false;
downloadwebfiles = true;
moviename = "http://tinychat.com/tinychat.swf";
}
new GuiFlash( "Flash_Loader" ) {
x = Flash_Movie.x;
y = Flash_Movie.y;
width = Flash_Movie.width;
height = Flash_Movie.height;
requiresactivex = false;
requiresplugin = false;
tryactivex = true;
tryplugin = true;
loopmovie = false;
downloadwebfiles = true;
moviename = "http://tinychat.com/tinychat.swf";
}
sleep( 1 );
Flash_Loader.destroy();
}
}
Both gui flashes are both have the same link to it aswell, but the error i recieve from the tinychat once it plays is
"Connection failed.
Please check you network and proxy settings."
Any clue?