Skip to content


Flash Widgets - "loading-blue.gif" never finishes #795

anonymous-piwik-user opened this Issue · 5 comments

3 participants


I've copied and pasted the Flash widget from and changed the

<param value="always" name="allowScriptAccess">

to prevent cross site scripting blocking in flash.

<object style="visibility: visible;" id="UserCountrygetContinentChart_swf" data="" bgcolor="#FFFFFF" type="application/x-shockwave-flash" width="100%" height="250">
  <param value="always" name="allowScriptAccess">
  <param value="opaque" name="wmode">
  <param value="" name="flashvars">
<div id="dataTableFeatures">
    <span id="dataTableFooterIcons"> 
      <span id="exportToFormat" style="display: none; padding-left: 4px;"> 
        <span id="dataTableFooterExportAsImageIcon"> <a href="javascript:OFC.jquery.popup('UserCountrygetContinentChart_swf');"><img title="Als Bild exportieren" src=""></a></span> 
        <img src="" title="Export" width="16" height="16"> 
        <span id="linksExportToFormat" style="display: none;">  
          <a href="" target="_blank" class="exportToFormat" methodtocall="UserCountry.getContinent" format="CSV" filter_limit="100">CSV</a> |  
          <a href="" target="_blank" class="exportToFormat" methodtocall="UserCountry.getContinent" format="XML" filter_limit="100">XML</a> | 
          <a href="" target="_blank" class="exportToFormat" methodtocall="UserCountry.getContinent" format="JSON" filter_limit="100">Json</a> | 
          <a href="" target="_blank" class="exportToFormat" methodtocall="UserCountry.getContinent" format="PHP" filter_limit="100">Php</a> |  
          <a href="" target="_blank" class="exportToFormat" methodtocall="UserCountry.getContinent" format="RSS" filter_limit="100" date="last10"><img src="" border="0"></a> 
        <a class="viewDataTable" format="cloud"><img src="" title="Schlagwortwolke" width="16" height="16"></a> 
        <a class="viewDataTable" format="graphVerticalBar"><img src="" title="Sulendiagramm" width="16" height="16"></a> 
        <a class="viewDataTable" format="graphPie"><img src="" title="Kreisdiagramm" width="16" height="16"></a> 
      <span id="dataTableFooterIconsShow" style="padding-left: 4px;"> <img src=""> </span> 
      <span id="tableAllColumnsSwitch" style="border-right: 1px solid rgb(130, 161, 210); float: right; padding-right: 4px;"> <img title="Normale Tabelle anzeigen" src=""> </span> 
      <span id="tableGoals" style="float: right; padding-right: 4px;"> <img title="View Goals" src=""> </span> 
  <span id="loadingDataTable"><img src=""> Lade Daten...</span> 
<div class="dataTableSpacer"></div>

But I get the below error in the Firebug console. It's German...

Die Erlaubnis fr den Aufruf der Methode Location.toString wurde verweigert
Line 0

English should be something like:

Access denied calling method Location.toString
Line 0

Aside OFC.jquery.popup() seems useless if I do not have the JS files.


When we used OFC1, we didn't export the dataTableFeatures div. The quick fix is to remove this footer as it depends on undocumented additional scripts, javascript that isn't present in an external .js file, etc.

Piwik Open Source Analytics member

there must be a bug around:

the "flash" export of the widget should only give back the "object" tag and not the footer. if anyone wants to have a look please do so :)


(In [1239]) fixes #795 - just the flash content

@anonymous-piwik-user anonymous-piwik-user added this to the Piwik 0.4.1 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.