Sending variables to Flash from php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I'm working on a simple bit of flash that should display some text passed into it from PHP. I'm using the FlashVars as following (trimmed for brevity):

<object ...
<PARAM NAME="FlashVars" VALUE="name=<?php echo $firstname.'+'.$lastname; ?>">
 <embed src="images/intro.swf" quality="high" FlashVars="name=<?php echo $firstname.'+'.$lastname; ?>"...
..</object>

In flash, i've set up a dynamic text block called nametext, and added the following actionscript to the frame:

nametext = name;


I'm sure that should be setting the variable, but I can't seem to get it to work. Any suggestions appreciated :)

Donovan Hutchinson

------------------------------
Find UK Stores:
UKShopOnline.net
------------------------------

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux