"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

The only difference is that I've put a "0" in the window string, this means that everything is being sent to your server, but once I had the same problem and when I used the zero, the window stopped popping up.
I just hope that it fixes your problem.

Cheers

-OBCT

mvkvivekAuthor Commented: 2003-11-22

Oops....

I tried this and this also popping up. :o(

Can you upload it for me. Also tell me what server you are using to test this.

Unfortunatly the server I use crashed and I lost everything so I'm not testing any of this, I'm just passing information from previous encounters of the same problem.
So just to be safe.....if you use the GET method, the data is sucessfully sent to your server but the window pops up, and if you use the POST method, the data is not sent and the window does not pop up.

To be perfectly honest, I don't understand why it is having this problem.
I am currently working on an online game. In the exe file we have the registration form and we use loadVariablesNum to send our data the the database and no window pops up.
Just a few questions...
What is in the window that pops up? Is it blank?
Have you tried this:

Have you considered using the XMLSocket function instead of LoadVars? (If you're coding the Java Socket server yourself it should not pose a problem)

var serverSocket;
function setupSocket() {
serverSocket = new XMLSocket();
serverSocket.onData = function() {
// Do stuff with whatever data the server sends to you
}
serverSocket.connect("yourServerHostNameOrIP", portWhereServerIsListening);
// Note that this socket will be connected until you disconnect it either from the server or through the serverSocket.disconnect() function.
}
function sendSocket(data) {
// data = any string message
serverSocket.send(data + '\0');
// The \0 character is what flash regards as end of message
}

1. The standalone flash player for windows *always* uses the "GET" method, even if you have specified "POST" (this is a bug)
2. The send method is similar to the movieclip getURL method, so the popop page coming is normal

3 A possible solution is to use sendAndLoad method instead, and have the server send back a response to the calling application

(ie, the server, once received data, send back this string to flash "&received=OK&")

beside that. the "loading complete" event for xml and loadvars is onData, which by default calls the onLoad event handler. so, before onload is fired, everything go through "onData" (which is rarelly overwritten). the loadvars one is: