I have a 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
Code: Select all
<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>
Kris