<?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: SimpleMouseEvents (onReleaseOutside, onDragOut,&#8230;)</title>
	<atom:link href="http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/</link>
	<description>♥</description>
	<lastBuildDate>Sat, 20 Mar 2010 19:56:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Greg Gavutis</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-32614</link>
		<dc:creator>Greg Gavutis</dc:creator>
		<pubDate>Wed, 27 Jan 2010 15:14:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-32614</guid>
		<description>Confirm that SimpleMouseEventHandler is being imported via your wildcard directive (de.popforge.events.SimpleMouseEventHandler)

Don&#039;t forget to register your object:

SimpleMouseEventHandler.register(test_movie_mc);

And be sure to &#039;type&#039; the event argument properly (SimpleMouseEvent vs. MouseEvent) in your test function to avoid errors:

function test_release_outside(event:SimpleMouseEvent):void
{
trace(“test_release_outside”);
}</description>
		<content:encoded><![CDATA[<p>Confirm that SimpleMouseEventHandler is being imported via your wildcard directive (de.popforge.events.SimpleMouseEventHandler)</p>
<p>Don&#8217;t forget to register your object:</p>
<p>SimpleMouseEventHandler.register(test_movie_mc);</p>
<p>And be sure to &#8216;type&#8217; the event argument properly (SimpleMouseEvent vs. MouseEvent) in your test function to avoid errors:</p>
<p>function test_release_outside(event:SimpleMouseEvent):void<br />
{<br />
trace(“test_release_outside”);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david saenz</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-32597</link>
		<dc:creator>david saenz</dc:creator>
		<pubDate>Thu, 14 Jan 2010 22:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-32597</guid>
		<description>DO you have an example of this with .fla

For some reason I can&#039;t get it to work and it seems simple enough. 

import SimpleMouseEvents.*;

test_movie_mc.buttonMode = true;
test_movie_mc.useHandCursor = true;

test_movie_mc.addEventListener(SimpleMouseEvent.RELEASE_OUTSIDE, test_release_outside);
//test_movie_mc.addEventListener(MouseEvent.CLICK, test_release_outside);

function test_release_outside(event:MouseEvent):void
{
	trace(&quot;test_release_outside&quot;);
}

Am I missing something???</description>
		<content:encoded><![CDATA[<p>DO you have an example of this with .fla</p>
<p>For some reason I can&#8217;t get it to work and it seems simple enough. </p>
<p>import SimpleMouseEvents.*;</p>
<p>test_movie_mc.buttonMode = true;<br />
test_movie_mc.useHandCursor = true;</p>
<p>test_movie_mc.addEventListener(SimpleMouseEvent.RELEASE_OUTSIDE, test_release_outside);<br />
//test_movie_mc.addEventListener(MouseEvent.CLICK, test_release_outside);</p>
<p>function test_release_outside(event:MouseEvent):void<br />
{<br />
	trace(&#8220;test_release_outside&#8221;);<br />
}</p>
<p>Am I missing something???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SimpleMouseEvents (onReleaseOutside, onDragOut,…) : Joan Garnet :: Arquitectura y desarrollo RIA</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-32568</link>
		<dc:creator>SimpleMouseEvents (onReleaseOutside, onDragOut,…) : Joan Garnet :: Arquitectura y desarrollo RIA</dc:creator>
		<pubDate>Fri, 01 Jan 2010 18:40:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-32568</guid>
		<description>[...] al post y descarga: * SimpleMouseEvents    May 23, 2007 &#124; Filed Under ActionScript, Flash [...]</description>
		<content:encoded><![CDATA[<p>[...] al post y descarga: * SimpleMouseEvents    May 23, 2007 | Filed Under ActionScript, Flash [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thijs</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-32441</link>
		<dc:creator>Thijs</dc:creator>
		<pubDate>Wed, 28 Oct 2009 16:48:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-32441</guid>
		<description>There&#039;s no license file included in the files so can I assume they&#039;re in the public domain?</description>
		<content:encoded><![CDATA[<p>There&#8217;s no license file included in the files so can I assume they&#8217;re in the public domain?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sir</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-32422</link>
		<dc:creator>sir</dc:creator>
		<pubDate>Wed, 14 Oct 2009 14:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-32422</guid>
		<description>I minimized the error this way:

SimpleMouseEventHandler.unregister(this);
this.removeEventListener(SimpleMouseEvent.RELEASE_OUTSIDE, dropMeOutside);
parent.removeChild(this);

but still get this:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
	at de.popforge.events::SimpleMouseEventHandler/onTargetMouseUp()</description>
		<content:encoded><![CDATA[<p>I minimized the error this way:</p>
<p>SimpleMouseEventHandler.unregister(this);<br />
this.removeEventListener(SimpleMouseEvent.RELEASE_OUTSIDE, dropMeOutside);<br />
parent.removeChild(this);</p>
<p>but still get this:</p>
<p>TypeError: Error #1009: Cannot access a property or method of a null object reference.<br />
	at de.popforge.events::SimpleMouseEventHandler/onTargetMouseUp()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sir</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-32421</link>
		<dc:creator>sir</dc:creator>
		<pubDate>Wed, 14 Oct 2009 14:31:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-32421</guid>
		<description>How do you remove the SimpleMouseEventHandler listeners? I have a situation where I have to remove the movie clip and I get an error:

Cannot access a property or method of a null object reference.
	at BodyPart/dropMeOutside()
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at de.popforge.events::SimpleMouseEventHandler/dispatch()
	at de.popforge.events::SimpleMouseEventHandler/onStageMouseUp()


Tried this but no dice:

SimpleMouseEventHandler.unregister(this);
parent.removeChild(this);</description>
		<content:encoded><![CDATA[<p>How do you remove the SimpleMouseEventHandler listeners? I have a situation where I have to remove the movie clip and I get an error:</p>
<p>Cannot access a property or method of a null object reference.<br />
	at BodyPart/dropMeOutside()<br />
	at flash.events::EventDispatcher/dispatchEventFunction()<br />
	at flash.events::EventDispatcher/dispatchEvent()<br />
	at de.popforge.events::SimpleMouseEventHandler/dispatch()<br />
	at de.popforge.events::SimpleMouseEventHandler/onStageMouseUp()</p>
<p>Tried this but no dice:</p>
<p>SimpleMouseEventHandler.unregister(this);<br />
parent.removeChild(this);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artem Brigert</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-32208</link>
		<dc:creator>Artem Brigert</dc:creator>
		<pubDate>Tue, 21 Jul 2009 15:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-32208</guid>
		<description>Dankeschön ! :)</description>
		<content:encoded><![CDATA[<p>Dankeschön ! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: OnReleaseOutside in AS3</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-25706</link>
		<dc:creator>OnReleaseOutside in AS3</dc:creator>
		<pubDate>Sat, 07 Mar 2009 15:43:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-25706</guid>
		<description>[...] you don&#8217;t have to write that becouse Andre Michelle did it already, thanks for him! His SimpleMouseEvents is a very useful and easy-to-use class that can be handle onReleaseOutside, onDragOut and [...]</description>
		<content:encoded><![CDATA[<p>[...] you don&#8217;t have to write that becouse Andre Michelle did it already, thanks for him! His SimpleMouseEvents is a very useful and easy-to-use class that can be handle onReleaseOutside, onDragOut and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xtyler AS3 Button Behavior Made Easy</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-24008</link>
		<dc:creator>xtyler AS3 Button Behavior Made Easy</dc:creator>
		<pubDate>Fri, 30 Jan 2009 01:18:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-24008</guid>
		<description>[...] implemented 3 new events: stateUp, stateOver and stateDown.  Andre Michelle wrote on this same subject almost 2 years ago and posted a similar solution. I took the opportunity to review his and it works [...]</description>
		<content:encoded><![CDATA[<p>[...] implemented 3 new events: stateUp, stateOver and stateDown.  Andre Michelle wrote on this same subject almost 2 years ago and posted a similar solution. I took the opportunity to review his and it works [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jed</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-20749</link>
		<dc:creator>Jed</dc:creator>
		<pubDate>Tue, 18 Nov 2008 16:39:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-20749</guid>
		<description>Solution for CS3 components issue: listen to the traditional MouseEvent.MOUSE_UP instead of the missing SimpleMouseEvent.RELEASE, while continuing to leverage Andre&#039;s SimpleMouseEvent.RELEASE_OUTSIDE as per normal ... right?</description>
		<content:encoded><![CDATA[<p>Solution for CS3 components issue: listen to the traditional MouseEvent.MOUSE_UP instead of the missing SimpleMouseEvent.RELEASE, while continuing to leverage Andre&#8217;s SimpleMouseEvent.RELEASE_OUTSIDE as per normal &#8230; right?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jed</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-20748</link>
		<dc:creator>Jed</dc:creator>
		<pubDate>Tue, 18 Nov 2008 16:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-20748</guid>
		<description>Sorry, got that wrong: the CS3 components continually set stage.focus to themselves, rather than null.</description>
		<content:encoded><![CDATA[<p>Sorry, got that wrong: the CS3 components continually set stage.focus to themselves, rather than null.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jed</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-20747</link>
		<dc:creator>Jed</dc:creator>
		<pubDate>Tue, 18 Nov 2008 16:21:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-20747</guid>
		<description>Yep, running into the same problem with the CS3 components as the above posters. Looks like they clobber the stage.focus property by continually setting it to null. The problem only exhibits itself once a component has been added to the display list.</description>
		<content:encoded><![CDATA[<p>Yep, running into the same problem with the CS3 components as the above posters. Looks like they clobber the stage.focus property by continually setting it to null. The problem only exhibits itself once a component has been added to the display list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cathelper</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-1018</link>
		<dc:creator>cathelper</dc:creator>
		<pubDate>Mon, 31 Mar 2008 23:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-1018</guid>
		<description>Hi Andre, i&#039;d like to thank you for this wonderful piece of work. It helped us a lot.

One question, i&#039;m having the same problem with components as Daniel posted on December 19th.

You can take a look at the problem in

&lt;a href=&quot;www.malldelsol.mash.com.ec&quot; rel=&quot;nofollow&quot;&gt;www.malldelsol.mash.com.ec&lt;/a&gt;

If you click on &#039;eventos&#039; the buttons for scrolling use the events class and work.

But...if you click on &#039;locales comerciales&#039; before entering &#039;eventos&#039; then the buttons fail to get the RELEASE event.

I isolated the problem on the presence of flash components &#039;Combo&#039; and/or &#039;List&#039;. Even tough i exit &#039;locales comerciales&#039; it seems that the problem still exists.

Any comment on this would be very appreciated.

Thanks for all the support.</description>
		<content:encoded><![CDATA[<p>Hi Andre, i&#8217;d like to thank you for this wonderful piece of work. It helped us a lot.</p>
<p>One question, i&#8217;m having the same problem with components as Daniel posted on December 19th.</p>
<p>You can take a look at the problem in</p>
<p><a href="www.malldelsol.mash.com.ec" rel="nofollow">http://www.malldelsol.mash.com.ec</a></p>
<p>If you click on &#8216;eventos&#8217; the buttons for scrolling use the events class and work.</p>
<p>But&#8230;if you click on &#8216;locales comerciales&#8217; before entering &#8216;eventos&#8217; then the buttons fail to get the RELEASE event.</p>
<p>I isolated the problem on the presence of flash components &#8216;Combo&#8217; and/or &#8216;List&#8217;. Even tough i exit &#8216;locales comerciales&#8217; it seems that the problem still exists.</p>
<p>Any comment on this would be very appreciated.</p>
<p>Thanks for all the support.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rasso</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-1017</link>
		<dc:creator>Rasso</dc:creator>
		<pubDate>Tue, 26 Feb 2008 17:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-1017</guid>
		<description>Hey André, first of all thanks for this nice class! I used it before &lt;a href=&quot;http://blog.nonverbla.de/blog/2007/11/13/nonverblaster-simple-videoplayer-with-fullscreenmode/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; and everything worked fine (in this case, I wrote everything in one Main-Class).
Now I&#039;m trying to use it again in a sub-Class, but my Button (on the stage) doesn&#039;t respond, even if it obviously gets registered (the hand-cursor appears)...
I would be very grateful for your help!</description>
		<content:encoded><![CDATA[<p>Hey André, first of all thanks for this nice class! I used it before <a href="http://blog.nonverbla.de/blog/2007/11/13/nonverblaster-simple-videoplayer-with-fullscreenmode/" rel="nofollow">here</a> and everything worked fine (in this case, I wrote everything in one Main-Class).<br />
Now I&#8217;m trying to use it again in a sub-Class, but my Button (on the stage) doesn&#8217;t respond, even if it obviously gets registered (the hand-cursor appears)&#8230;<br />
I would be very grateful for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-1016</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Wed, 19 Dec 2007 13:09:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-1016</guid>
		<description>Hi Andre,

when using cs3 components the RELEASE Event seems to fail. I could nail it down to a focus problem. AFAIK the components use their own focus-management, which seems to interfere the &#039;target.stage.focus&#039; property.

if( target.stage.focus == target )
  // is never fired when using components
  dispatch(SimpleMouseEvent.RELEASE);

without this condition the event is fired normally...but that can&#039;t be the solution ;)</description>
		<content:encoded><![CDATA[<p>Hi Andre,</p>
<p>when using cs3 components the RELEASE Event seems to fail. I could nail it down to a focus problem. AFAIK the components use their own focus-management, which seems to interfere the &#8216;target.stage.focus&#8217; property.</p>
<p>if( target.stage.focus == target )<br />
  // is never fired when using components<br />
  dispatch(SimpleMouseEvent.RELEASE);</p>
<p>without this condition the event is fired normally&#8230;but that can&#8217;t be the solution ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-1015</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Fri, 26 Oct 2007 15:12:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-1015</guid>
		<description>Wonderful :)</description>
		<content:encoded><![CDATA[<p>Wonderful :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafeo</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-1014</link>
		<dc:creator>Rafeo</dc:creator>
		<pubDate>Mon, 09 Jul 2007 16:24:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-1014</guid>
		<description>So many thanks!! Just what I need too!!</description>
		<content:encoded><![CDATA[<p>So many thanks!! Just what I need too!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swallow.sz</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-1013</link>
		<dc:creator>swallow.sz</dc:creator>
		<pubDate>Thu, 21 Jun 2007 02:29:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-1013</guid>
		<description>thanks, this is what I need.</description>
		<content:encoded><![CDATA[<p>thanks, this is what I need.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zguillez</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-1012</link>
		<dc:creator>zguillez</dc:creator>
		<pubDate>Fri, 01 Jun 2007 10:48:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-1012</guid>
		<description>Wow! great work, thanks ;)</description>
		<content:encoded><![CDATA[<p>Wow! great work, thanks ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: André Michelle</title>
		<link>http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/comment-page-1/#comment-1011</link>
		<dc:creator>André Michelle</dc:creator>
		<pubDate>Fri, 25 May 2007 07:04:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.andre-michelle.com/2007/simplemouseevents-onreleaseoutside-ondragout/#comment-1011</guid>
		<description>What is your target? Make sure that the target property buttonMode must have the value &#039;true&#039;.</description>
		<content:encoded><![CDATA[<p>What is your target? Make sure that the target property buttonMode must have the value &#8216;true&#8217;.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
