Jump to content

Help with <embed> tag


8mile

Recommended Posts

Hi all,

 

  I have PHP application that uses SWF charts to display data in graphical format. The SWF charts that i use is from http://www.maani.us/. The front page of the application has the charts displayed,

and based on a users selection, the charts has to get updated. However, the <src> file(.xml or.php) that the chart uses gets updated based on the user selection, but when the html/php page load, the charts

display the previous data(stale). The only way to make the chart take the new data is to close my IE/mozilla and open a new instance.

 

Is there anyway I can force a reload in the <embed> tag?? so that on a page reload, the <embed> tag picks the updated <src> ? I am stuck, please help.

 

Heres what i have

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"

WIDTH="630"

HEIGHT="260"

id="charts" />

<PARAM NAME="movie" VALUE="charts.swf?library_path=charts_library&xml_source=CCPoverview.xml" />

<PARAM NAME="quality" VALUE="high" />

<PARAM NAME="bgcolor" VALUE="#000000" />

<param name="allowScriptAccess" value="sameDomain" />

 

<EMBED src="charts.swf?library_path=charts_library&xml_source=CCPoverview.xml"

      quality="high"

      bgcolor="#000000"

      WIDTH="630"

      HEIGHT="260"

      NAME="charts"

      allowScriptAccess="sameDomain"

      swLiveConnect="false"

      TYPE="application/x-shockwave-flash"

      PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">

</EMBED>

</OBJECT>

Link to comment
https://forums.phpfreaks.com/topic/113395-help-with-tag/
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.