<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ExternalInterface.addCallback &#8211; Object doesn&#8217;t support property or method</title>
	<atom:link href="http://waww.com.au/ramblings/externalinterfaceaddcallback-object-doesnt-support-property-or-method/feed" rel="self" type="application/rss+xml" />
	<link>http://waww.com.au/ramblings/externalinterfaceaddcallback-object-doesnt-support-property-or-method</link>
	<description>Welcome to &#60;strong&#62;What A Wonderful Web&#60;/strong&#62; (aka Craig Morris). See my &#60;strong&#62;work below&#60;/strong&#62; and my &#60;strong&#62;skills above&#60;/strong&#62;. Impressed? Phone me on 0422 174 194 or email me &#60;a href="mailto:craig@waww.com.au"&#62;craig@waww.com.au&#60;/a&#62;.&#60;br /&#62;&#60;span style="font-size: 13px;"&#62;(you could also check out my &#60;a href="/category/ramblings"&#62;blog posts&#60;/a&#62; or &#60;a href="/projects"&#62;open source projects&#60;/a&#62;)&#60;/span&#62;</description>
	<lastBuildDate>Thu, 27 Jan 2011 16:40:33 +1100</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Carlos H - Brazil</title>
		<link>http://waww.com.au/ramblings/externalinterfaceaddcallback-object-doesnt-support-property-or-method/comment-page-1#comment-110</link>
		<dc:creator>Carlos H - Brazil</dc:creator>
		<pubDate>Thu, 27 Jan 2011 16:40:33 +0000</pubDate>
		<guid isPermaLink="false">http://waww.com.au/?p=47#comment-110</guid>
		<description>Hello,

If the problem is the &quot;addCallback&quot; doen&#039;t work after a &quot;visibility=hidden&quot;, replace &quot;visibility=hidden&quot; bye &quot;width=0&quot;.

Then it will work !

Good luck!</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>If the problem is the &#8220;addCallback&#8221; doen&#8217;t work after a &#8220;visibility=hidden&#8221;, replace &#8220;visibility=hidden&#8221; bye &#8220;width=0&#8243;.</p>
<p>Then it will work !</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paul</title>
		<link>http://waww.com.au/ramblings/externalinterfaceaddcallback-object-doesnt-support-property-or-method/comment-page-1#comment-105</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Fri, 26 Nov 2010 03:15:55 +0000</pubDate>
		<guid isPermaLink="false">http://waww.com.au/?p=47#comment-105</guid>
		<description>Great info! this is the exact issue I am having. After hours of frustration I narrowed it down to IE / Form. I have checked out provided link but cant implement fix. I&#039;m hoping you may look at my code. Many Thanks Paul

Everything works until wrapped in form tags, and thought to use solution; window.[flash_movie_id] = document.forms[0].[flash_movie_id]; 

this is my code;

