<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Events on Arcanelab Blog</title><link>https://blog.arcanelab.com/tags/events/</link><description>Recent content in Events on Arcanelab Blog</description><generator>Hugo</generator><language>en-US</language><copyright>Zoltán Majoros</copyright><lastBuildDate>Fri, 07 Nov 2008 17:41:00 +0100</lastBuildDate><atom:link href="https://blog.arcanelab.com/tags/events/index.xml" rel="self" type="application/rss+xml"/><item><title>Flash oddities Flash has some oddities which you have to figure out if you want to…</title><link>https://blog.arcanelab.com/2008/11/flash-oddities-flash-has-some-oddities-which-you-have-to/</link><pubDate>Fri, 07 Nov 2008 17:41:00 +0100</pubDate><guid>https://blog.arcanelab.com/2008/11/flash-oddities-flash-has-some-oddities-which-you-have-to/</guid><description>&lt;h1&gt;Flash oddities&lt;/h1&gt;
&lt;p&gt;Flash has some oddities which you have to figure out if you want to have things done with it.&lt;/p&gt;
&lt;p&gt;One strange behaviour is what I mentioned in my last post, that is, the Document class (the class on top of the &lt;i&gt;stage&lt;/i&gt;, instantiated as &lt;i&gt;root&lt;/i&gt; if I&amp;rsquo;m not mistaken) won&amp;rsquo;t recieve any MouseEvents at all. (If it does, please show me a working example.) A workaround for this can be: place a Sprite on top of the main class (I use the term &amp;lsquo;main class&amp;rsquo; and 'Document class&amp;rsquo; interchangeably, since they are synonyms) with the same dimensions and assign a listener to the top object. It&amp;rsquo;s easy, and works like a charm.&lt;/p&gt;</description></item></channel></rss>