Page 1 of 1

PHP Variable to Flash question

Posted: Sun Dec 07, 2008 6:08 pm
by bloodl
Is it possible to post a variable from a php page to flash (swf)? Is so, how does one do this?

:?: :?: :?: :?: :?:

Would appreciate any help!

Cheers,
Doug

Re: PHP Variable to Flash question

Posted: Sun Dec 07, 2008 6:15 pm
by Eran
Yep, pass them through the flashvars param - http://kb.adobe.com/selfservice/viewCon ... &sliceId=1

Re: PHP Variable to Flash question

Posted: Wed Dec 10, 2008 12:45 am
by josh
You can also just put variables into the query string as in

file.swf?var1=val

If you have a lot of params or hierchial paramaters, you could pass in a pathname to an XML file for flash to load paramaters out of.

Re: PHP Variable to Flash question

Posted: Wed Dec 10, 2008 6:42 am
by sushil
Variables are nothing but a particular region to hold the value