This content has been marked as final. Show 4 replies
Flash LoadVars expects urlencoded name/value pairs.
Look up the top in the address bar of your browser. Everything after the "?" is an example of how it should be echoed from php. No "<br/>" or other tags, no whitespace etc.
That will decode on loading into a LoadVars instance as properties of the LoadVars instance (e.g myLV)
myLV.myval1 as a string "hello"
myLV.myval2 as a string "world"
What did you Google? I just Googled 'flash php variables' and the top 5 hits
all have the info you need regarding name/value pairs and formatting them
Anyway, for that much data, I'd suggest you look at AMFPHP
Using amfphp you can send an array back, so you wouldn't need to serialize
all that into name/value pairs for LoadVars.
Adobe Community Expert
Your right when I google it, I find tons of stuff, I guess what I was hoping for, was $PHPvar = flashVar, or something along those lines. Thanks for all the help guys.
I have heard of people using AMFPHP, but I havent looked into it, does it take a while to get used to it, I dont have too much time to complete this project.