<?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>JonnyReeves.co.uk &#187; fotb</title>
	<atom:link href="http://www.jonnyreeves.co.uk/tag/fotb/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jonnyreeves.co.uk</link>
	<description>Actionscript, Flash, PHP and stuff</description>
	<lastBuildDate>Mon, 19 Jul 2010 15:36:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flash on the Beach 2008 &#8211; Tuesday Write Up</title>
		<link>http://www.jonnyreeves.co.uk/2008/10/flash-on-the-beach-2008-tuesday-write-up/</link>
		<comments>http://www.jonnyreeves.co.uk/2008/10/flash-on-the-beach-2008-tuesday-write-up/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 10:34:24 +0000</pubDate>
		<dc:creator>Jonny</dc:creator>
				<category><![CDATA[ActionScript 2]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[fotb]]></category>

		<guid isPermaLink="false">http://www.jonnyreeves.co.uk/?p=61</guid>
		<description><![CDATA[I went down to the Flash on the Beach 08 conference yesterday, here&#8217;s some of the notes that I wrote up on the train back:
Creating The Next Generation Happy Meal Toy
Julain Dolce
Julian is lead Developer for Fuel Industies, a creative agency that worked on a large scale campaign for the fast food chain McDonalds.  [...]]]></description>
			<content:encoded><![CDATA[<p>I went down to the <a href="http://flashonthebeach.com/">Flash on the Beach</a> 08 conference yesterday, here&#8217;s some of the notes that I wrote up on the train back:</p>
<h2><strong>Creating The Next Generation Happy Meal Toy</strong></h2>
<p><em>Julain Dolce</em></p>
<p>Julian is lead Developer for <a href="http://www.fuelindustries.com/">Fuel Industies</a>, a creative agency that worked on a large scale campaign for the fast food chain McDonalds.  The project was a rich multimedia experience centred on <a href="http://www.fuelindustries.com/casestudies/fairiesanddragons/">magical fairies and dragons</a>.  The application was delivered on CD which was bundled with Happy Meals.  The campaign proved very successful pushing over 80 million units in 30 countries.  He began his presentation with a brief overview of the product (marred somewhat by the fact the projector was not playing ball and he had to show it to the audience from the screen of his 15” Macbook).</p>
<p>Julian&#8217;s project had several key requirements which were taken into consideration during the initial planning stage:</p>
<ul>
<li> App. must be Cross Platform (Win32 and Mac OS)</li>
<li> Installed from a CD, with no internet access required</li>
<li> Handle multiple windows (for performance) and alpha transparency</li>
</ul>
<p>This ruled out Adobe Air 1.0 as it can&#8217;t be installed solely from a CD, it also has issues with full frame transparency.  As a result they settled on a mixture of <a href="http://www.multidmedia.com/software/zinc/">MDM Zinc 3</a> and <a href="http://www.screentime.com/software/mprojector/">mProjector</a>.  They also used <a href="http://bitrock.com/products_installbuilder_overview.html">Install Builder</a>, which is a Cross Platform (Win32, Linux and Mac) installation creator.  Their main Flash tools were FDT and Eclipse, they made use of SVN and constructed a couple of custom tools in C# using <a href="http://en.wikipedia.org/wiki/Windows_Presentation_Foundation">WPF on Win32</a></p>
<p>Julian’s team ended up building most of their application in ActionScript 2, Julain cited this was because of a lack of a mature ActionScript 3 development environment when the project was started in the summer of 2007.  They used SVN to keep code versioned, Mantis to track bugs and took advantage of an automated build process to get the builds out to testers.  They also kept Excel spreadsheets for each library asset which detailed file locations, settings (offsets, alpha, and compression ratios for all Cell animations, sounds and linkageid&#8217;s, etc.</p>
<p>The team made use of JSFL, which can be used to create custom scripts inside Adobe CS Applications &#8211; one such example was the ability to apply an affect to the selected symbols in the Document&#8217;s Library.</p>
<p>Their major testing problem was performance bound &#8211; using fullscreen alpha transparency bought things to a crawl and meant click events went unnoticed on slower machines &#8211; as a result they split the animations down into separate transparent windows which moved across the stage (the user’s desktop).  They used LocalConnection calls to get these panels to talk to each other and sync up.</p>
<p>Although the project appeared to go smoothly and was obviously successful, Julian did admit to one major failing.  In the time between sending the CD&#8217;s off for pressing in China and the returned product &#8211; Mac OS X 10.5 shipped &#8211; and unfortunately, their application did not work on it &#8211; whoops.</p>
<h2>Adobe Town Hall Meeting</h2>
<p><em>Richard Galvan, Mike Downey, Paul Betlem, Lee Brimelow and Matt Millar.</em></p>
<p>The second talk of the day consisted of 5 members of the Adobe Team &#8211; 3 platform evangelists and two Flash Player engineers.  The group asked questions asked by the audience.  I managed to ask a question in the session:</p>
<p>&#8220;The company I work for are currently porting a large scale AS2 project to AS3 and were disheartened by the lack of support and tools made available by Adobe to assist in this.  By using the Proxy class we have managed to create shims for most the intrinsic AS2 classes, but I Would like to know why Adobe did not do this and release it to the community.&#8221;</p>
<p>Their reply wasn’t what I was hoping for (but was to be expected).  I was told that Actionscript 3 was designed to target new customers and that they wanted to add as many features as possible to the language. I’m not quite sure what to infer from this seeing as AS2 obviously had a massive user base.  The group did, however, acknowledge that the lack of community support in the transition from AS2 to AS3 was a problem (although, again, made no indication that any tools would be forthcoming) .  They rounded off my question by assuring that ASVM1 Content (AS1 and 2 SWFs) would continue to be usable in Flash Player releases in the future.</p>
<p>Another interesting question that was asked was about the support for Dynamic Runtime Languages to script the published flash applications and allow greater control at runtime.  The team responded by saying that a new project &#8211; FLACC (FLAsh C++) is in the works which will allows C++ code to run natively inside the Flash Player. This could lead to other language interpreters being made available and will prove a very powerful tool for ActionScript developers.</p>
<p>Adobe also confirmed that Flash 10 is being worked on for the iPhone &#8211; but Apple has not confirmed it will be approved.  Flash Player 10 will include the new unloadAndStop() method to help with Garbage Collection when unloading external content in the Player and that there is no AS4 on the cards &#8211; instead they will work on improving AS3 whilst pushing ECMAScript 4 forwards (they hinted that Private Constructors might be coming back)</p>
<p>After the Session I spoke to an Adobe Flash Player engineer, Matt Millar.  I told him about our Library Linkage Problem where Child Objects placed on the stage in frame 2 (or greater) are not linked to the Display Chain on the first tick.  Whilst I was asking this question, another developer stepped in and claimed it was a major problem for his team.  I gave Matt my business card and the told me he would be in touch &#8211; I&#8217;m hoping that this will be fixed before FP 10 is released, but I am not holding my breath!</p>
<h2>Grant Skinner</h2>
<p><em>Things every ActionScript developer should know.</em></p>
<p>Grant is a well revered programmer in the ActionScript community, <a href="http://gskinner.com/blog/">his Blog</a> provides an excellent resource and he heads up his own <a href="http://gskinner.com/site2_5/">development team</a>.  Grant&#8217;s talk was aimed at developers of all skill levels, but focused mainly on the grass roots.  Grant gave an interesting presentation which, in his words, he wished someone had given to him 5 years ago &#8211; I&#8217;m not sure I can agree it was as life changing as Grant made out &#8211; but that may be in part due to the best practices which Mind Candy&#8217;s dev team strives towards ;)</p>
<p>Grant started off by assuring the audience that were no right answers in programming &#8211; don’t be driven to fake absolutes, although there are no definitive right answers there are plenty of wrong ones!  Code is art, Grant stressed, learn the rules before you can start to break them and don’t get hooked on Design Patterns – they’re not the answer to everything.</p>
<p>Grant then proceeded to lay down some programming fundamentals &#8211; Enforce code standards as it makes inheriting files easier.  Think of code like <a href="http://en.wikipedia.org/wiki/Lego">Lego</a>, not <a href="http://en.wikipedia.org/wiki/Play-Doh">Playdoh</a>.  If you are building a space ship in Playdoh and want to change the engine you have to pull it all apart &#8211; with Lego you can take apart and reassemble with ease &#8211; your code should be like this too.  Code flows down in specialisation &#8211; at the very top of the Object stack is the Main Application Controller which includes very specific logic for this one particular app &#8211; however as you move outwards, objects should become more generic and reusable.  When working with reusable code, remember inside looking out &#8211; prefer composition and event dispatching over tight coupling and inheritance.</p>
<p>Grant also recommended the use of Service delegates to act as a layer between Server Side logic and Controller Logic in Flash, that way, the server side logic can change with only the one class needing modification on the Flash side.</p>
<p>Moving towards Flash Player specifics, Grant told the audience to always keep learning &#8211; read every API you can &#8211; you don&#8217;t have to specialise but at least know what FP10 is capable of.  Also remember that AS3 needs you to be very particular about Garbage Collection &#8211; always create destructors in your AS3 objects to handle this in one place.</p>
<p>Grant bought up the concept of using Timeline based Event dispatching.  His example was a simple graphical dialogue box (like we use in Moshi), where the box just dispatches events when it finished tweening in / out &#8211; that way Classes using this Timeline code / Library Linage just need to register for its events removing any form of tight coupling.  Grant proceeded to talk about he makes use of JSFL to create custom Panels and &#8220;Graphical Objects&#8221;  &#8211; a single click from the command line laid out all the frames, labels and AS3 timeline code for creating a Graphical Button (including the Linkage name!)</p>
<p>Finally, Grant reminded the audience that we are blessed to have the Flash IDE &#8211; we can create prototype and concepts in seconds &#8211; get out there an experiment!</p>
<p>You can view Grant&#8217;s <a href="http://gskinner.com/talks/thingseveryflash/">slides for his presentation</a> over on his site &#8211; note that you will need <a href="http://labs.adobe.com/downloads/flashplayer10.html">Flash Player 10 beta</a> installed as he makes use of the new 3D features present</p>
<h2>Platform Jujitsu</h2>
<p><em>Lee Brimelow</em></p>
<p>Lee (who runs <a href="http://theflashblog.com/">theflashblog.com</a>) came back in the afternoon to evangelise about the new CS4 platform, showing us some of the new features available across the entire product line (Flash CS4, Flex Builder 4 and Flash Player 10).  He started off his speech by outlining that Flash Developers much be proficient in 5 main areas:</p>
<ul>
<li> Motion and Video</li>
<li> Visual Design (using Photoshop and Illustrator)</li>
<li> Object Orientated ActionScript</li>
<li> Flash and Flash IDE&#8217;s</li>
<li> Server Side Integration</li>
</ul>
<p>With the introduction out of the way, Lee went on to talk about some of the new features in Flash Player 10.  First up was native 3D &#8211; this provides full antialiased 3D inside with AS3, and, as it&#8217;s intrinsic to the player, it&#8217;s very fast!  Lee stressed that this was meant to compliment, not replace more mature and capable 3D engines like PaperVision (but mentioned that there were plenty of new API&#8217;s that those guys would be hooking in to to speed things up).  To accompany this, the drawing API has received an overhaul to allow drawing and manipulating programmatically generated 3D Objects</p>
<p>Next up was Adobe&#8217;s Advanced Text Engine &#8211; this is in the form of an AS3 API which Lee described as bewildering to anyone except &#8220;Text Nerds&#8221; &#8211; he said it provided an incredible amount of control &#8211; so much so that they were planning to release a CS4 component shortly after release which would allow &#8220;normal people&#8221; to harness it&#8217;s power &#8211; he did however say that this component would not ship with CS4.</p>
<p>Flash Player 10 will incorporate a host of &#8220;tweaks&#8221; including true Hardware Acceleration which will improve the speed of Video and Bitmap Manipulation (Filters, Pixel Bender operations).  Local file access will be included (but will require user prompts), the previously mentioned unloadAndStop() method will be added and the new <a href="http://www.mikechambers.com/blog/2008/08/19/using-vectors-in-actionscript-3-and-flash-player-10/">Vector datatype</a> for strongly typed Arrays.</p>
<p>One of the new features that Lee was getting excited about was <a href="http://www.kaourantin.net/2008/05/adobe-pixel-bender-in-flash-player-10.html">Pixel Bender</a> &#8211; this allows image processing with shaders and filters and looked very interesting.  Lee showed a custom demo where he <a href="http://theflashblog.com/?p=386">created his own filter</a> in HLSL (High Level Shader Language &#8211; which looked a bit like C#).  One of the most exciting things about Pixel Bender is the fact that it is threaded separately from Flash Player &#8211; Lee said that complex calculations could be passed off to the Pixel Bener to allow for Mutli Threading in Flash Applications &#8211; if this is true, and it&#8217;s as easy as Lee hinted then this will be a major break through for Flash Player and will be immensely useful for <a href="http://www.moshimonsters.com/">complex Flash Apps</a>.</p>
<p>Lee proceeded to talk about Adobe Air 1.5 and Flex Builder 4, neither of which sounded very exciting &#8211; alough Flex 4 will feature (yet another) XML based language for handling graphics in Flex.</p>
<p>Finally, Lee showed us some of the features of the new Flash CS4 IDE including live previews of 3d Images.  The Flash Properties Panel now includes a new Z property alongside the traditional x and y which allows you to move symbols in space (away from the camera) &#8211; he whipped up a simple, live demonstration of this which was very impressive, however, he insisted the really cold 3D features would only be available via AS3 scripting.  He wrapped up his Flash CS4 presentation by mentioning that the Flash IDE ActionScript Panel had not been touched in this release &#8211; in his own words &#8211; fail.</p>
<h2>The Best 8 to 12 Hours of My Life</h2>
<p><em>Robert Hodgin</em></p>
<p>The day ended with a visual presentation by <a href="http://www.flight404.com/">Robert Hodgin</a> who specialises in Audio Visualisation code &#8211; whilst not ActionScript based, his visuals provided some inspiring ideas and concepts along with a recommendation that the audience branch out and try a hit of &#8216;cid if they haven&#8217;t had the privilege.</p>
<p><a href="http://www.flight404.com/_videos/magnetosphere/index.html">Magneto Visulisation of Trentemoller&#8217;s Miss You</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonnyreeves.co.uk/2008/10/flash-on-the-beach-2008-tuesday-write-up/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
