Can you please explain how to fix a "Line 56: Out of Memory" error, when unloading a page in Internet Explorer using earlier versions of Flash Player 9 and multiple SWFs using ExternalInterface?
Submitted by: AdministratorThis issue was introduced with the release of Flash Player 9, and is fixed in recent versions of Flash Player 9. You can fix it for the earlier versions by adding the following JavaScript code in the head of your (X)HTML page:
<!--[if IE]>
<script type="text/javascript">
function fixOutOfMemoryError() {
__flash_unloadHandler = function() {};
__flash_savedUnloadHandler = function() {};
}
window.attachEvent("onbeforeunload", fixOutOfMemoryError);
</script>
<![endif]-->
Submitted by: Administrator
<!--[if IE]>
<script type="text/javascript">
function fixOutOfMemoryError() {
__flash_unloadHandler = function() {};
__flash_savedUnloadHandler = function() {};
}
window.attachEvent("onbeforeunload", fixOutOfMemoryError);
</script>
<![endif]-->
Submitted by: Administrator
Read Online SWFObject Job Interview Questions And Answers
Top SWFObject Questions
☺ | How to avoid Active Server Pages error ASP 0139 when using static publishing and Microsoft IIS? |
☺ | Tell me why does Internet Explorer 6 and 7 show the error message J.parentNode is null or not an object? |
☺ | Explain why can we see memory usage increase on every page refresh in Internet Explorer? |
☺ | Tell us why does Firefox report Permission denied to call method Location.toString in the error console? |
☺ | Do you know why does Firefox load my SWF twice? |
Top Scripting language Categories
☺ | AngularJS Interview Questions. |
☺ | Ext-JS Interview Questions. |
☺ | Dojo Interview Questions. |
☺ | Expert Developer JavaScript Interview Questions. |
☺ | jQuery Mobile Interview Questions. |