A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: PHP embedding problem

Hybrid View

  1. #1
    Senior Member TheLostGuru's Avatar
    Join Date
    Aug 2004
    Location
    I live on this webpage...
    Posts
    784
    Code:
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
     codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab"
     WIDTH=<?php echo $gameWidth; ?> HEIGHT=<?php echo $gameHeight; ?>>
    <PARAM NAME=movie VALUE="<?php echo $filename; ?>">
    <PARAM NAME=menu VALUE=false>
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=bgcolor VALUE="<?php echo $bcol; ?>">
    <PARAM NAME=FlashVars VALUE="movie=<?php echo $gameName; ?>&id=<?php echo $gameID; ?>">
    <EMBED src="<?php echo $filename; ?>" FlashVars="movie=<?php echo $gameName; ?>&id=<?php echo $gameID; ?>" menu=false quality=high bgcolor="<?php echo $bcol; ?>" WIDTH=<?php echo $gameWidth; ?> HEIGHT=<?php echo $gameHeight; ?> TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
    </OBJECT>
    This is the code I am using to embed the swf.
    "If I have seen further it is by standing on the shoulders of giants." Isaac Newton
    ------------------------------------------------------------------------------

  2. #2
    Senior Member
    Join Date
    Feb 2004
    Posts
    312
    well make that entire block as a string and and echo that no?
    $flashEmbed = "<object classid....</object>"
    echo $flashEmbed

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center