This discussion is archived
1 Reply Latest reply: Jun 27, 2011 2:25 AM by 868925 RSS

Line Chart: It is possible to get the object reference from a flash chart

871376 Newbie
Currently Being Moderated
Hi Folks,

hope you feel well ...

I wan't to get the Object Reference from a Chart Flash Object using javascript in the HTML Header of a Apex Page.
It's long time ago with Oracle/Java and so my skills are really shity :-)
The Functionbody works, but the following error occurs: chart.refresh is not a function
It is necessary to CAST it ? with the Class AnyChart.js ?
After 5 hours i give up ^^ is this kind of object handling possible ? THX4HELP@ll

Apex Page HTML Header

<script type="text/javascript">
function hideSID2()
{
var chart = document.getElementById("*c7067437546726610*");
chart.refresh();
}
</script>

HTML File at runtime:
...
<div class="rc-body"><div class="rc-body-r"><div class="rc-content-main"><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="1400"
height="600"
id="c7067437546726610"
align="top"> ...

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points