Jump to content

Newbie needs PHP into dynamic SWF help


thotelier

Recommended Posts

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.