Flash > ASP help
Flash > ASP help
Out of context: Reply #17
- Started
- Last post
- 23 Responses
- unfittoprint0
fthe first thing u should is to test the asp paga alone.
does it write/echo anything?
something like:
myvar=texttexttexttextgood? next:
when sending to flash you should url encoded (bypass spaces, special characters...)
in a php file the code would look like:
echo "$myvar=".urlencode($txt);
good? next:
if everything is ok, then the problem should be with flash.
you should create an event for the loadVars objects, that will trigger a function to parse you variable.
myVars = new LoadVars();
myVars.onLoad = function(success){
if(success){
textBox.text = this.myvar;
} else {
textBox.text = "error!!",
}//load the var | no cache
myVars.load("myfile.asp?".Math.r...