PHP Variable to Flash question

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
bloodl
Forum Commoner
Posts: 48
Joined: Thu Jun 21, 2007 12:33 am

PHP Variable to Flash question

Post 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
Last edited by bloodl on Sun Dec 07, 2008 6:56 pm, edited 1 time in total.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: PHP Variable to Flash question

Post by Eran »

Yep, pass them through the flashvars param - http://kb.adobe.com/selfservice/viewCon ... &sliceId=1
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: PHP Variable to Flash question

Post 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.
sushil
Forum Newbie
Posts: 8
Joined: Sun Sep 14, 2008 12:11 am
Location: Surat
Contact:

Re: PHP Variable to Flash question

Post by sushil »

Variables are nothing but a particular region to hold the value
Post Reply