<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FBoyle.com</title>
	<atom:link href="http://www.fboyle.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fboyle.com/blog</link>
	<description>Adobe Flash Development</description>
	<lastBuildDate>Fri, 18 May 2012 08:13:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Slides from my recent talk about Javascript and the Haxe programming language</title>
		<link>http://www.fboyle.com/blog/222/slides-from-my-recent-talk-about-javascript-and-the-haxe-programming-language/</link>
		<comments>http://www.fboyle.com/blog/222/slides-from-my-recent-talk-about-javascript-and-the-haxe-programming-language/#comments</comments>
		<pubDate>Fri, 18 May 2012 08:11:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[community]]></category>
		<category><![CDATA[haXe]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.fboyle.com/blog/?p=222</guid>
		<description><![CDATA[Last week I gave a talk to the local user group about targeting Javascript using a language that I am really enthusiastic about called Haxe.  I&#8217;ve been using it for almost two years now and am completely sold on it as a viable way to develop applications that can target both Javascript and Flash runtimes. [...]]]></description>
			<content:encoded><![CDATA[<p>Last week I gave <a href="http://www.meetup.com/augdublin/events/59997072/">a talk to the local user group</a> about targeting Javascript using a language that I am really enthusiastic about called <a title="Haxe" href="http://www.haxe.org">Haxe</a>.  I&#8217;ve been using it for almost two years now and am completely sold on it as a viable way to develop applications that can target both Javascript and Flash runtimes.  The language has an impressive array of features (strict typing, type inference, method inlining, block scope, oop etc) that is not available when directly coding in Javascript.  I found it very easy to get up and running with this language because of its ECMA style syntax.</p>
<p>Here is a link to <a title="Javascript and Haxe, Dublin 2012" href="http://fboyle.com/presentations/haxejs/#1">my slides</a> and to find out more about this language visit <a title="Haxe support" href="http://fboyle.com/presentations/haxejs/#19">these links</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/home/?status=Slides+from+my+recent+talk+about+Javascript+and+the+Haxe+programming+language+http%3A%2F%2Fwww.fboyle.com%2Fblog%2F%3Fp%3D222" title="Post to Twitter"><img class="nothumb" src="http://www.fboyle.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big4.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.fboyle.com/blog/222/slides-from-my-recent-talk-about-javascript-and-the-haxe-programming-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eLearning Activities on the iPad</title>
		<link>http://www.fboyle.com/blog/220/elearning-activities-on-the-ipad/</link>
		<comments>http://www.fboyle.com/blog/220/elearning-activities-on-the-ipad/#comments</comments>
		<pubDate>Fri, 18 May 2012 08:10:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[elearning]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[eLearning]]></category>

		<guid isPermaLink="false">http://www.fboyle.com/blog/?p=220</guid>
		<description><![CDATA[I&#8217;m delighted to hear that Folens have won a  gold medal in the eLearning category at the 2012 Digital Media Awards on 30th March in the Convention Centre in Dublin for their Active Maths product. This is a project that I helped with at the end of last year. Here are some screen captures of a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m delighted to hear that <a title="Folens Educational Publishers" href="http://www.folens.ie/">Folens</a> have won a  gold medal in the eLearning category at the <a title="digital media" href="http://digitalmedia.ie/">2012 Digital Media Awards </a>on 30th March in the Convention Centre in Dublin for their <a title="Active Maths" href="http://www.folens.ie/catalog/active_maths.php">Active Maths</a> product.  This is a project that I helped with at the end of last year.<br />
<br/><br />
Here are some screen captures of a couple of the activities that I helped develop:</p>
<p><iframe src="http://player.vimeo.com/video/42389410" width="500" height="375" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<p><iframe src="http://player.vimeo.com/video/42389409" width="500" height="375" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/home/?status=eLearning+Activities+on+the+iPad+http%3A%2F%2Fwww.fboyle.com%2Fblog%2F%3Fp%3D220" title="Post to Twitter"><img class="nothumb" src="http://www.fboyle.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big4.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.fboyle.com/blog/220/elearning-activities-on-the-ipad/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Review of haXe 2 Beginner&#8217;s Guide</title>
		<link>http://www.fboyle.com/blog/204/review-of-haxe-2-beginners-guide/</link>
		<comments>http://www.fboyle.com/blog/204/review-of-haxe-2-beginners-guide/#comments</comments>
		<pubDate>Sun, 07 Aug 2011 20:14:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[community]]></category>
		<category><![CDATA[haXe]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.fboyle.com/blog/?p=204</guid>
		<description><![CDATA[You won&#8217;t find many book reviews on this blog (none actually &#8211; until now !) but I figured that this might be a good way to learn more about haXe.  The book in question is referred to as a beginner&#8217;s guide.  I don&#8217;t consider myself an absolute beginner but, with only a year&#8217;s experience with [...]]]></description>
			<content:encoded><![CDATA[<p>You won&#8217;t find many book reviews on this blog (none actually &#8211; until now !) but I figured that this might be a good way to learn more about <a title="haXe" href="http://haxe.org">haXe</a>.  The book in question is referred to as a beginner&#8217;s guide.  I don&#8217;t consider myself an absolute beginner but, with only a year&#8217;s experience with the language, I have much to learn.  Besides, my main focus has been Flash development and there is a lot more to haXe than creating SWF files.</p>
<p>This was part of the appeal to learning haXe in the first place &#8211; to not be tied to a single platform and to equip myself with the skills and knowledge to diversify if and when I need to or want to.</p>
<p>So how does <a title="haXe 2 Beginner's Guide" href="http://link.packtpub.com/VwVteG">haXe 2; Beginner&#8217;s Guide</a> help with this?</p>
<p>Well, I&#8217;ve started learning how to develop on the PHP target after studying this book.  I&#8217;ve been planning on doing this anyway but now I&#8217;m a little ahead of myself.  I also tried using <a title="SPOD" href="http://haxe.org/doc/neko/spod">SPOD</a> for the first time (and think it is a great feature!).  I was aware of SPOD before reading the book but the simple blog exercise in Chapters 8 and 9 made it very accessible to me &#8211; it turns out the basics are not that difficult after all.</p>
<p>Reading the <a title="haXe 2 Beginner's Guide" href="http://link.packtpub.com/VwVteG">book</a> has also prompted me to look further into templating in haXe and I&#8217;m now considering using this feature to generate XML files for an upcoming project.</p>
<p>Would I have learnt about these features without reading this book?  Probably.  However, a book like this helps to accelerate learning by providing the relevant information to get started in a single place.  It is hard to find the time to learn new things and I am more than happy to get help with this.</p>
<p>On a side note, I noticed that the standard <a title="haxe template api" href="http://haxe.org/api/haxe/template">haxe.Template</a> API is the templating system covered in the book even though other (more popular?) third party options exist (i.e., <a title="Templo" href="http://haxe.org/com/libs/templo">Templo</a> and <a title="htemplate" href="https://github.com/ciscoheat/htemplate/wiki">HTemplate</a>).  I also noticed that JQuery, which has recently been added to haXe&#8217;s standard javascript API, was not covered in the chapter on javascript.  I would have liked to see some JQuery examples covered.</p>
<p>I found the <a title="haXe 2 Beginner's Guide" href="http://link.packtpub.com/VwVteG">book</a> to be written in a very clear and accessible way and the information and advice contained in it is more than adequate to assist with getting started with haXe development.</p>
<p>The content of the <a title="haXe 2 Beginner's Guide" href="http://link.packtpub.com/VwVteG">book</a> is also nicely structured &#8211; each chapter begins with a gentle intro to a topic that culminates with a &#8216;have-a-go-hero&#8217; practical activity.</p>
<p>The book also follows a logical order with chapters building on what has been revealed in the preceding chapters &#8211; very conducive to learning being both continuous and progressive.  This seems like an obvious thing to get right but isn&#8217;t always the case.  I get a sense that a lot of thought has been put into it.  It could work well as a textbook to teach programming through haXe in schools.</p>
<p>The <a title="haXe 2 Beginner's Guide" href="http://link.packtpub.com/VwVteG">book</a> is far from being a definitive guide to haXe though, nor does it claim to be by the fact that it is marketed as a beginner&#8217;s guide.  There is no mention of specific third party APIs although haxelib (a common repository for community libraries) is mentioned in the Preface.  There is also no coverage of the CPP target but this is probably beyond the scope of an introductory book and really merits a book of it&#8217;s own.</p>
<p>The Flash target, which is covered mostly in the final chapter, is not covered in any great depth &#8211; this suited me just fine since it is the non-flash areas that I was interested in.  It is fair to say that Flash is adequately covered as an introductory topic to the same extent as the coverage of Neko, PHP and Javascript though and Chapter 7 provides some really useful information about getting Neko/PHP, Flash and Javascript communicating with each other.</p>
<p>So would I recommend this book?</p>
<p>Absolutely.  This <a title="haXe 2 Beginner's Guide" href="http://link.packtpub.com/VwVteG">book</a> is ideal for developers with no experience with haXe and also intermediate haXe developers with gaps in their knowledge and for those developers who are specialized in one area of haXe development but want to start broadening their knowledge.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/home/?status=Review+of+haXe+2+Beginner%E2%80%99s+Guide+http%3A%2F%2Fwww.fboyle.com%2Fblog%2F%3Fp%3D204" title="Post to Twitter"><img class="nothumb" src="http://www.fboyle.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big4.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.fboyle.com/blog/204/review-of-haxe-2-beginners-guide/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>haXe 2 Beginner&#8217;s Guide released</title>
		<link>http://www.fboyle.com/blog/189/haxe-2-beginners-guide-released/</link>
		<comments>http://www.fboyle.com/blog/189/haxe-2-beginners-guide-released/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 13:00:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[haXe]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://www.fboyle.com/blog/?p=189</guid>
		<description><![CDATA[The release of a new haXe book was announced this week by Benjamin Dasnois called haXe 2 Beginner&#8217;s Guide that I plan to review soon.  There aren&#8217;t many titles currently available for haXe so I was delighted to hear about this release and am looking forward to reading it and hopefully learning more about topics [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.fboyle.com/blog/wp-content/uploads/2011/07/haXe.jpg" rel="shadowbox[post-189];player=img;"><img class="alignnone size-full wp-image-190" title="haXe 2 Beginner's Guide" src="http://www.fboyle.com/blog/wp-content/uploads/2011/07/haXe.jpg" alt="haXe 2 Beginner's Guide" width="125" height="152" /></a></p>
<p>The release of a new haXe book was announced this week by Benjamin Dasnois called <a title="haXe 2 Beginner's Guide" href="http://www.packtpub.com/haxe-2-beginners-guide/book">haXe 2 Beginner&#8217;s Guide</a> that I plan to review soon.  There aren&#8217;t many titles currently available for haXe so I was delighted to hear about this release and am looking forward to reading it and hopefully learning more about topics that have been on my todo list.  Stay tuned..</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/home/?status=haXe+2+Beginner%E2%80%99s+Guide+released+http%3A%2F%2Fwww.fboyle.com%2Fblog%2F%3Fp%3D189" title="Post to Twitter"><img class="nothumb" src="http://www.fboyle.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big4.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.fboyle.com/blog/189/haxe-2-beginners-guide-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Flash CS5 as a layout editor for EaselJs</title>
		<link>http://www.fboyle.com/blog/140/using-flash-cs5-as-a-layout-editor-for-easeljs/</link>
		<comments>http://www.fboyle.com/blog/140/using-flash-cs5-as-a-layout-editor-for-easeljs/#comments</comments>
		<pubDate>Fri, 13 May 2011 19:50:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Box2d]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[haXe]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://www.fboyle.com/blog/?p=140</guid>
		<description><![CDATA[The HTML5 Canvas element is a natural area for a Flash developer to explore so I decided a while back to play around with some of the options out there. I&#8217;ve been using haXe for almost a year now and targeting Canvas using the Javascript target with my simple experiments has been fairly straightforward using [...]]]></description>
			<content:encoded><![CDATA[<p>The HTML5 Canvas element is a natural area for a Flash developer to explore so I decided a while back to play around with some of the options out there.</p>
<p>I&#8217;ve been using <a title="haXe " href="http://haxe.org/" target="_blank">haXe</a> for almost a year now and targeting Canvas using the Javascript target with my simple experiments has been fairly straightforward using <a title="Jeash" href="https://launchpad.net/jeash" target="_blank">Jeash</a> (an API that mirrors most of the Flash API) because the workflow is identical to a Flash workflow.  Of course the Javascript target knows nothing about SWF files so it was clear that I was going to have to wean myself away from some of the really useful features of Flash like accessing linked library objects.  Adapting my workflow was what was required and luckily there are a lot of useful libraries that individuals and companies working with haXe have made available as Open Source projects.</p>
<p>Libraries such as <a href="http://code.google.com/p/gm2d/" target="_blank">Gm2d</a> from Hugh Sanderson and the PushButton port called <a href="https://github.com/dionjwa/Hydrax" target="_blank">Hydrax </a>have been interesting but I found the <a href="http://code.google.com/p/touchmypixel/" target="_blank">TouchMyPixel</a> libraries to be particularly helpful.  Specifically, I like how they manage to use the Flash Authoring environment in their workflow even if they are not targeting the Flash Platform.</p>
<p>The TouchMyPixel code looked like a great way to further my knowledge  of how to use haXe so I ended up forking their repository on <a href="https://github.com/Fintan" target="_blank">my GitHub  account </a>and set about playing with the code and seeing if I could add  support for <a href="http://easeljs.com/" target="_blank">EaselJs</a>.</p>
<p><a href="http://easeljs.com/" target="_blank">EaselJs</a> is a library written by Grant Skinner and his team.  It effectively provides a displaylist for drawing on the Canvas element.  The API design is clearly influenced by his Flash background since it provides a Flash-like displaylist but without it being identical to the Flash Displaylist.  I was very happy when I discovered that Zjnue  had already written the <a title="EaselHx" href="https://github.com/zjnue/easelhx">EaselJs externs for haXe</a>.</p>
<p>What is nice about this approach is that I am using Flash CS5 to design layouts for Canvas-based applications and I could even make the same game or simulation also target the Flash Player.  As an added bonus, the TouchmyPixel codebase has in-built support for <a title="Box2d" href="http://www.box2d.org/">Box2d</a> and it didn&#8217;t take too much effort to get it working with EaselHx.</p>
<p>Click on this preview image to launch the Canvas demo.  When open, click on the play button to start the simulation:</p>
<p><a href="http://www.fboyle.com/dev/logos/js/" target="_blank"><img class="alignnone size-full wp-image-151" title="Screen shot 2011-05-13 at 18.11.31" src="http://www.fboyle.com/blog/wp-content/uploads/2011/05/Screen-shot-2011-05-13-at-18.11.311.png" alt="Click to see the Easeljs demo" width="473" height="259" /></a></p>
<p><a title="Flash PLayer 10 version of the demo" href="http://www.fboyle.com/dev/logos/swf/" target="_blank">Click here</a> to see a version published as a SWF file.</p>
<p>A screenshot of the demo being created in Flash CS5:</p>
<p><a href="http://www.fboyle.com/blog/wp-content/uploads/2011/05/flash_screenshot.png" rel="shadowbox[post-140];player=img;"><img class="alignleft size-full wp-image-145" title="flash_screenshot" src="http://www.fboyle.com/blog/wp-content/uploads/2011/05/flash_screenshot.png" alt="assembling the layout in Flash CS5" width="566" height="561" /></a></p>
<p>Note:  Bare in mind that my TouchmyPixel fork is just experimental &#8211; use the original TouchmyPixel codebase if you want to use something that is more tried and tested.  The CPP target is also not working in my forked project &#8211; maybe I&#8217;ll play around with that next.   Jeash is maybe a more feasible javascript option for haXe if cross-platform development and access to a more complete Flash API is important.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/home/?status=Using+Flash+CS5+as+a+layout+editor+for+EaselJs+http%3A%2F%2Ffboyle.com%2Fblog%2F%3Fp%3D140" title="Post to Twitter"><img class="nothumb" src="http://www.fboyle.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big4.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.fboyle.com/blog/140/using-flash-cs5-as-a-layout-editor-for-easeljs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to Launch Finder from Eclipse on OSX</title>
		<link>http://www.fboyle.com/blog/78/how-to-launch-finder-from-eclipse-on-osx/</link>
		<comments>http://www.fboyle.com/blog/78/how-to-launch-finder-from-eclipse-on-osx/#comments</comments>
		<pubDate>Sun, 10 Oct 2010 09:40:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flex Development]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[fdt]]></category>
		<category><![CDATA[finder]]></category>
		<category><![CDATA[flash builder]]></category>

		<guid isPermaLink="false">http://www.fboyle.com/blog/?p=78</guid>
		<description><![CDATA[Learn how to launch Finder from the Eclipse IDE in a Mac environment]]></description>
			<content:encoded><![CDATA[<p>I came across a <a href="http://blog.guya.net/2010/10/03/exotic-flash-builder-4-tips-and-tricks/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+guya+%28GUYA.NET+-+Flash+and+Everything+Else%29">useful post</a> last week on how to launch Windows Explorer in your current project directory in Eclipse and decided to dig around to find out how to set up the same for Finder on OSX.</p>
<p>The steps are the same as described in the link, except for the configuration on the main tab on the External Tools Configuration window.  The equivalent settings for Eclipse on a Mac corresponds to this terminal command:</p>
<p>current-directory-path&gt; open .</p>
<p><strong>How to Launch Finder in the project directory:</strong></p>
<p><a href="http://www.fboyle.com/blog/wp-content/uploads/2010/10/finder_frm_project.png" rel="shadowbox[post-78];player=img;"><img class="aligncenter size-medium wp-image-79" title="Launch Finder in your project directory" src="http://www.fboyle.com/blog/wp-content/uploads/2010/10/finder_frm_project-300x230.png" alt="Launch Finder in your project directory" width="300" height="230" /></a></p>
<p><strong>How to Launch Finder in the currently selected document&#8217;s directory:</strong></p>
<p>The information on <a title="help.eclipse.org" href="http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.user/concepts/concepts-exttools.htm">this page</a> helped in creating a Run Configuration that opens Finder in the directory of the currently selected document.  The working directory in this case is set using: ${workspace_loc}${container_path}</p>
<p><a href="http://www.fboyle.com/blog/wp-content/uploads/2010/10/finder_frm_current_doc.png" rel="shadowbox[post-78];player=img;"><img class="aligncenter size-medium wp-image-80" title="Launch Finder in the current file directory" src="http://www.fboyle.com/blog/wp-content/uploads/2010/10/finder_frm_current_doc-300x233.png" alt="Launch Finder in the current file directory" width="300" height="233" /></a></p>
<p>You can achieve the same thing by installing the<a title="Easy Explore Plugin" href="http://market.eclipsesource.com/yoxos/node/org.sf.easyexplore.feature.group"> Easy Explore plugin</a> but it&#8217;s good to have different options and I think that this approach is a little more convenient if it is listed on the favourites menu.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/home/?status=How+to+Launch+Finder+from+Eclipse+on+OSX+http%3A%2F%2Ffboyle.com%2Fblog%2F%3Fp%3D78" title="Post to Twitter"><img class="nothumb" src="http://www.fboyle.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big4.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.fboyle.com/blog/78/how-to-launch-finder-from-eclipse-on-osx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quick tip: How to restore toolbar and controls in Firefox</title>
		<link>http://www.fboyle.com/blog/39/quick-tip-restore-toolbar-and-controls-in-firefox/</link>
		<comments>http://www.fboyle.com/blog/39/quick-tip-restore-toolbar-and-controls-in-firefox/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 12:12:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[quick tip]]></category>

		<guid isPermaLink="false">http://fboyle.com/blog/?p=39</guid>
		<description><![CDATA[I right-mouse-clicked and removed the menu bar and all of the toolbars in Firefox a couple of weeks ago and could not find any obvious way of restoring them.  If you remove all of these toolbars and controls then the menu that appears on right mouse click is no longer accessible! My quick fix at [...]]]></description>
			<content:encoded><![CDATA[<p>I right-mouse-clicked and removed the menu bar and all of the toolbars in Firefox a couple of weeks ago and could not find any obvious way of restoring them.  If you remove all of these toolbars and controls then the menu that appears on right mouse click is no longer accessible!</p>
<p>My quick fix at the time was to install Google Chrome, which I have grown to like but I needed to use <a href="https://addons.mozilla.org/en-US/firefox/addon/6647/" title="Http Fox">HTTP Fox</a> for something today and a quick search revealed <a href="http://kb.mozillazine.org/Resetting_preferences" title="Resetting_preferences">the solution </a>to restoring the toobars.  You basically launch Firefox in safemode from the commandline with this command:</p>
<p><span class="Apple-style-span" style="border-collapse: separate; color: #000000; font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium"><span class="Apple-style-span" style="font-family: monospace; font-size: 12px; line-height: 19px">&#8220;C:\Program Files\Mozilla Firefox\firefox.exe&#8221; -safe-mode</span></span></p>
<p>A dialog will then appear providing the option to reset toolbars and controls.</p>
<p><strong>Update:</strong></p>
<p>An even quicker tip is to toggle the visibility of the menu bar by pressing the ALT key! (tip from Tony Smith)</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/home/?status=Quick+tip%3A+How+to+restore+toolbar+and+controls+in+Firefox+http%3A%2F%2Ffboyle.com%2Fblog%2F%3Fp%3D39" title="Post to Twitter"><img class="nothumb" src="http://www.fboyle.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big4.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.fboyle.com/blog/39/quick-tip-restore-toolbar-and-controls-in-firefox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Add haXe to your toolset</title>
		<link>http://www.fboyle.com/blog/38/add-haxe-to-your-toolset/</link>
		<comments>http://www.fboyle.com/blog/38/add-haxe-to-your-toolset/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 16:03:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[haXe]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://fboyle.com/blog/?p=38</guid>
		<description><![CDATA[haXe is an amazing project.  I&#8217;ve been looking at it recently as an option for producing swfs that potentially perform better than ones produced with similar code written in AS3.  Even more interesting, however, is the ability to target more than one platform with the same code base.  There are several target platforms but the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://haxe.org/" title="Haxe.org">haXe</a> is an amazing project.  I&#8217;ve been looking at it recently as an option for producing swfs that potentially perform better than ones produced with similar code written in AS3.  Even more interesting, however, is the ability to target more than one platform with the same code base.  There are several target platforms but the one that captures my attention at this moment is the Javascript target and the fact that existing Haxe libraries such as <a href="http://code.google.com/p/physaxe/" title="Physaxe">Physaxe</a> can be used with the HTML5 <a href="http://en.wikipedia.org/wiki/Canvas_element" title="html 5 canvas element">Canvas </a>element.</p>
<p>The Physaxe library contains a custom type called JsCanvas that acts as a wrapper for the Canvas element and it&#8217;s 2d drawing context.  JsCanvas shares the same method names as the graphics property belonging to display objects in Actionscript.  Compiler conditionals are then used in another class called FlashDraw to determine whether or not a member variable will be of type flash.display.Graphics or phx.JsCanvas.</p>
<p>It&#8217;s worth checking out.</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/home/?status=Add+haXe+to+your+toolset+http%3A%2F%2Ffboyle.com%2Fblog%2F%3Fp%3D38" title="Post to Twitter"><img class="nothumb" src="http://www.fboyle.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big4.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.fboyle.com/blog/38/add-haxe-to-your-toolset/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>FDT Flixel Templates</title>
		<link>http://www.fboyle.com/blog/37/fdt-flixel-templates/</link>
		<comments>http://www.fboyle.com/blog/37/fdt-flixel-templates/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 22:37:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[fdt templates]]></category>
		<category><![CDATA[flixel]]></category>

		<guid isPermaLink="false">http://fboyle.com/blog/?p=36</guid>
		<description><![CDATA[I&#8217;m familiarising myself with the features of FDT now that I have a copy and came across some useful templates here.  Decided to try making some myself for some of the Flixel classes; create a subclass of FlxGame with a frame metatag for specifying a preloader create a basic menu state with some basic presets [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m familiarising myself with the features of <a href="http://www.fdt.powerflasher.com/" title="FDT">FDT</a> now that I have a copy and came across some useful templates <a href="http://apdevblog.com/fdt-puremvc-templates-well-formed-and-pimped/" title="FDT PureMVC templates">here</a>.  Decided to try making some myself for some of the <a href="http://flixel.org/" title="Flixel">Flixel</a> classes;</p>
<ul>
<li>create a subclass of FlxGame with a frame metatag for specifying a preloader</li>
<li>create a basic menu state with some basic presets added</li>
<li>create a subclass of FlxPreloader<a href="javascript:void(0)" id="file-link-37" title="FDT Flixel Templates file" class="file-link text"> </a></li>
<li>create a subclass of FlxState that overrides create and update<a href="javascript:void(0)" id="file-link-37" title="FDT Flixel Templates file" class="file-link text"><br />
</a></li>
<li>create a subclass of FlxSprite that overrides update, hurt, kill and reset</li>
</ul>
<p><a href="http://fboyle.com/blog/wp-content/uploads/2010/03/flixeltemplate.xml" id="file-link-37" title="FDT Flixel Templates file" class="file-link text">Download here</a></p>
<p>You can add it to FDT by going to:</p>
<p>Preferences/FDT/editor/Templates &#8211; Import</p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/home/?status=FDT+Flixel+Templates+http%3A%2F%2Ffboyle.com%2Fblog%2F%3Fp%3D37" title="Post to Twitter"><img class="nothumb" src="http://www.fboyle.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big4.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.fboyle.com/blog/37/fdt-flixel-templates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PureMVC notes</title>
		<link>http://www.fboyle.com/blog/36/puremvc-notes/</link>
		<comments>http://www.fboyle.com/blog/36/puremvc-notes/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 18:24:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Flex Development]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[frameworks]]></category>
		<category><![CDATA[puremvc]]></category>

		<guid isPermaLink="false">http://fboyle.com/blog/?p=35</guid>
		<description><![CDATA[Here are notes that I wrote down during Javier Julio&#8217;s PureMVC talk at FITC Amsterdam a couple of weeks ago.  I intend to use pureMVC and they&#8217;ll be a useful reference when the time arrives.  If I have glaringly misconstrued anything please let me know The Proxy and Mediator The Proxy typically sends notifications The [...]]]></description>
			<content:encoded><![CDATA[<p>Here are notes that I wrote down during <a href="http://javier-julio.com/" title="javier-julio.com">Javier Julio&#8217;s</a> <a href="http://puremvc.org/" title="puremvc.org">PureMVC</a> talk at FITC Amsterdam a couple of weeks ago.  I intend to use pureMVC and they&#8217;ll be a useful reference when the time arrives.  If I have glaringly misconstrued anything please let me know <img src='http://www.fboyle.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>The Proxy and Mediator </strong></p>
<ul>
<li>The Proxy typically sends notifications</li>
<li>The Mediator receives notifications and can also send notifications</li>
<li>The Proxy is located in the Model and is a natural location for domain logic, something that tends to be wrongfully be placed in Commands</li>
<li>The Mediator performs the key task of separating the View and Model (which is the responsibility of the Controller in Cairngorm)</li>
<li>The Mediator and Proxy have a similar setup</li>
<li>Methods to override in the Mediator include;
<ul>
<li>listNotificationInterest(),</li>
<li>handleNotification()</li>
</ul>
</li>
</ul>
<p><strong>About Commands:</strong></p>
<ul>
<li> Since service interaction occurs in the Proxy (located in the Model), commands in the Controller are limited to things like; startup, shutdown.</li>
<li>A Command is used when you want to do multiple things in response to a notification.</li>
<li>Mediators can directly call methods on the Proxy instead of sending a notification.  You don&#8217;t have to create a Command for everything.</li>
<li>Method to override in Command
<ul>
<li>execute()</li>
</ul>
</li>
</ul>
<p><strong>The Facade </strong></p>
<ul>
<li>Facade is where you retrieve, register and remove actors.</li>
<li>The Proxies, Mediators and Commands all have access to the Facade.</li>
<li>Some of the methods to override in Facade:
<ul>
<li>retrieveProxy(proxy)</li>
<li>registerMediator(mediator)</li>
<li>registerCommand(command)</li>
</ul>
</li>
</ul>
<p><strong>Update:</strong></p>
<p>Javier got in touch with me and kindly pointed out a couple of things that I had got wrong and also offered some encouragement.  These are a few points he made (I&#8217;ve made the amendments to my notes above):</p>
<p>&#8220;The Proxy contains controller-like code but is actually in the Model part of the architecture&#8221;</p>
<p>Javier &#8211; <em>I&#8217;m not sure where you picked up this one but definitely not the case, or at least not for the Proxy. You&#8217;ll find that the Mediator already acts like a controller and that can trip people up about the framework. The reason for this is that the Mediator already does the key job of separating the View Component from the Model (e.g. a or many Proxy class) thus you don&#8217;t really have a huge need for commands, in fact very little. This is expected and because the Mediator essentially acts like a controller.</em></p>
<p>&#8220;&#8230;Controller are limited to things like; startup, shutdown, database calls.&#8221;</p>
<p>Javier &#8211; <em>I could be misunderstanding database calls here as you could mean that a Proxy that makes a call to the server to fetch data from a database but was triggered by a command. Or say an AIR app that can interact with SQLite. But things like that you want to avoid having in the Command and move into the Proxy. This is one of the big differences between PureMVC and other frameworks because by moving service interaction into the model we can achieve portability and reusability.</em></p>
<p>&#8220;Mediators can directly call methods on the Proxy instead of sending a notification sometimes.  You don&#8217;t have to create a Command for everything.&#8221;</p>
<p>Javier &#8211; <em>Cliff Hall, the creator of PureMVC, and others, especially myself couldn&#8217;t be more proud. <img src='http://www.fboyle.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  You learned probably one of the most important things to take away from the presentation. A lot of people get this wrong. I use the word &#8220;wrong&#8221; as Cliff has stated very good reasons why this is not only acceptable in the framework but pushed for you to do. Don&#8217;t create a command class for an action that only ever happens in one place, you are just doing more work and adding more bloat.</em></p>
<div class="tweetthis" style="text-align:left;"><p> <a target="_blank" rel="nofollow" class="tt" href="http://twitter.com/home/?status=PureMVC+notes+http%3A%2F%2Ffboyle.com%2Fblog%2F%3Fp%3D36" title="Post to Twitter"><img class="nothumb" src="http://www.fboyle.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big4.png" alt="Post to Twitter" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.fboyle.com/blog/36/puremvc-notes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
