<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Flash on Arcanelab Blog</title><link>https://blog.arcanelab.com/tags/flash/</link><description>Recent content in Flash on Arcanelab Blog</description><generator>Hugo</generator><language>en-US</language><copyright>Zoltán Majoros</copyright><lastBuildDate>Tue, 01 Mar 2016 02:28:00 +0100</lastBuildDate><atom:link href="https://blog.arcanelab.com/tags/flash/index.xml" rel="self" type="application/rss+xml"/><item><title>OpenFL - Creative expression for desktop, mobile, web and console platforms</title><link>https://blog.arcanelab.com/2016/03/openfl-creative-expression-for-desktop-mobile-web-and/</link><pubDate>Tue, 01 Mar 2016 02:28:00 +0100</pubDate><guid>https://blog.arcanelab.com/2016/03/openfl-creative-expression-for-desktop-mobile-web-and/</guid><description/></item><item><title>wonderfl - build flash online</title><link>https://blog.arcanelab.com/2011/05/wonderfl-build-flash-online/</link><pubDate>Fri, 20 May 2011 15:53:00 +0200</pubDate><guid>https://blog.arcanelab.com/2011/05/wonderfl-build-flash-online/</guid><description/></item><item><title>Introduction to Pixel Bender (Part 1) by Lee Brimelow</title><link>https://blog.arcanelab.com/2011/04/introduction-to-pixel-bender-part-1-by-lee-brimelow/</link><pubDate>Wed, 06 Apr 2011 04:20:00 +0200</pubDate><guid>https://blog.arcanelab.com/2011/04/introduction-to-pixel-bender-part-1-by-lee-brimelow/</guid><description/></item><item><title>AS3 hidden treasure in the mm.cfg file. Revealing and documenting many Flash secrets!</title><link>https://blog.arcanelab.com/2011/04/as3-hidden-treasure-in-the-mm-cfg-file-revealing-and/</link><pubDate>Sat, 02 Apr 2011 00:44:00 +0200</pubDate><guid>https://blog.arcanelab.com/2011/04/as3-hidden-treasure-in-the-mm-cfg-file-revealing-and/</guid><description/></item><item><title>The creative Flash scene is amazing.</title><link>https://blog.arcanelab.com/2011/03/the-creative-flash-scene-is-amazing/</link><pubDate>Fri, 25 Mar 2011 22:58:00 +0100</pubDate><guid>https://blog.arcanelab.com/2011/03/the-creative-flash-scene-is-amazing/</guid><description>&lt;p&gt;&lt;object width="500" height="301"&gt;&lt;param name="movie" value="http://images.tv.adobe.com/swf/player.swf"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;param name="FlashVars" value="fileID=6950&amp;amp;context=546&amp;amp;embeded=true&amp;amp;environment=production"&gt;&lt;/param&gt;&lt;embed src="http://images.tv.adobe.com/swf/player.swf" flashvars="fileID=6950&amp;amp;context=546&amp;amp;embeded=true&amp;amp;environment=production" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="301"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/p&gt;
&lt;div class="caption"&gt;&lt;p&gt;The creative Flash scene is amazing. I really enjoy watching presentations from various Flash events to be inspired by the talented speakers.&lt;/p&gt;
&lt;p&gt;In the following weeks I&amp;rsquo;d like to share a couple of videos from such events with you. The first one is by &lt;a href="http://unitzeroone.com/blog/"&gt;Ralph Hauwert&lt;/a&gt;, presented at the Flash Camp Tokyo in 2010. I&amp;rsquo;m especially happy to see the demoscene mentioned in the video. The talk is titled &amp;ldquo;Skunkworks&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Enjoy and be inspired!&lt;/p&gt;</description></item><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><item><title>AS3 joy and frustration In the past few weeks I’ve been digging into the realms of the…</title><link>https://blog.arcanelab.com/2008/10/as3-joy-and-frustration-in-the-past-few-weeks-ive-been/</link><pubDate>Fri, 24 Oct 2008 23:55:00 +0200</pubDate><guid>https://blog.arcanelab.com/2008/10/as3-joy-and-frustration-in-the-past-few-weeks-ive-been/</guid><description>&lt;h1&gt;AS3 joy and frustration&lt;/h1&gt;
&lt;p&gt;In the past few weeks I&amp;rsquo;ve been digging into the realms of the Actionscript world as much as I could. (And I was never as excited about any programming language before as I am about AS3.) I&amp;rsquo;ve been reading &lt;b&gt;tons &lt;/b&gt;of documentations (primarily &lt;a target="_blank" href="http://www.adobe.com/go/programmingAS3"&gt;this&lt;/a&gt; one, several times), and still I have black spots even on pretty basic stuff.&lt;/p&gt;
&lt;p&gt;For example, take this code:&lt;/p&gt;
&lt;pre class="sh_cpp"&gt;package &lt;br/&gt;{&lt;br/&gt;	import flash.display.Sprite;&lt;br/&gt;	import flash.events.*;&lt;br/&gt;&lt;br/&gt;	public class Main extends Sprite &lt;br/&gt;	{&lt;br/&gt;&lt;br/&gt;		public function Main():void &lt;br/&gt;		{&lt;br/&gt;			if (stage) init();&lt;br/&gt;			else addEventListener(Event.ADDED_TO_STAGE, init);&lt;br/&gt;		}&lt;br/&gt;&lt;br/&gt;		private function init(e:Event = null):void &lt;br/&gt;		{&lt;br/&gt;			removeEventListener(Event.ADDED_TO_STAGE, init);&lt;br/&gt;			// entry point&lt;br/&gt;&lt;br/&gt;			graphics.beginFill(0x7f7f7f);&lt;br/&gt;			graphics.drawCircle(300, 300, 300);&lt;br/&gt;			graphics.endFill();&lt;br/&gt;&lt;br/&gt;			addEventListener(MouseEvent.MOUSE_MOVE, handler);&lt;br/&gt;		}&lt;br/&gt;&lt;br/&gt;		private function handler(e:MouseEvent):void&lt;br/&gt;		{&lt;br/&gt;			trace(e);&lt;br/&gt;		}		&lt;br/&gt;	}	&lt;br/&gt;}&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;/pre&gt;
&lt;p&gt;Seems pretty trivial, eh? The problem is that if I attach an event-listener to the main class of the swf file (as I did in the example above), seemingly no &lt;b&gt;MouseEvent&lt;/b&gt; will be dispatched to the handler. If I add the very same event-listener to the &lt;i&gt;stage&lt;/i&gt;, the mouse events suddenly start to be delievered.&lt;/p&gt;</description></item></channel></rss>