Automatic Full screen popup

I want to make a file called “popuplauncher.swf” so when someone goes to a page the popuplauncher automatically pops up a HTML page with capabilities of the users screen resolution abilities.

I made the layer popupactions

In frame 1 I have…


onClipEvent (load) {
this._visible = false;
_root.comp.fbrowserWindowClass();
_root.comp.initialize();
comp.broadcastMessage("launching");
}

I then inserted a blank keyframe in the same layer next to the frame above. In this I have


curl = mypage.com/mainpagepopup.aspx;
cwidth = System.capabilities.screenResolutionX;
cheight = System.capabilities.screenResolutionY;
ccentered = true;
cfullscreen = false;
ccloseAfter = 0;
cdirectories = false;
clocation = false;
cmenubar = false;
cscrollbars = true;
cstatus = false;
ctoolbar = false;
cresizable = false;
_targetInstanceName = "InstanceName_0";
 
function fbrowserWindowClass () {
this.initialize();
}
fbrowserWindowClass.prototype.initialize = function () {
this._visible = false;
this.cname = this._name;
 

When I try it nothing happens its like a blank swf file.

I have attached the .FLA file for those who may need it