PDA

View Full Version : flash 5 and server scripts. General Question


yorkeylady
01-08-2003, 03:48 PM
I have flash 6 mx. And my friend has flash 5. He's just learning server side scripting. I need to know if flash 5 can communicate with scripts and have a little example to give. Or a tutorial I can send him to.

pichto
01-08-2003, 06:48 PM
In Flash 5 only loadVariables and loadVariablesNum work.

For a tutorial, visit www.flashkit.com

yorkeylady
01-08-2003, 06:54 PM
From what I could gather from guest book tutorial the cgi script simply needs to have a print statement in this manner,


print "name=$name&occupation=$occupation&study=tons";

it loads into the swf movie through the print statement.

pichto
01-08-2003, 06:59 PM
For the print statement (or response.write in ASP), you are right. It's the only way to communicate with Flash from a server-side script.