Jump to content

Problem with embed flash object in php


swordske

Recommended Posts

  <object id="flashcontent" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400">

    <param name="movie" value="chart.swf" />

  <?php

  $flashvars = "";

  foreach($_GET as $variable => $value) {

      $flashvars .= $variable . "=" . $value . "&";

  }

 

  $flashvars = rtrim($flashvars, "&");

  $flashvars .= "&userID=$userID";

  ?>

    <param name="flashvars" value="<?php echo $flashvars ?>" />

 

 

    <object type="application/x-shockwave-flash" data="chart.swf" width="550" height="400">

 

      <p>Please update your Flash Player</p>

    </object>

    <embed src="chart.swf" FlashVars="userID=<?php echo $userID ?>" width="550" height="400"></embed>

 

  </object>

 

when i paste this and upload to server , IE can display well but firefox seem to have problem because it created 2 flash movie . In this 2 flash movie the top 1 isnt working well, the second 1 working well but its lagging.

btw my flash is retriving data from xml.

 

Could anyone please help me with this?

 

Link to comment
https://forums.phpfreaks.com/topic/183534-problem-with-embed-flash-object-in-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.