Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help! I'm going crazy - load variables problem!

Status
Not open for further replies.

wuah

Programmer
Mar 15, 2001
42
DK
Okay - here's the deal:

I'm trying to load some variables to a jsp-file from my Flash and I can't get it to work.
I works fine if i "getURL" but that's not what I want. I want to load the variables and use the response the jsp-file gives me and then use it in my Flash.

I'm using the following command on a button which submit a 'form' with 3 textfields.
All my variables and so forth have been checked again and again, so that's not where the problem is.

--------------------------
loadVariablesNum (" 0, "POST");
--------------------------

And now for the really strange part:

When I upload the the HTML and the SWF file to my server (of course I delete my temporary Internet files and then refresh) it doesn't work. Nothing gets shipped to the jsp-file and thus nothing gets submitted to the database.
BUT... - when I preview my Flash in the program (You know ctrl+Enter) it works..!?!?!?! Then I get the correct response...

AAaarrgghh.. - anybody who can tell me why?
Or have an idea?

Your help will be much appreciated!

Regards

Rasmus
 
the two files MUST be on the same domain when you post them to servers.
 
Are you sure?

The thing is:

It works if I test it local.. - you know from Explorer, where I open the HTML-file locally, but when I upload it and type in the URL (http:// etc.) it doesn't..

Could it be a server problem?

Greetings

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top