Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<h2>SOLVED</h2> <p>I won't accept this answer because I honestly don't think the question was answerable/solvable with the info provided and feel it would be bad form. But I want to leave this here for anyone that might be looking for a solution. </p> <p><strong>Cause of the error</strong><br> The problem is the result of the combination of facebook hiding the app during 'normal' facebook actions (in this case, displaying the pay prompt) and external interface calls not working in Internet explorer when the app is hidden/not visible.</p> <p><strong>Solution</strong><br> Found at <a href="http://flassari.is/2012/02/external-interface-error-object-expected/#comment-1743" rel="nofollow">http://flassari.is/2012/02/external-interface-error-object-expected/#comment-1743</a><br> All of these steps may not be neccessary but in the end what I did was: </p> <p>Stop facebook hiding the app by overriding the visibility using</p> <pre><code>&lt;style&gt; #[ ID OF THE FLASH OBJECT] { visibility: visible !important; } &lt;/style&gt; </code></pre> <p>Adding wmode = "opaque"; to the swfobject params<br> Using the optional <a href="http://developers.facebook.com/docs/reference/javascript/#flash_hide_callback" rel="nofollow">flash_hide_callback</a> by adding hideFlashCallback:"OnHideFlash" to the FB.init options in the actionscript to move/hide the app instead, where OnHideFlash is a javascript function:</p> <pre><code>function OnHideFlash(params) { if (params.state == 'opened') { getSwf().style.top = '-10000px'; } else { getSwf().style.top = ''; } } </code></pre> <p>Where getSwf() is your prefered method of getting the flash app object.</p> <p>Hopefully this will save some people the suffering of pouring through the endless 'reasons that XYXY doesn't work in IE' questions and solutions that has been my last few days.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload