thotelier Posted February 11, 2009 Share Posted February 11, 2009 The following code was used in a tutorial to make the PHP to use a ecard, and I basically copied it for my own simple ecard, replacing the tutorial filenames with my own. My problem is that the code is supposed to allow the concatenated text in the URL to be displayed in the dynamic textboxes in the SWF file on the page, however for my page, while the URL is correctly concatenated, the text will not display at all in the SWF's dynamic textboxes. <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width=550 height=400> <param name=movie value="xmascard.swf?fromname=<?php echo $fromname; ?>&toname=<?php echo $toname; ?>&mymessage=<?php echo $mymessage; ?> "> <param name=quality value=high> <param name=bgcolor value=#FFFFFF> <embed src="xmascard.swf?fromname=<?php echo $fromname; ?>&toname=<?php echo $toname; ?>&mymessage=<?php echo $mymessage; ?> " quality=high bgcolor=#FFFFFF width=550 height=400 type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </embed> </object> Please let me know if I'm missing something in this code, or if perhaps my SWF itself may be the issue (though I have investigated it, checking that text is coloured, and that the filenames are correct). Thanks Quote Link to comment https://forums.phpfreaks.com/topic/144722-newbie-needs-php-into-dynamic-swf-help/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.