flashVars&dynamicURLs
flashVars&dynamicURLs
Out of context: Reply #2
- Started
- Last post
- 7 Responses
- unfittoprint0
Hello.
When I want o retrieve some var from PHP, I use the new LoadVars object in Flash MX. It sends the request to the script, and retrieves without having a URL with a variable on it.
Some variables (and that's because the text was in portuguese) had to be scripted using a UTF-8 envcoding, but I don't think that's the case. Anyway the thing goes like this:
myVars = new LoadVars();
MyVars.onLoad=function(){
if(sucess){
myText = this.var1
}else{
trace("Noooooooooooo!!")
}
};myVars.load("fetch.php?type=name...
//good luck!