var flashVideoPlayer;

 function _nsStop() {

var isIE = navigator.appName.indexOf(&quot;Microsoft&quot;) != -1;
 flashVideoPlayer = (isIE) ? window[&#039;videoPlayer&#039;] : document[&#039;videoPlayer&#039;]; 
}
  // Call the pauseResume() function within the SWF file.
 function callFlashPlayPauseVideo() {
 flashVideoPlayer.pauseResume();
}</description>
		<content:encoded><![CDATA[<p>Great info! this is the exact issue I am having. After hours of frustration I narrowed it down to IE / Form. I have checked out provided link but cant implement fix. I&#8217;m hoping you may look at my code. Many Thanks Paul</p>
<p>Everything works until wrapped in form tags, and thought to use solution; window.[flash_movie_id] = document.forms[0].[flash_movie_id]; </p>
<p>this is my code;</p>
<p>var flashVideoPlayer;</p>
<p> function _nsStop() {</p>
<p>var isIE = navigator.appName.indexOf(&#8221;Microsoft&#8221;) != -1;<br />
 flashVideoPlayer = (isIE) ? window['videoPlayer'] : document['videoPlayer'];<br />
}<br />
  // Call the pauseResume() function within the SWF file.<br />
 function callFlashPlayPauseVideo() {<br />
 flashVideoPlayer.pauseResume();<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: digibo</title>
		<link>http://waww.com.au/ramblings/externalinterfaceaddcallback-object-doesnt-support-property-or-method/comment-page-1#comment-103</link>
		<dc:creator>digibo</dc:creator>
		<pubDate>Tue, 29 Jun 2010 14:21:56 +0000</pubDate>
		<guid isPermaLink="false">http://waww.com.au/?p=47#comment-103</guid>
		<description>Bless you, Marcel! You saved both my time and my hair!:) Thanks a lot</description>
		<content:encoded><![CDATA[<p>Bless you, Marcel! You saved both my time and my hair!:) Thanks a lot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonas</title>
		<link>http://waww.com.au/ramblings/externalinterfaceaddcallback-object-doesnt-support-property-or-method/comment-page-1#comment-99</link>
		<dc:creator>Jonas</dc:creator>
		<pubDate>Thu, 03 Jun 2010 04:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://waww.com.au/?p=47#comment-99</guid>
		<description>Thank you guys, I spent several days with this problem. With me occurred the same with Justin, i was using a reserved word ( &quot;play&quot;).

Thank you so much</description>
		<content:encoded><![CDATA[<p>Thank you guys, I spent several days with this problem. With me occurred the same with Justin, i was using a reserved word ( &#8220;play&#8221;).</p>
<p>Thank you so much</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcel</title>
		<link>http://waww.com.au/ramblings/externalinterfaceaddcallback-object-doesnt-support-property-or-method/comment-page-1#comment-90</link>
		<dc:creator>Marcel</dc:creator>
		<pubDate>Wed, 06 Jan 2010 16:48:35 +0000</pubDate>
		<guid isPermaLink="false">http://waww.com.au/?p=47#comment-90</guid>
		<description>I had a similar issue:

In Firefox Addcallback worked like a charm - in i got the message like state in the title &quot;Object doesn’t support property or method&quot;

Searching the web i found many tips and solutions - neither one solved my problem.

My page is set up with a neat little Ajax calls using JQuery.
So there is the solution:

Instead of filling your page with something like
&lt;code&gt;
$(&#039;#content&#039;).html(ajaxResponse);
&lt;/code&gt;

use the old-fashioned way:
&lt;code&gt;
document.getElementById(&#039;content&#039;).innerHTML = ajaxResponse;
&lt;/code&gt;


So the whole request / output goes like this
&lt;code&gt;
$.ajax({
 type: &quot;GET&quot;,
 url: &quot;myflashplayerTemplate.html&quot;
 success: function(ajaxResponse){
  document.getElementById(&#039;content&#039;).innerHTML = ajaxResponse;
 }
});
&lt;/code&gt;

I hope to save someone else&#039;s time with this one ;)</description>
		<content:encoded><![CDATA[<p>I had a similar issue:</p>
<p>In Firefox Addcallback worked like a charm &#8211; in i got the message like state in the title &#8220;Object doesn’t support property or method&#8221;</p>
<p>Searching the web i found many tips and solutions &#8211; neither one solved my problem.</p>
<p>My page is set up with a neat little Ajax calls using JQuery.<br />
So there is the solution:</p>
<p>Instead of filling your page with something like<br />
<code><br />
$('#content').html(ajaxResponse);<br />
</code></p>
<p>use the old-fashioned way:<br />
<code><br />
document.getElementById('content').innerHTML = ajaxResponse;<br />
</code></p>
<p>So the whole request / output goes like this<br />
<code><br />
$.ajax({<br />
 type: "GET",<br />
 url: "myflashplayerTemplate.html"<br />
 success: function(ajaxResponse){<br />
  document.getElementById('content').innerHTML = ajaxResponse;<br />
 }<br />
});<br />
</code></p>
<p>I hope to save someone else&#8217;s time with this one <img src='http://waww.com.au/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>http://waww.com.au/ramblings/externalinterfaceaddcallback-object-doesnt-support-property-or-method/comment-page-1#comment-85</link>
		<dc:creator>Justin</dc:creator>
		<pubDate>Sat, 31 Oct 2009 22:40:52 +0000</pubDate>
		<guid isPermaLink="false">http://waww.com.au/?p=47#comment-85</guid>
		<description>Spent several hours trying to figure this out today - thought I&#039;d add my new wisdom to your list:

1. Beware ActiveX reserved words, which will obviously only break IE.  My problem was that I was registering a callback named &#039;play&#039; - sure enough, a reserved word.

2. When debugging in IE7, be sure to clear the cache by going to tools&gt;Delete Browsing History. Control F5 doesn&#039;t clear the cache of old .swf files like in other browsers.</description>
		<content:encoded><![CDATA[<p>Spent several hours trying to figure this out today &#8211; thought I&#8217;d add my new wisdom to your list:</p>
<p>1. Beware ActiveX reserved words, which will obviously only break IE.  My problem was that I was registering a callback named &#8216;play&#8217; &#8211; sure enough, a reserved word.</p>
<p>2. When debugging in IE7, be sure to clear the cache by going to tools>Delete Browsing History. Control F5 doesn&#8217;t clear the cache of old .swf files like in other browsers.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

