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