<?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>Luke Sturgeon – Lab</title>
	<atom:link href="http://www.lukesturgeon.co.uk/lab/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lukesturgeon.co.uk/lab</link>
	<description>Interactive design and programming</description>
	<lastBuildDate>Tue, 10 Nov 2009 22:21:51 +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>Reading List</title>
		<link>http://www.lukesturgeon.co.uk/lab/2009/11/reading-list/</link>
		<comments>http://www.lukesturgeon.co.uk/lab/2009/11/reading-list/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 22:21:51 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Processing]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/lab/?p=350</guid>
		<description><![CDATA[I've just spent a little bit of time adding a large selection of books/links to my reading list page. I love reading and finding out about new things and books are a great way to do this. I already own and have read some of these books, others are on my wish list of books to read. Either way I thought I would share the ever-growing list with anybody who's interested.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just spent a little bit of time adding a large selection of books/links to my reading list page. I love reading and finding out about new things and books are a great way to do this. I already own and have read some of these books, others are on my wish list of books to read. Either way I thought I would share the ever-growing list with anybody who&#8217;s interested. Visit the <a href="http://www.lukesturgeon.co.uk/lab/reading-list/" target="_self">reading-list</a> page.</p>
<p><a href="http://www.lukesturgeon.co.uk/lab/reading-list/"><img class="alignnone size-full wp-image-351" title="books" src="http://www.lukesturgeon.co.uk/lab/wp-content/uploads/2009/11/books.jpg" alt="books" width="540" height="860" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/lab/2009/11/reading-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BrfDsgn</title>
		<link>http://www.lukesturgeon.co.uk/lab/2009/11/brfdsgn/</link>
		<comments>http://www.lukesturgeon.co.uk/lab/2009/11/brfdsgn/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 20:31:25 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/lab/?p=327</guid>
		<description><![CDATA[I&#8217;ve just finished working with BrfDsgn to create the new portfolio website that showcases some incredible design work. The Flash website is a minimal portfolio site that uses subtle animation and deep-link to create a responsive and smooth experience. View the project here.


]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished working with BrfDsgn to create the new portfolio website that showcases some incredible design work. The Flash website is a minimal portfolio site that uses subtle animation and deep-link to create a responsive and smooth experience. View the project <a href="http://www.brfdsgn.com/" target="_blank">here</a>.</p>
<p><img class="alignnone size-full wp-image-331" title="brfdsgn3" src="http://www.lukesturgeon.co.uk/lab/wp-content/uploads/2009/11/brfdsgn3.jpg" alt="brfdsgn3" width="540" height="405" /></p>
<p><img class="alignnone size-full wp-image-329" title="brfdsgn2" src="http://www.lukesturgeon.co.uk/lab/wp-content/uploads/2009/11/brfdsgn2.jpg" alt="brfdsgn2" width="540" height="405" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/lab/2009/11/brfdsgn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aunt Bessie&#8217;s</title>
		<link>http://www.lukesturgeon.co.uk/lab/2009/11/aunt-bessies/</link>
		<comments>http://www.lukesturgeon.co.uk/lab/2009/11/aunt-bessies/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 20:27:46 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/lab/?p=324</guid>
		<description><![CDATA[I&#8217;ve just finished working on the new Aunt Bessies microsite. I was working with VCCP to create the microsite that combined some 3D animation in After Effects, page flipping, Flash animation, a webservice, a competition and some creepy eyes that follow you around. You can visit the project here.

]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just finished working on the new Aunt Bessies microsite. I was working with VCCP to create the microsite that combined some 3D animation in After Effects, page flipping, Flash animation, a webservice, a competition and some creepy eyes that follow you around. You can visit the project <a href="http://mm.auntbessies.co.uk/" target="_blank">here</a>.</p>
<p><img class="alignnone size-full wp-image-325" title="aunt-bessies" src="http://www.lukesturgeon.co.uk/lab/wp-content/uploads/2009/11/aunt-bessies.jpg" alt="aunt-bessies" width="540" height="791" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/lab/2009/11/aunt-bessies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Menu classes on code.google.com</title>
		<link>http://www.lukesturgeon.co.uk/lab/2009/11/menu-classes-on-code-google-com/</link>
		<comments>http://www.lukesturgeon.co.uk/lab/2009/11/menu-classes-on-code-google-com/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 10:05:39 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/lab/?p=321</guid>
		<description><![CDATA[http://code.google.com/p/lukelibs/ is my page. And I will try and document the classes and give code example in the wiki, although you can always download the menu package now as the classes are heavily documented and not particularly complex.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been developing various custom classes over the past year that have helped me to quickly develop website that share similar functionality. The most used and most refined of these classes is definitely my Menu class.</p>
<p>So that I can share it with anyone else who&#8217;s interested, as well as store it somewhere safe where I can control the versioning I have uploaded the classes to my new google code page. At the moment the only package that&#8217;s hosted is the menu class, over the next few months I will probably upload more, as well as code examples to help create specific effects using these classes.</p>
<p><a title="google code" href="http://code.google.com/p/lukelibs/" target="_blank">http://code.google.com/p/lukelibs/</a> is my page. And I will try and document the classes and give code example in the wiki, although you can always download the menu package now as the classes are heavily documented and not particularly complex.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/lab/2009/11/menu-classes-on-code-google-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FOTB 2009</title>
		<link>http://www.lukesturgeon.co.uk/lab/2009/09/fotb-2009/</link>
		<comments>http://www.lukesturgeon.co.uk/lab/2009/09/fotb-2009/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 08:32:11 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/lab/?p=279</guid>
		<description><![CDATA[
I&#8217;ve just spent the past 4 days at this years Flash on the Beach conference, and honestly, it blew my mind! Last year was my first year and I found that fantastic, but the speakers and content at this years conference was exactly what I wanted to hear. It was a great place to be [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-315" title="IMG_0052" src="http://www.lukesturgeon.co.uk/lab/wp-content/uploads/2009/09/IMG_0052.jpg" alt="IMG_0052" width="540" height="405" /></p>
<p>I&#8217;ve just spent the past 4 days at this years Flash on the Beach conference, and honestly, it blew my mind! Last year was my first year and I found that fantastic, but the speakers and content at this years conference was exactly what I wanted to hear. It was a great place to be inspired and to catch up with friends, here are summaries of the talks that I saw:</p>
<p><span id="more-279"></span></p>
<p><strong>Day 0:</strong></p>
<p><em>Papervision3D workship with </em><em><a href="http://www.sebleedelisle.com/" target="_blank">Seb Lee-Delisle</a></em> – I kicked off the week with an official training workshop from Seb who is also a member of the Papervision3D team. It was fantastic and really gave me a good understanding of the basics of Papervision3D and introduced me to the basics so that I now feel a lot more confident and working on a Papervision3D project. Expect to start seeing some PV3D experiments appearing soon.</p>
<p><strong>Day 1:</strong></p>
<p><em>The shoemakers son always goes barefoot with </em><em><a href="http://www.powerflasher.com/" target="_blank">Carlo Blatz</a></em> – This talk was extremely interesting and Carlo was explaining a new working practice that they had introduced in to the PowerFlasher studio. The basic idea was to split a large project up in to many, many keywords. A team that consists of designers, programmers, creatives and other individuals then work collaboratively to try and create a solution that work with a handful of these keywords in two week iterations. At the end of the two weeks the current solution is given to the client for direct feedback. Then they pick another few keywords and incorporate these in to the next two week iteration. Eventually creating a final solution that solves everything, but couldn&#8217;t have been conceived at the very beginning of the project.</p>
<p><em>Fear/Love with </em><em><a href="http://theronin.co.uk/Motion/" target="_blank">Rob Chiu</a></em> (aka. The Ronin) – Rob gave a detailed explanation of the process he went through to create his most recent short film. He explained the casting process, his reasons for choosing the final cast members, the locations, the grading process and the way his initial ideas were eventually developed in to the final piece. This was a really interesting talk that was also a welcome change from more typical &#8216;Flash&#8217; talks that took up the bulk of the conference.</p>
<p><em>Cybernetic Art Revisited with </em><em><a href="http://blog.drwoohoo.com/" target="_blank">Dr Woohoo</a></em> – This was a great talk from Dr Woohoo where he shared a wealth of information, images and videos about cybernetic art. He&#8217;s spent many years devoting his time this topic and had some fantastic and inspirational examples to share with the audience. I definitely left this talk feeling more excited about working in Interaction Design.</p>
<p><em>Inspired with </em><em><a href="http://www.joelgethinlewis.com/" target="_blank">Joel Gethin Lewis</a></em> – A fantastic talk from Joel explaining some of the projects he&#8217;s worked on recently and whilst working at United Visual Artists as an Interaction Designer.</p>
<p><strong>Day 2:</strong></p>
<p><em>Quick as a Flash with </em><em><a href="http://www.gskinner.com/blog/" target="_blank">Grant Skinner</a></em> – Grant shared many tips with the audience including optimising ActionScript and graphics. He spoke heavily about &#8216;thinking&#8217; more when it comes to building an app. Making sure that you only do a set amount of actions per frame so that you give the Flash Player enough time to run it&#8217;s own internal Garbage Collector.</p>
<p><em>An Interaction Designers guide to play with </em><em><a href="http://www.polaine.com/" target="_blank">Andy Polaine</a></em> – Andy spoke about many aspects of Interaction Design and gave examples of successful projects and the ways Interaction Designers can create more emotional connections with a user by creating a more playful interface.</p>
<p><em>We make our own tools, and then they shape use with </em><em><a href="http://postspectacular.com/" target="_blank">Karsten Schmidt</a></em> – Karsten showed the audience some of the incredible work that he has been responsible as well as the work that other people have produced with the open source libraries that he has created to help people developing computational art. His work always impresses me and is one of the main reasons I&#8217;m excited about working in the processing environment to create interactive art pieces and complex data visualisations.</p>
<p><strong>Day 3:</strong></p>
<p><em>Connecting the dots with </em><em><a href="http://www.quasimondo.com/" target="_blank">Mario Klingemann</a></em> – Mario blew my mind (along with the rest of the audience) in this session and explained his interests in complex Math and how his reading and experimentation developed in to the examples he shared with us. For example he built a fantastic tool that could create an almost limitless variety of visual effects by changing tiny variables in a Cellular Automata simulation.</p>
<p><em>Work/Play with </em><em><a href="http://www.sebleedelisle.com/" target="_blank">Seb Lee-Delisle</a></em> – Seb gave a playful and engaging talk about making sure you balance playing and working and how one can affect the other. He issues 3D glasses to the audience for one demonstration of his interactive pong game which allowed the whole audience to affect the game by waving glow sticks which were picked up by the webcam.</p>
<p><em>Flashed Fashion with Andy McDonald</em> – Andy spoke about the work he has been doing creating Flex applications that allow a user to create a completely unique textile design which can then be saved as an xml file and imported in to Illustrator and the Photoshop and outputted to a large textiles printer.</p>
<p><em>Seeing sound with </em><em><a href="http://www.frogdesign.com/" target="_blank">Jared Ficklin</a></em> – Jared&#8217;s talk was probably one that I laughed the most in. His attitude and sense of humor is fantastic, and seeing him hook up some tubes and speakers to a propane canister and use fire to visualise the different sound frequencies was exceptional.</p>
<p><em>Space with </em><em><a href="http://www.joshuadavis.com/" target="_blank">Joshua Davis</a></em> – The conference closed with a final session from the legendary Joshua Davis. It was my first time seeing Joshua talk and he definitely did not disappoint. He is a great speaker with great work and an animated sense of humor. Definitely a great way to end the fantastic conference.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/lab/2009/09/fotb-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RGB TouchOSC experiment</title>
		<link>http://www.lukesturgeon.co.uk/lab/2009/09/rgb-touchosc-experiment/</link>
		<comments>http://www.lukesturgeon.co.uk/lab/2009/09/rgb-touchosc-experiment/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 07:56:39 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[Processing]]></category>
		<category><![CDATA[Experiment]]></category>
		<category><![CDATA[interaction]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[TouchOSC]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/lab/?p=236</guid>
		<description><![CDATA[A recent experiment using processing and TouchOSC on the iPhone to create wireless interaction.]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="540" height="405" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=6604718&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="540" height="405" src="http://vimeo.com/moogaloop.swf?clip_id=6604718&amp;server=vimeo.com&amp;show_title=0&amp;show_byline=0&amp;show_portrait=0&amp;color=ff0179&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://vimeo.com/6604718">RGB TouchOSC experiment</a> from <a href="http://vimeo.com/lukesturgeon">Luke Sturgeon</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>I&#8217;ve justed uploaded the processing source file for this experiment, you can download it <a href="http://www.lukesturgeon.co.uk/lab/demos/processing/sketch_sep09a.pde.zip" target="_blank">here</a>. You will also need to download the TouchOSC iPhone app and follow the instructions on their <a href="http://hexler.net/software/touchosc" target="_blank">website</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/lab/2009/09/rgb-touchosc-experiment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interaction Design</title>
		<link>http://www.lukesturgeon.co.uk/lab/2009/09/interaction-design/</link>
		<comments>http://www.lukesturgeon.co.uk/lab/2009/09/interaction-design/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 09:36:00 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/lab/?p=234</guid>
		<description><![CDATA[So my new challenge and also my (why didn't I think of this earlier) is to start taking time out to research and experiment with physical computing and to read and read and read. I'm going to actively try and push myself further in to interaction design.]]></description>
			<content:encoded><![CDATA[<p>It was in my second year of my degree that I discovered the Interaction Design course at the Royal College of Arts. I was blown away by the work that the students were doing and that you could study this amazing subject, Interaction Design. Ever since then I&#8217;ve wanted to become more and more involved in interactive projects. I spent the next couple of years of my Graphic Design degree focusing almost exclusively on interactive and screen-based solutions to by briefs. I&#8217;ve been really fortunate with the companies I have worked for and the experience I have gained over the past 3 years, it&#8217;s been fantastic. Given the chance to start over I would do everything exactly the same and work with the very same people that have helped me develop, however I&#8217;ve never been as involved in interaction design as I&#8217;ve wanted to be.</p>
<p>Working as a freelance designer/developer has but me in a really fortunately position, I have a constant – if not exhausting – demand for work which keeps me busy, challenged and keeps my bank account happy. It also gives me the opportunity to take time off when I feel it is necessary and to spend time developing new skills and exploring other creative avenues. I&#8217;ve never been one to settle, I need to try new things and to constantly put myself in new and sometimes difficult situations and freelancing is the best way for me to continually do this. So my new challenge and also my (why didn&#8217;t I think of this earlier) is to start taking time out to research and experiment with physical computing and to read and read and read. I&#8217;m going to actively try and push myself further in to <a href="http://en.wikipedia.org/wiki/Interaction_design" target="_blank">interaction design</a>.</p>
<p>As <a href="http://www.tinker.it/en/People/HomePage" target="_blank">Massimo Banzi</a> quotes in <em>Getting started with Arduino</em> “Interaction design is the design of any interactive experience.” I am already familiar with and have been creating interactive online experiences since I started as an interactive designer 3 years ago, but what I am going to do now, is start exploring tangible experiences. I want to be able to create a physical environment that someone can use to interact with a digital environment. I want to create objects that you can touch and feel and play with instead of using the more traditional keyboard, mouse and monitor.</p>
<p>I have been researching and following the development of several MA Interaction Design courses at institutes around the world. However there are always pros and cons for making the design to enroll on an MA course and so far I haven&#8217;t find a course that combines all the areas I want to work in, but wont cost me £30,000+ for the fees (not to mention living costs for a 2 year course). The cons simply outweight the pros. So I&#8217;ve been contacting working interaction designs and asking them about their background and experience and how they came to work in this field. These discussions have opened up a whole range of alternative ways to gain experience in Interaction Design.</p>
<p>This lab will now become my primary place to document my research and experiments in Interaction Design. I am going to starting reading, watching and talking interaction design. I&#8217;m planning to taking the time to visit design events across the globe such as the <a href="http://www.aec.at" target="_self">Ars Electronica</a> festival, which I&#8217;ve unfortunately had to miss this year as I found out about the dates too late and already had work commitments. I will storing any relevant research on this lab as well as the working and failed experiments I end up creating. I&#8217;m sure I&#8217;ll end up re-designing this lab when my new portfolio launches along with several new pages such as reading lists and projects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/lab/2009/09/interaction-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Memories Matter</title>
		<link>http://www.lukesturgeon.co.uk/lab/2009/09/memories-matter/</link>
		<comments>http://www.lukesturgeon.co.uk/lab/2009/09/memories-matter/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 08:55:10 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[microsite]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/lab/?p=230</guid>
		<description><![CDATA[I've just completed the Flash microsite for the Alzheimer's Research Trust that is collecting the memories of people. You can submit your most treasured memory to the website so that even if you forget it, your memory is stored forever.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just completed the Flash microsite for the Alzheimer&#8217;s Research Trust that is collecting the memories of people. You can submit your most treasured memory to the website so that even if you forget it, your memory is stored forever. <a href="http://www.memories-matter.org/" target="_blank">http://www.memories-matter.org/</a></p>
<p><a href="http://www.memories-matter.org/"><img class="alignnone size-full wp-image-231" title="alzheimers" src="http://www.lukesturgeon.co.uk/lab/wp-content/uploads/2009/09/alzheimers.jpg" alt="alzheimers" width="540" height="340" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/lab/2009/09/memories-matter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webcam Painting</title>
		<link>http://www.lukesturgeon.co.uk/lab/2009/08/webcam-painting/</link>
		<comments>http://www.lukesturgeon.co.uk/lab/2009/08/webcam-painting/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 17:23:01 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/lab/2009/08/webcam-painting/</guid>
		<description><![CDATA[This was a tiny 20 minute experiment where I am using the mouse to paint the video from my webcam directly on to the stage. The pixel colour is taken from the webcam.]]></description>
			<content:encoded><![CDATA[<p>Some of the projects I have been working on recently – or have in the pipeline – involve using the webcam in Flash. I&#8217;m getting quite excited about the fun possibilities that the webcam can open up.</p>
<p>This was a tiny 20 minute experiment where I am using the mouse to paint the video from my webcam directly on to the stage. The pixel colour is taken from the webcam.<br />
<object width="540" height="400" data="http://vimeo.com/moogaloop.swf?clip_id=6053367&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=6053367&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /></object></p>
<p><a href="http://vimeo.com/6053367">Webcam painting</a> from <a href="http://vimeo.com/user2154934">Luke Sturgeon</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/lab/2009/08/webcam-painting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixed vertical scrolling text bug</title>
		<link>http://www.lukesturgeon.co.uk/lab/2009/06/fixed-vertical-scrolling-text-bug/</link>
		<comments>http://www.lukesturgeon.co.uk/lab/2009/06/fixed-vertical-scrolling-text-bug/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 08:38:47 +0000</pubDate>
		<dc:creator>luke</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://www.lukesturgeon.co.uk/lab/?p=218</guid>
		<description><![CDATA[There has been a bug in flash that has always niggled me, and I've always wanted to try and find a solution but for one reason or another never had a chance to. This bug occurs when you dynamically insert text in to a TextField in Flash which is allowed to autoSize and then selected all the text by dragging. In most cases, as you drag down the text will scroll up 1 line and you will loose the top line. This is a really ugly bug.]]></description>
			<content:encoded><![CDATA[<p> </p>
<p><img class="alignnone size-full wp-image-221" title="picture-11" src="http://www.lukesturgeon.co.uk/lab/wp-content/uploads/2009/06/picture-11.jpg" alt="picture-11" width="540" height="423" /></p>
<p>It&#8217;s been a while since I&#8217;ve posted anything on here. Things have been soo busy recently, I&#8217;ve had some really exciting projects to work on including more portfolio websites and online ad campaign and my handy work is even going to be featured on a TV campaign coming up.</p>
<p>There has been a bug in flash that has always niggled me, and I&#8217;ve always wanted to try and find a solution but for one reason or another never had a chance to. This bug occurs when you dynamically insert text in to a TextField in Flash which is allowed to autoSize and then selected all the text by dragging. In most cases, as you drag down the text will scroll up 1 line and you will loose the top line. This is a really ugly bug.</p>
<p>After reading Tomek&#8217;s blog <a href="http://play.blog2t.net/fixing-jumpy-htmltext-links/" target="_blank">post</a> on the same bug and his fix , I&#8217;ve managed to discover what the problem is and the slightly modified (improved… cough, cough) on Tomek&#8217;s solution.</p>
<p>Tomek&#8217;s solution worked perfectly, which was to insert the text, store the height, set the autoSize property to NONE and then manually increase the height of the TextField. This means that the text fits within the resizes TextField fully and does not need to scroll.</p>
<p>The thing I didn&#8217;t like is that I was just adding 10 pixels to the height. What if I was using a large font size and that solution didn&#8217;t work? After some experimenting I found that the value you need to increase the height of the TextField by is the leading. So if your leading is 0 the bug will not appear, if you leading is something crazy like 24, then you will need to add 24 pixels to the height of your dynamic TextField. It seems that when Flash resizes the TextField as you flow the copy in, it doesn&#8217;t take in to account the leading, or at least ignores it on the last line.</p>
<p>My Solution is this:</p>
<ol>
<li>Set the autoSize property to LEFT (or similar)</li>
<li>Insert the text</li>
<li>Store the height</li>
<li>Set the autoSize property to NONE</li>
<li>Increase the height by adding the leading value of the TextField&#8217;s TextFormat object.</li>
</ol>
<pre>text2.autoSize = TextFieldAutoSize.LEFT;
text2.text = lipsum;
var h : Number = text2.height;
text2.autoSize = TextFieldAutoSize.NONE;
text2.height = h + text2.getTextFormat().leading;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lukesturgeon.co.uk/lab/2009/06/fixed-vertical-scrolling-text-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
