<?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"
	>
<channel>
	<title>Comments on: Resolving some issues with swfobject</title>
	<atom:link href="http://blog.guya.net/2007/11/11/resolving-some-issues-with-swfobject/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.guya.net/2007/11/11/resolving-some-issues-with-swfobject/</link>
	<description>Flash and Everything Else</description>
	<pubDate>Fri, 04 Jul 2008 04:18:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: guya</title>
		<link>http://blog.guya.net/2007/11/11/resolving-some-issues-with-swfobject/#comment-104635</link>
		<dc:creator>guya</dc:creator>
		<pubDate>Mon, 12 Nov 2007 01:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.guya.net/2007/11/11/resolving-some-issues-with-swfobject/#comment-104635</guid>
		<description>Thanks for the info Aran,

I guess, I should have searched the swfobject forums.

To check also that the property isn't a function seems like a good idea. 
And also checking for string or a number looks suffice although not as neat as hasOwnProperty.

Thanx,
Guy</description>
		<content:encoded><![CDATA[<p>Thanks for the info Aran,</p>
<p>I guess, I should have searched the swfobject forums.</p>
<p>To check also that the property isn&#8217;t a function seems like a good idea.<br />
And also checking for string or a number looks suffice although not as neat as hasOwnProperty.</p>
<p>Thanx,<br />
Guy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aran</title>
		<link>http://blog.guya.net/2007/11/11/resolving-some-issues-with-swfobject/#comment-104600</link>
		<dc:creator>Aran</dc:creator>
		<pubDate>Sun, 11 Nov 2007 23:08:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.guya.net/2007/11/11/resolving-some-issues-with-swfobject/#comment-104600</guid>
		<description>Good post.

We have had a few threads on this issue now on the swfobject 1.x forum. One suggestion was to do a check for only string and number properties when in the for in loop within swfobject.

http://blog.deconcept.com/swfobject/forum/discussion/753/

After reading the hasOwnProperty thread you provided, it seems you would require a combination of both hasOwnProperty AND checking that the property is not a function (as a function can be added directly to an instance rather than to the prototype chain in general).

Also I think you have a typo:

"The hasOwnProperty function returns true only if the property is not built-in and not in the prototype chain..."

should be:

"The hasOwnProperty function returns true only if the property is built-in and not in the prototype chain..."


Cheers,
Aran</description>
		<content:encoded><![CDATA[<p>Good post.</p>
<p>We have had a few threads on this issue now on the swfobject 1.x forum. One suggestion was to do a check for only string and number properties when in the for in loop within swfobject.</p>
<p><a href="http://blog.deconcept.com/swfobject/forum/discussion/753/" rel="nofollow">http://blog.deconcept.com/swfobject/forum/discussion/753/</a></p>
<p>After reading the hasOwnProperty thread you provided, it seems you would require a combination of both hasOwnProperty AND checking that the property is not a function (as a function can be added directly to an instance rather than to the prototype chain in general).</p>
<p>Also I think you have a typo:</p>
<p>&#8220;The hasOwnProperty function returns true only if the property is not built-in and not in the prototype chain&#8230;&#8221;</p>
<p>should be:</p>
<p>&#8220;The hasOwnProperty function returns true only if the property is built-in and not in the prototype chain&#8230;&#8221;</p>
<p>Cheers,<br />
Aran</p>
]]></content:encoded>
	</item>
</channel>
</rss>
