Skip to main content
Aug 11, 2006 3:10 PM UTC
Answered

loadVariables Headache

OK, I give up! I have tried most everything and am just not finding the correct solution.
I am trying to load and run an ASP script from a Flash Document and it just wont run?

My code is: “loadVariables("SendCode.asp",0,"GET");”

The ASP script works as written as I ran it directly from a browser.

It seems as if the loadVariables command is where my problem lies but I can’t figure it out.
Stepping through the code in debug mode produces no errors what-so-ever?

Help please!
This topic is closed to new replies. Start a new post to keep the conversation going.
kglad
kgladCorrect answer
Community Expert
Aug 11, 2006 11:21 PM UTC
then flash is not using anything returned from the asp file, correct? if so, you'll need to debug in your asp file perhaps by having the asp file write to a debug file that you can inspect to see what's being tranfered from flash correctly and incorrectly.

7 replies

kglad
Community Expert
Community Expert
Aug 12, 2006 7:59 PM UTC
are name, email and mess defined on the timeline that contains your loadVariables() statement? what's the zero in your loadVariables() statement? (hint: remove it and retest.)
Translate
Aug 12, 2006 3:08 AM UTC
No, I can run the asp file directly (via IE6) and it does everything it is supposed to do! It really seems as if flash is NOT loading, the ASP file and thereby, allowing the script to execute. ??
Translate
kglad
Community Expert
Community Expert
Aug 12, 2006 3:37 AM UTC
what's the code you use in ie6 to run you asp file?
Translate
Aug 12, 2006 5:43 PM UTC
kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
Aug 11, 2006 11:21 PM UTC
then flash is not using anything returned from the asp file, correct? if so, you'll need to debug in your asp file perhaps by having the asp file write to a debug file that you can inspect to see what's being tranfered from flash correctly and incorrectly.
Translate
kglad
Community Expert
Community Expert
Aug 11, 2006 3:15 PM UTC
what doesn't work?
Translate
Aug 11, 2006 3:26 PM UTC
Sorry for the confusion. The code is supposed to pass form variables to an MSAccess DB via the ASP script. This is what fails.

It seems (as best as I can tell) that, even though the code is being executed without error, that the ASP file is NOT being loaded and executed? I hope this makes sense.

Is there a way to test (debug) the actual loading of an external file?

Thanks….
Translate