<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comments on snippet: 'Mouse Events a simple drawing application using AS3'</title>
<link>http://snipplr.com</link>
<description>Snipplr comments feed'</description>
<language>en-us</language>
<pubDate>Tue, 14 Feb 2012 10:50:04 GMT</pubDate>
<item>
<title>agitated said on 3/30/09</title>
<link>http://snipplr.com/view/3063/mouse-events-a-simple-drawing-application-using-as3/</link>
<description><![CDATA[ You have to change the event listeners from sprite to stage and it will work:

stage.addEventListener(MouseEvent.MOUSE_DOWN, _onMouseDown);
stage.addEventListener(MouseEvent.MOUSE_UP, _onMouseUp); ]]></description>
<pubDate>Mon, 30 Mar 2009 21:14:44 GMT</pubDate>
<guid>http://snipplr.com/view/3063/mouse-events-a-simple-drawing-application-using-as3/</guid>
</item>
<item>
<title>dcyadgarpff said on 10/24/07</title>
<link>http://snipplr.com/view/3063/mouse-events-a-simple-drawing-application-using-as3/</link>
<description><![CDATA[ <p>If I remove the following block of code from your example, I can not draw. I guess I am asking how to draw in an "empty" sprite, with no specific width or height or color?</p>

<p>_sprite.graphics.beginFill(0xFFFFFF);
_sprite.graphics.drawRect(0, 0, 400, 400);
_sprite.graphics.endFill();</p>
 ]]></description>
<pubDate>Wed, 24 Oct 2007 21:50:14 GMT</pubDate>
<guid>http://snipplr.com/view/3063/mouse-events-a-simple-drawing-application-using-as3/</guid>
</item>
</channel>
</rss>
