<?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: This isn&#8217;t right&#8230; MovieClip nested inside Button throwing null object reference error in Flash CS4</title>
	<atom:link href="http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-null-object-reference-error-in-flash-cs4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-null-object-reference-error-in-flash-cs4/</link>
	<description>wrangling the Internet's wildest</description>
	<lastBuildDate>Wed, 10 Mar 2010 07:24:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Harr Kunz</title>
		<link>http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-null-object-reference-error-in-flash-cs4/comment-page-1/#comment-10125</link>
		<dc:creator>Harr Kunz</dc:creator>
		<pubDate>Wed, 10 Mar 2010 03:20:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=933#comment-10125</guid>
		<description>This also happens in CS3. That&#039;s an AS3 bug perhaps within the Timeline Object.</description>
		<content:encoded><![CDATA[<p>This also happens in CS3. That&#8217;s an AS3 bug perhaps within the Timeline Object.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ranvir singh</title>
		<link>http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-null-object-reference-error-in-flash-cs4/comment-page-1/#comment-9538</link>
		<dc:creator>ranvir singh</dc:creator>
		<pubDate>Fri, 19 Feb 2010 07:33:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=933#comment-9538</guid>
		<description>how can work btn whthin movieclip ,can send me a fla file</description>
		<content:encoded><![CDATA[<p>how can work btn whthin movieclip ,can send me a fla file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Must read for beginning actionscripters! &#171; Steve&#8217;s Design and Development Blog</title>
		<link>http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-null-object-reference-error-in-flash-cs4/comment-page-1/#comment-9197</link>
		<dc:creator>Must read for beginning actionscripters! &#171; Steve&#8217;s Design and Development Blog</dc:creator>
		<pubDate>Wed, 10 Feb 2010 00:10:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=933#comment-9197</guid>
		<description>[...] http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-nu... [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-nu.." rel="nofollow">http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-nu..</a>. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FlashSlayer</title>
		<link>http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-null-object-reference-error-in-flash-cs4/comment-page-1/#comment-9196</link>
		<dc:creator>FlashSlayer</dc:creator>
		<pubDate>Tue, 09 Feb 2010 23:03:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=933#comment-9196</guid>
		<description>Thank...you...so...much
I&#039;ve been pulling my hair out over this issue for hours on end. Tried the third solution, worked for me.</description>
		<content:encoded><![CDATA[<p>Thank&#8230;you&#8230;so&#8230;much<br />
I&#8217;ve been pulling my hair out over this issue for hours on end. Tried the third solution, worked for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dave</title>
		<link>http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-null-object-reference-error-in-flash-cs4/comment-page-1/#comment-8553</link>
		<dc:creator>dave</dc:creator>
		<pubDate>Fri, 22 Jan 2010 20:21:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=933#comment-8553</guid>
		<description>The problem might be this:
mouseChildren = false;

http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/DisplayObjectContainer.html#mouseChildren

&quot;This property is useful when you create a button with an instance of the Sprite class (instead of using the SimpleButton class). When you use a Sprite instance to create a button, you can choose to decorate the button by using the addChild() method to add additional Sprite instances. This process can cause unexpected behavior with mouse events because the Sprite instances you add as children can become the target object of a mouse event when you expect the parent instance to be the target object. To ensure that the parent instance serves as the target objects for mouse events, you can set the mouseChildren property of the parent instance to false.&quot;

Also noted here:
http://numiko.com/labs/?p=223</description>
		<content:encoded><![CDATA[<p>The problem might be this:<br />
mouseChildren = false;</p>
<p><a href="http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/DisplayObjectContainer.html#mouseChildren" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/DisplayObjectContainer.html_mouseChildren?referer=');">http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/DisplayObjectContainer.html#mouseChildren</a></p>
<p>&#8220;This property is useful when you create a button with an instance of the Sprite class (instead of using the SimpleButton class). When you use a Sprite instance to create a button, you can choose to decorate the button by using the addChild() method to add additional Sprite instances. This process can cause unexpected behavior with mouse events because the Sprite instances you add as children can become the target object of a mouse event when you expect the parent instance to be the target object. To ensure that the parent instance serves as the target objects for mouse events, you can set the mouseChildren property of the parent instance to false.&#8221;</p>
<p>Also noted here:<br />
<a href="http://numiko.com/labs/?p=223" rel="nofollow" onclick="pageTracker._trackPageview('/outgoing/numiko.com/labs/?p=223&amp;referer=');">http://numiko.com/labs/?p=223</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flo</title>
		<link>http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-null-object-reference-error-in-flash-cs4/comment-page-1/#comment-8413</link>
		<dc:creator>Flo</dc:creator>
		<pubDate>Fri, 15 Jan 2010 23:20:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=933#comment-8413</guid>
		<description>Thank you!!! I looked for this problem 2 houres and that&#039;s the solution!!!! Thanks a lot!!!</description>
		<content:encoded><![CDATA[<p>Thank you!!! I looked for this problem 2 houres and that&#8217;s the solution!!!! Thanks a lot!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ans</title>
		<link>http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-null-object-reference-error-in-flash-cs4/comment-page-1/#comment-8394</link>
		<dc:creator>Ans</dc:creator>
		<pubDate>Fri, 15 Jan 2010 05:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=933#comment-8394</guid>
		<description>Cheers Steve, glad it helped you out!</description>
		<content:encoded><![CDATA[<p>Cheers Steve, glad it helped you out!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve</title>
		<link>http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-null-object-reference-error-in-flash-cs4/comment-page-1/#comment-8369</link>
		<dc:creator>steve</dc:creator>
		<pubDate>Thu, 14 Jan 2010 09:06:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=933#comment-8369</guid>
		<description>Hi i also just tried your third workaround and it did the trick.
I just don&#039;t know how to thank you enough for this tip, as this has puzzled me and kept me awake all night many times. This is such a relief to learn it wasn&#039;t all me!!! I knew i wasn&#039;t referencing something that wasn&#039;t there! Thank You thank you thank you!! Now i can go back to using mc&#039;s in my buttons without fear!</description>
		<content:encoded><![CDATA[<p>Hi i also just tried your third workaround and it did the trick.<br />
I just don&#8217;t know how to thank you enough for this tip, as this has puzzled me and kept me awake all night many times. This is such a relief to learn it wasn&#8217;t all me!!! I knew i wasn&#8217;t referencing something that wasn&#8217;t there! Thank You thank you thank you!! Now i can go back to using mc&#8217;s in my buttons without fear!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ARD</title>
		<link>http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-null-object-reference-error-in-flash-cs4/comment-page-1/#comment-7250</link>
		<dc:creator>ARD</dc:creator>
		<pubDate>Mon, 14 Dec 2009 19:20:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=933#comment-7250</guid>
		<description>Thanks a bunch for this. This one little error has been holding me up for a while now.</description>
		<content:encoded><![CDATA[<p>Thanks a bunch for this. This one little error has been holding me up for a while now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hols</title>
		<link>http://blog.anselmbradford.com/2009/09/10/this-isnt-right-movieclip-nested-inside-button-throwing-null-object-reference-error-in-flash-cs4/comment-page-1/#comment-6387</link>
		<dc:creator>hols</dc:creator>
		<pubDate>Thu, 26 Nov 2009 03:03:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anselmbradford.com/?p=933#comment-6387</guid>
		<description>omg i love you so much. been annoyed with this all night. the 3rd workaround worked best for me.
cheers</description>
		<content:encoded><![CDATA[<p>omg i love you so much. been annoyed with this all night. the 3rd workaround worked best for me.<br />
cheers</p>
]]></content:encoded>
	</item>
</channel>
</rss>
