k@vosh Posted August 30, 2008 Share Posted August 30, 2008 hi. i need merge php and flash for my project and need to learn but i search in net and can't find anything can you help me? i want create flash document. my flash have more variable and i want allocate my vars in php and send that to flash. i want a pdf about this title. can you help me? Thnx All Link to comment Share on other sites More sharing options...
adrock42 Posted September 4, 2008 Share Posted September 4, 2008 set the variable up in php like <?php $var = fuu ?> then in the html flash embed code put <param name="FlashVars" value="myVar=$var"> and in the object code put <embed src="mySWF.swf" FlashVars="myVar=$var"> then in flash you get the variable thru myVar. look up flashvars for some more help Link to comment Share on other sites More sharing options...
wingrunr21 Posted December 1, 2008 Share Posted December 1, 2008 set the variable up in php like <?php $var = fuu ?> then in the html flash embed code put <param name="FlashVars" value="myVar=$var"> and in the object code put <embed src="mySWF.swf" FlashVars="myVar=$var"> then in flash you get the variable thru myVar. look up flashvars for some more help Here's a quick tutorial: http://www.permadi.com/tutorial/flashVars/index.html Also, in the <param> tag, the $var needs to be <?php echo $var ?> or equivalent. Link to comment Share on other sites More sharing options...
melanholly Posted December 25, 2008 Share Posted December 25, 2008 http://gotoandlearn.com/play?id=90 i think that this will help you most Link to comment Share on other sites More sharing options...
Recommended Posts