﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts v3 / Using FusionCharts / JavaScript Problems  / FC_Rendered equivalent after calling setDataURL? / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Wed, 03 Dec 2008 02:36:03 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: FC_Rendered equivalent after calling setDataURL?</title><link>http://www.fusioncharts.com/forum/Topic533-35-1.aspx</link><description>In each .fla file &amp;gt; Chart Scene &amp;gt; Actions Layer &amp;gt; Frame 1 &amp;gt; Actions, you'll have to add the following code just before the line containing "stop()":&lt;/P&gt;&lt;P&gt;[code]if (ExternalInterface.available &amp;amp;&amp;amp; _registerWithJS &amp;amp;&amp;amp; renderRegistered){&lt;BR&gt; ExternalInterface.call("FC_Update", _DOMId);&lt;BR&gt;}[/code]</description><pubDate>Mon, 19 Mar 2007 01:57:01 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: FC_Rendered equivalent after calling setDataURL?</title><link>http://www.fusioncharts.com/forum/Topic533-35-1.aspx</link><description>Yes, we do know that we are updating the chart, however the call to setDataURL does not wait for the update to complete before returning control to the calling JavaScript.  I don't think it would be a good idea for setDataURL to hold on to control because this would cause everything else to be on hold, so I figured there would be another callback function just like FC_Rendered.&lt;br&gt;&lt;br&gt;I'm not versed in Flash coding, nor even sure if I have the tools to modify (compile?) the code.  In any case, perhaps your modification suggestion might help others who see this post, so please offer up your suggestion.&lt;br&gt;&lt;br&gt;Thanks.</description><pubDate>Fri, 16 Mar 2007 10:00:44 GMT</pubDate><dc:creator>Lonnie W</dc:creator></item><item><title>RE: FC_Rendered equivalent after calling setDataURL?</title><link>http://www.fusioncharts.com/forum/Topic533-35-1.aspx</link><description>The idea is that when the chart is loaded first time, only then you need to know that the chart has loaded and rendered.&lt;/P&gt;&lt;P&gt;When updating the chart subsequently, you already know the event - because the event is triggered by you.&lt;/P&gt;&lt;P&gt;However, if you still need FC_Updated function, I can tell you where to modify the .fla to call the same.</description><pubDate>Fri, 16 Mar 2007 01:41:15 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>RE: FC_Rendered equivalent after calling setDataURL?</title><link>http://www.fusioncharts.com/forum/Topic533-35-1.aspx</link><description>Can we hope for some sort of alternate JavaScript hook, perhaps FC_Updated?  When it takes a few moments for the data to generate and then get sent back into the FusionChart, I would like to give our users a bit of feedback so that they are not rapidly clicking the (custom) refresh button thinking that their requests were not performed.</description><pubDate>Thu, 15 Mar 2007 09:24:58 GMT</pubDate><dc:creator>Lonnie W</dc:creator></item><item><title>RE: FC_Rendered equivalent after calling setDataURL?</title><link>http://www.fusioncharts.com/forum/Topic533-35-1.aspx</link><description>I'm afraid we've intentionally blocked FC_Rendered call during subsequent setDataURL calls, as it was leading to confusions while rendering.</description><pubDate>Thu, 15 Mar 2007 06:47:12 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>FC_Rendered equivalent after calling setDataURL?</title><link>http://www.fusioncharts.com/forum/Topic533-35-1.aspx</link><description>FusionCharts calls the FC_Rendered function after initially rendering a chart on the page, however is there an equivalent to the FC_Rendered function that gets called after a subsequent setDataURL call?  I want to trigger a chart update (after the initial load) from a UI element and I want another part of my page to be updated once the chart has been updated.</description><pubDate>Wed, 14 Mar 2007 10:53:51 GMT</pubDate><dc:creator>Lonnie W</dc:creator></item></channel></rss>