spwicker

Members
  • Content count

    4
  • Joined

  • Last visited

About spwicker

  • Rank
    Forum Newbie
  1. Microsoft JScript runtime error: Object required (IE7)

    After doing some digging, I found this in another forum post which seems to fix my problem in IE7: window.attachEvent("onbeforeunload",fcRemoveChart); function fcRemoveChart() { var arr = document.all.tags("object"); if (arr && arr.length) { for (var i=arr.length-1; 0<=i; i--) { arr.removeNode(true); } } }
  2. Microsoft JScript runtime error: Object required (IE7)

    Our code here is pretty messy. But I think I found root cause of this bug. There's a thread on it here: http://bugs.adobe.com/jira/browse/FP-529 We are using jQuery which might be interfering with the cleanup processes of the flash files in IE. It seems like this would be a simple fix by just changing the __flash__removeCallback method to be like so: function __flash__removeCallback(instance, name) { if ( instance ) { instance[name] = null; } }
  3. When closing the browser (IE7 running with the "disable script debugging" setting unchecked) on a page with fusion charts on it, the browser throws multiple runtime errors: A Runtime Error has occurred. Do you wish to Debug? Line: 52 Error: Object required Debugging through visual studio I get the following: function __flash__removeCallback(instance, name) { instance[name] = null; } where the values are: --> intance = null --> name = "setDataXML" --> output = "Microsoft JScript runtime error: Object required" In the callstack, the call to the above function is as follows: __flash__removeCallback(document.getElementById(""), "setDataXML"); Seems like for each chart on the page it throws exactly 4 runtime errors. (This is the enterprise version 3.0 charts) Any ideas on how to fix this would be greatly appreciated. Again, you will only see this bug if IE is running with script debugging enabled. (I also noticed that this is only an issue when you have registerWithJS = 1)
  4. When displaying a chart using your javascript method in IE7, its giving me a run time error and failing to show the chart. I've traced the error down to line 229 of the FusionCharts.js file (enterprise version): n.innerHTML = this.getSWFHTML(); I can go in and change this line to: n.innerHtml = "test"; and it still errors with the same run time error in IE. We currently are using jquery in our application so I changed this line to: jQuery(n).html(this.getSWFHTML()); and it seems to work fine.. But we would like this to not rely on the jquery library. Any ideas on what is going on here or how to fix it?