NameSilo

Flash Pop Up Issues

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

rmccam

New Member
Impact
0
Hi everyone,

I just tried to create centered pop up windows but I'm having a couple issues.

Here's my code for the button that launches the pop up...


on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "recoverymailing.html";
target_winName = "mailinglist";
width = 300;
height = 200;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 0;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}


Here's my code for the global actions


_root.openWinCentre = function (url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL ("javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open('" + url + "','" + winName + "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar + ",location=" + location + ",directories=" + directories + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + ",top='+((screen.height/2)-(" + h/2 + "))+',left='+((screen.width/2)-(" + w/2 + "))+'" + "')}else{myWin.focus();};void(0);");
}


Everything is working fine except...

1) When you click on the button to open the pop up, it opens both a new blank window and the pop up window. How do I get rid of the blank window so only the pop up opens over the window with the button?

2) The pop up doesn't actually display the HTML file that I want it to... it's just blank. They are in the same directory and the HTML file works on its own so... ????? Does it have to actually be on a server or something? Shouldn't I be able to just test it from my computer?

Any help would be appreciated!!

Thanks!!!
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
may i h ave a look at ur fla. do u use mx or mx2004
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back