PDA

View Full Version : Load swf from php



beczesz
February 17th, 2009, 03:00 AM
Hi!

How can I transmit data form php to swf. I need this "parameters" at the loading of the swf.
Exactly, I have to transmit the username which is known on the site(php), to my swf which is loaded from the site.

Thx

scottc
February 17th, 2009, 03:18 AM
there are many ways php can talk to flash, but if your talking "parameters"... the closest thing i can think of is flashvars.

or you could use:
AMF
URLRequest(); //for POST and GET
Socket() and XMLSocket();
etc

Really depends on your needs, ie what security, how fast, integrates with xml? etc