<?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>creacog</title>
	<atom:link href="http://blog.creacog.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.creacog.co.uk</link>
	<description></description>
	<lastBuildDate>Tue, 02 Mar 2010 11:08:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>to learn more about Flash Player internals</title>
		<link>http://blog.creacog.co.uk/2010/03/02/to-learn-more-about-flash-player-internals/</link>
		<comments>http://blog.creacog.co.uk/2010/03/02/to-learn-more-about-flash-player-internals/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 11:08:36 +0000</pubDate>
		<dc:creator>creacog</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.creacog.co.uk/?p=379</guid>
		<description><![CDATA[Being of a Computer Science background I think it useful if not important that developers have some understanding of what&#8217;s going on behind the scenes. It can be a real time saver in choosing the right approach in solving a particular problem. In the Flex framework for example, we have full access to the source [...]]]></description>
			<content:encoded><![CDATA[<p>Being of a Computer Science background I think it useful if not important that developers have some understanding of what&#8217;s going on behind the scenes. It can be a real time saver in choosing the right approach in solving a particular problem. In the Flex framework for example, we have full access to the source code via the open source <a title="Flex SDK" href="http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK" target="_blank">SDK</a>. However for some decisions it is handy to know the low level implementation. The Flash Player tends to be something a black-box with our knowledge constrained to the documentation which largely covers the &#8216;what&#8217; is available — but only at a high level ever covers the &#8216;why&#8217; or &#8216;how&#8217;.</p>
<p>To that end it is especially good to see Tinic Uro finding enough time to blog more frequently recently particularly with the changes for Flash Player 10.1. <a title="kaourantin.net" href="http://www.kaourantin.net/" target="_blank">Tinic&#8217;s blog</a> is essential reading for any Flash developer. The two most recent posts:</p>
<ul>
<li><a title="Timing it right" href="http://www.kaourantin.net/2010/03/timing-it-right.html" target="_blank">Timing it right</a></li>
<li><a title="Core Animation" href="http://www.kaourantin.net/2010/02/core-animation.html" target="_blank">Core Animation</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.creacog.co.uk/2010/03/02/to-learn-more-about-flash-player-internals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 days of Flash 5</title>
		<link>http://blog.creacog.co.uk/2010/02/21/5-days-of-flash-5/</link>
		<comments>http://blog.creacog.co.uk/2010/02/21/5-days-of-flash-5/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 20:42:41 +0000</pubDate>
		<dc:creator>creacog</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://blog.creacog.co.uk/?p=360</guid>
		<description><![CDATA[ As we look forward to the release of CS5 before long, I had an unusual 5 days producing a new SWF based on a publish-to Flash Player 5 predecessor. So time to put on my Macromedia cap and dig out the old Flash 5 manuals.
This version pre-dates my working with Flash and dates back [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.creacog.co.uk/wp-content/uploads/2010/02/flash5Manuals.jpg"><img class="alignleft size-full wp-image-361" title="flash5Manuals" src="http://blog.creacog.co.uk/wp-content/uploads/2010/02/flash5Manuals.jpg" alt="Flash 5 User manuals" width="300" height="225" /></a> As we look forward to the release of CS5 before long, I had an unusual 5 days producing a new SWF based on a publish-to Flash Player 5 predecessor. So time to put on my Macromedia cap and dig out the old Flash 5 manuals.</p>
<p>This version pre-dates my working with Flash and dates back to when I quite frankly hated Flash. Ironically a number of designer types look on these as the good old days when Flash was very much a designer tool. I have to admit when I first saw Flash V1 further back in 1996 I didn&#8217;t rate it. I&#8217;d been using programming <a title="Adobe Director 11.5" href="http://www.adobe.com/products/director/" target="_blank">Director</a> since <a title="AN UNOFFICIAL BRIEF HISTORY OF DIRECTOR" href="http://www.lingoworkshop.com/Articles/history.php" target="_blank">1993</a> and Flash didn&#8217;t have Lingo so it had seemed a step backwards to me.</p>
<p>Back to the current project, since most of flash 5 was easily described in two skinny manuals, there wasn&#8217;t really that much to have to read up on. The main issues encountered:</p>
<ul>
<li>The original designer seemed to have no discernible logic to the placement of graphics and their anchor points.</li>
<li>Static text didn&#8217;t render particularly well — over-anti-aliased.</li>
<li>Initially had problems with artwork imported from <a title="ADOBE ILLUSTRATOR" href="http://www.adobe.com/products/illustrator/" target="_blank">Illustrator</a></li>
</ul>
<p>As regards the Illustrator problem, I had imported an .ai document to library and used on stage. Then while publishing I received an error alert :</p>
<blockquote><p>This movie uses features that are not supported in Flash Player 5. View the Output Panel for details.</p></blockquote>
<p>In the Output Panel, the message:</p>
<blockquote><p>Enhanced stroke is not supported in this player</p></blockquote>
<p>Simply solved by opening the .ai document in Illustrator then exporting a SWF. At which point it is possible to specify the Flash Player version. So saving off a Flash Player 5 SWF and importing that the Flash library rather than the .ai document avoids the problem.</p>
<p>As regards the text problem, this proved to be the motivation enough for the client to agree to updating the target player version from version 5 to version 8 in order to take advantage of &#8216;anti-alias for readability&#8217;.</p>
<p>Sometimes I wish Adobe would obsolete old versions — much like the current pressure to remove support for explorer 6 from the web. On the other hand I have to admire the facilities across Adobe tools that continue support output to legacy flash player versions for when it is impossible to persuade clients to be more current.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.creacog.co.uk/2010/02/21/5-days-of-flash-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>flash in the pan</title>
		<link>http://blog.creacog.co.uk/2010/02/09/flash-in-the-pan/</link>
		<comments>http://blog.creacog.co.uk/2010/02/09/flash-in-the-pan/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 17:07:17 +0000</pubDate>
		<dc:creator>creacog</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://blog.creacog.co.uk/?p=328</guid>
		<description><![CDATA[Observing and requesting better support for panning (horizontal as well as vertical scrolling) in Flash player across all OS platforms and runtimes via ubiquitous input devices.]]></description>
			<content:encoded><![CDATA[<p>So, Flash player <a title="Adobe Flash Player 10.1 beta 2" href="http://labs.adobe.com/technologies/flashplayer10/" target="_blank">10.1 is available in beta</a> and includes mobile device oriented new features such as <a title="flash.ui.Multitouch" href="http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/flash/ui/Multitouch.html" target="_blank">multi-touch gestures</a>. Smart! Makes sense with Adobe strategy of delivering to emerging mobile devices. However there are a few million of us already using desktops and laptops with track pads, mouse wheels and mouse trac-balls who are feeling a bit &#8216;inhibited&#8217;. Flash is being used more and more to deliver applications either via browser or the AIR runtime. Such applications immediately feel somewhat inferior when a user cannot scroll or pan a view as they normally would native applications. Arguably &#8216;Rubbish&#8217; rather than &#8216;Rich&#8217; RIA in such cases.</p>
<p>For a long time the <a title="flash.events.MouseEvent" href="http://livedocs.adobe.com/flex/3/langref/flash/display/InteractiveObject.html#event:mouseWheel" target="_blank"><code>MOUSE_WHEEL</code></a> event has been part of the Flash API but only officially supported on the Windows platform (in browser). Original reasoning for not implementing support for the Mac platform can no-longer be argued as all Macs for a number of years have been shipped with the <a title="Mighty Mouse" href="http://en.wikipedia.org/wiki/Apple_Mighty_Mouse" target="_blank">Mighty Mouse </a>(2005) and now <a title="Magic Mouse" href="http://www.apple.com/magicmouse/" target="_blank">Magic Mouse </a>or <a title="Two finger Trackpad scrolling" href="http://support.apple.com/kb/HT3448" target="_blank">Trackpads</a>. All of which facilitate mousewheel style interactions. All of which go further and support horizontal as well as vertical scrolling interactions or &#8216;<strong>panning</strong>&#8216;. There are JavaScript workarounds for in-browser Flash on a Mac such as <a title="Mac OS X Mouse Wheel Support for ActionScript 3 Flash Applications (v.2+)" href="http://hasseg.org/blog/?p=138" target="_blank">this solution on hasseg.org</a> or this <a title="SWFObject project page" href="http://code.google.com/p/swfobject/" target="_blank">SWFObject</a> based <a title="AS3.0 MouseWheel on Mac OS X" href="http://blog.pixelbreaker.com/flash/as30-mousewheel-on-mac-os-x" target="_blank">pixelbreaker solution</a>. Fortunately Flash applications delivered via the <a title="Adobe AIR" href="http://www.adobe.com/products/air/" target="_blank">AIR runtime</a> can respond to <code>MOUSE_WHEEL</code> events without any such workarounds. However <code>MOUSE_WHEEL</code> currently only facilitates vertical scrolling in any case.</p>
<blockquote><p>We need to facilitate horizontal as well as vertical scrolling (panning) of content in response to events from ubiquitous input devices.</p></blockquote>
<p>A few prominent applications I use often, which suffer:</p>
<ul>
<li><a title="TweetDeckl" href="http://www.tweetdeck.com/" target="_blank">TweetDeck</a> : AIR based. High discoverability of lack of horizontal scrolling support</li>
<li><a title="Adobe Store UK" href="https://store2.adobe.com/cfusion/store/index.cfm?&amp;store=OLS-UK&amp;view=ols_prod&amp;category=/Applications/WebPremium&amp;distributionMethod=FULL&amp;nr=0&amp;promoid=ELTFM#view=ols_prod&amp;category=/Applications/WebPremium&amp;store=OLS-UK&amp;loc=en_gb" target="_blank">Adobe online store UK</a> : In browser Flex application &#8211; Flash being used in an attempt to emulate HTML &#8211; no vertical scroll wheel support for Mac users</li>
<li><a title="Flash Builder" href="http://labs.adobe.com/technologies/flashbuilder4/" target="_blank">Adobe Flash builder</a> : Design view (Java application with Flash based view)</li>
<li><a title="Flash Catalyst" href="http://labs.adobe.com/technologies/flashcatalyst/" target="_blank">Adobe Catalyst</a> : Art-board view (Java application with Flash based view)</li>
</ul>
<p>Adobe actively invite comment and suggestions on their products. More widely/easily through <a title="Feature Request/Bug Report Form" href="https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform" target="_blank">the Feature request/bug report form</a>. They have opened up the bug tracking system for a number of products. Flash player being one of them. There is an active bug report with regard to this issue and I would encourage anyone with an opinion to contribute to the discussion and/or add weight by voting. Just sign up and access <a href="https://bugs.adobe.com/jira/browse/FP-1262" target="_blank">FP-1262</a>. There is an active drive from within Adobe to <a title="Help improve Flash Player 10.1 and AIR 2.0" href="http://www.webkitchen.be/2010/02/08/help-improve-flash-player-10-1-and-air-2-0/" target="_blank">help from the community to improve the quality of Flash Player and AIR</a>.</p>
<p>As for the solution I think I&#8217;d like to see something along the lines of&#8230; Extending the <a title="flash.display.InteractiveObject" href="http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/display/InteractiveObject.html" target="_blank"><code>flash.display.InteractiveObject</code></a> with a &#8216;<code>panEnabled</code>&#8216; boolean property defaulted to <code>false</code> which, when <code>true</code>, allows the object&#8217;s Panning behaviour/event broadcasting (akin to <a title="doubleClickEnabled" href="http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/display/InteractiveObject.html#doubleClickEnabled" target="_blank">doubleClickEnabled</a> mechanism). So, when panEnabled is true, if the mouse pointer is over the InteractiveObject, and the user makes a &#8216;pan&#8217; gesture, the frontmost panEnabled InteractiveObject broadcasts <code>flash.events.MouseEvent.MOUSE_PAN</code> events containing with the additional properties : <code>offsetX</code> and <code>offsetY</code>. Text based InteractiveObjects should default to <code>panEnabled = true</code>. Further, I&#8217;d quite like to see mechanisms to facilitate behaviours of nested pan-able objects. E.g. on a Mac, the front-most display object gets scrolled until it can scroll no further, then if the user continues the scroll input, the containing display object then scrolls.</p>
<p>In rounding up, the best place to contribute your opinions on this subject and have them heard by Adobe is here : <a href="https://bugs.adobe.com/jira/browse/FP-1262" target="_blank">FP-1262</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.creacog.co.uk/2010/02/09/flash-in-the-pan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacPro early 2008 video card dies</title>
		<link>http://blog.creacog.co.uk/2009/12/10/macpro-early-2008-video-card-dies/</link>
		<comments>http://blog.creacog.co.uk/2009/12/10/macpro-early-2008-video-card-dies/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 14:59:27 +0000</pubDate>
		<dc:creator>creacog</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.creacog.co.uk/?p=307</guid>
		<description><![CDATA[A couple of months ago, during a particularly busy period of work, I started to suffer some quite strange symptoms with my MacPro. Essentially, &#8217;sometimes&#8217; if the system went to sleep, it was not possible to properly wake it up. It was apparent that the machine was starting up, but there was no video signal to [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of months ago, during a particularly busy period of work, I started to suffer some quite strange symptoms with my MacPro. Essentially, &#8217;sometimes&#8217; if the system went to sleep, it was not possible to properly wake it up. It was apparent that the machine was starting up, but there was no video signal to either of the two monitors attached. One being an Apple 23 inch LCD. The other being an old CRT. The only way to get back to a working condition being to force-shutdown and restart the system.</p>
<p>My first suspect was one of the monitors &#8211; possibly the LCD. But trying them individually and swapping the connectors over made no difference.</p>
<p>The next suspect being the video card. Taking a look inside, there was a shocking amount of dust build up. I removed the card and gave it a good clean. Unfortunately this didn&#8217;t solve the problem. Over the next few weeks the occurrence increased in frequency to the point where one Sunday, after 7 or 8 reboots, it was time for more drastic action.</p>
<p><img class="size-full wp-image-309 alignnone" title="ATI Radeon HD 2600 XT" src="http://blog.creacog.co.uk/wp-content/uploads/2009/12/oldVideoCard.jpg" alt="ATI Radeon HD 2600 XT" width="400" height="286" /></p>
<p>I had found <a title="Topic : MacPro 2008 Video Card Problem" href="http://discussions.apple.com/thread.jspa?messageID=10035198" target="_blank">a discussion on the Apple support site</a> which echoed the symptoms and seemed to confirm the video card being at fault. My Mac was out of warranty and I needed it working for the next day and so trekked to <a title="Apple Store, Regent Street" href="http://www.apple.com/uk/retail/regentstreet/" target="_self">the Regent Street Apple Store</a>. Really busy store &#8211; the worse part was trying to get the attention of a member of staff. But then it was plain sailing. I explained the issue. While he suggested it might make sense to bring in the Mac to be checked &#8211; doing so would have been a real pain, run up cost and taken ages. I was pretty confident in my diagnosis. The only option available was an upgrade &#8211; which I was pretty happy with. From reading the rest of the support discussion I really didn&#8217;t want to replace like with like.</p>
<p>So, £300 lighter I trekked back home with a Apple Mini-DVI to DVI Adapter and a 512Mb ATI Radeon HD 4870. Very releived that the item was in-stock.</p>
<p>It dwarfs the old card, taking up two slots and full width. Installation was not too hard. The worst bit trying to connect the extra power cables to the mother-board.</p>
<p><img class="size-full wp-image-310 alignnone" title="ATI Radeon HD 4870" src="http://blog.creacog.co.uk/wp-content/uploads/2009/12/ATIRadeonHD48701.jpg" alt="ATI Radeon HD 4870" width="400" height="176" /></p>
<p>Closed the machine and restarted. The new card was picked up immediately. No installation of drivers required. Note: I had been a little worried that drivers may be required as I had previously considered upgrading to  an <a title="NVIDIA® GeForce® GTX 285" href="http://www.nvidia.com/object/product_geforce_gtx_285_for_mac_us.html" target="_blank">NVIDIA® GeForce® GTX 285</a>, for which I read <a title="Apple Store EVGA GeForce GTX 285" href="http://store.apple.com/uk/product/TW387ZM/A" target="_blank">that it was vital to install the drivers prior to installing the card</a>. Something difficult to achieve if the old card is dead!</p>
<p>Summing up &#8211; very happy so far with the new ATI Radeon HD 4870 which has been running faultless for the last couple of months, and looking forward to more software making user of the GPU, particularly from the likes of Adobe.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.creacog.co.uk/2009/12/10/macpro-early-2008-video-card-dies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editor bug in Mac OS X 10.6.1</title>
		<link>http://blog.creacog.co.uk/2009/10/31/editor-bug-in-10-6-1/</link>
		<comments>http://blog.creacog.co.uk/2009/10/31/editor-bug-in-10-6-1/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 14:23:03 +0000</pubDate>
		<dc:creator>creacog</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://blog.creacog.co.uk/?p=298</guid>
		<description><![CDATA[UPDATE 10-Dec-2009: I&#8217;m pretty convinced now that this is an editor bug, not a Mac OS X bug. Essentially the editors are using default OS behaviour which I think is tailored for natural language editing rather than programme-code editing. Original post follows&#8230;
I&#8217;m currently finding in some applications that &#8220;word1.word2.word3&#8243; is being treated as a single [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE 10-Dec-2009</strong>: I&#8217;m pretty convinced now that this is an editor bug, not a Mac OS X bug. Essentially the editors are using default OS behaviour which I think is tailored for natural language editing rather than programme-code editing. Original post follows&#8230;</p>
<p>I&#8217;m currently finding in <strong>some</strong> applications that &#8220;word1.word2.word3&#8243; is being treated as a single word as far as the Option-Left Arrow and Option-Right Arrow is concerned on my Mac. This keyboard shortcut should hop word by word. But currently hops from one end to the other. Not an issue for most users, but pretty serious for a programmer working with dot-notation syntax.</p>
<p>I first experienced this working with ActionScript in Adobe&#8217;s Flash Builder Beta 2 and logged <a title="can '.' and ':' be recognised as word-breaks when using cursor key combinations" href="http://bugs.adobe.com/jira/browse/FB-23660" target="_blank">a bug report</a>, but further investigation reveals that some unrelated applications show the same behaviour. I have now logged a bug with Apple, but in the meantime I would be interested to know if others are experiencing the same? Or if you are running 10.6.1 and not seeing this issue? Please add a comment &#8211; I&#8217;m still trying to work out if it is something installed on my system. I don&#8217;t think it is basic user preferences as I am seeing the same in another user-account on this system.</p>
<p>Editors <strong>incorrectly</strong> treating &#8220;word1.word2.word3&#8243; as a single word re opt-left and opt-right:</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">FlexBuilder 3 MXML and AS editors</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">FlashBuilder 4 Beta2 MXML and AS editors</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Apple Mail</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Apple OS textfields including:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>Spotlight</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>Finder window findfield</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>Safari: form-textfields + google search field</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">editors with *correct* opt-left opt-right behaviour</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">TextWrangler</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Adobe Flash CS4 IDE ActionScript Editor</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Adobe DreamWeaver CS4 editor</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Apple XCode editor</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Apple Finder &#8211; filename clicked and editable when renaming</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Firefox form-textfields and goodle search field</div>
<ul>
<li>FlexBuilder 3 MXML and AS editors</li>
<li>FlashBuilder 4 Beta2 MXML and AS editors</li>
<li>Apple Mail</li>
<li>Apple OS TextFields including:</li>
<li><span style="white-space:pre"> </span>Spotlight</li>
<li><span style="white-space:pre"> </span>Finder window find-file</li>
<li><span style="white-space:pre"> </span>Safari: form-textfields &amp; google search field</li>
</ul>
<p>Editors showing <strong>correct</strong> opt-left opt-right behaviour:</p>
<ul>
<li>TextWrangler</li>
<li>Adobe Flash CS4 IDE ActionScript Editor</li>
<li>Adobe DreamWeaver CS4 editor</li>
<li>Apple XCode editor</li>
<li>Apple Finder &#8211; filename clicked and editable when renaming</li>
<li>Firefox form-textfields and goodle search field</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.creacog.co.uk/2009/10/31/editor-bug-in-10-6-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>overlaying VideoDisplay with constrained fluid layout</title>
		<link>http://blog.creacog.co.uk/2009/09/21/overlaying-videodisplay-with-constrained-fluid-layout/</link>
		<comments>http://blog.creacog.co.uk/2009/09/21/overlaying-videodisplay-with-constrained-fluid-layout/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 14:11:42 +0000</pubDate>
		<dc:creator>creacog</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Flex 2]]></category>
		<category><![CDATA[Flex 3]]></category>
		<category><![CDATA[Flex Components]]></category>

		<guid isPermaLink="false">http://blog.creacog.co.uk/?p=234</guid>
		<description><![CDATA[ // 
The problem: How to overlay the video with something (e.g. a logo or caption) and keep the overlay relative to a corner of the actual video rectangle. Sounds like it should be a simple matter of creating a container and layering in the VideoDisplay instance and the over lay instance ? But&#8230;
In each [...]]]></description>
			<content:encoded><![CDATA[<p><script src="/wp-content/swfobject_2_2/swfobject.js" type="text/javascript"></script> <script type="text/javascript">// <![CDATA[
            	swfobject.registerObject("videoDisplaySample1", "10.0.32", "/wp-content/swfobject_2_2/expressInstall.swf"); 	swfobject.registerObject("videoDisplaySample2", "10.0.32", "/wp-content/swfobject_2_2/expressInstall.swf"); 	swfobject.registerObject("videoDisplaySample3", "10.0.32", "/wp-content/swfobject_2_2/expressInstall.swf");
// ]]&gt;</script></p>
<p>The problem: How to overlay the video with something (e.g. a logo or caption) and keep the overlay relative to a corner of the actual video rectangle. Sounds like it should be a simple matter of creating a container and layering in the VideoDisplay instance and the over lay instance ? But&#8230;</p>
<p>In each of the following samples:</p>
<ul>
<li>We have an <a title="&lt;mx:Panel&gt;" href="http://livedocs.adobe.com/flex/3/langref/mx/containers/Panel.html" target="_blank">&lt;mx:Panel&gt;</a> which has been extended to be reposition-able (drag the title bar) and resizable (drag the lower-right corner).</li>
<li>The panel contains an <a title="&lt;mx:VideoDisplay&gt;" href="http://livedocs.adobe.com/flex/3/langref/mx/controls/VideoDisplay.html" target="_blank">&lt;mx:VideoDisplay&gt;</a> with 100% width and height</li>
<li>The panel also contains an overlay graphic &#8211; in this case using <a title="&lt;mx:Image&gt;" href="http://livedocs.adobe.com/flex/3/langref/mx/controls/Image.html" target="_blank">&lt;mx:Image&gt;</a></li>
<li>To view the samples you need to have Flash Player 10.0.32. or higher installed. You can get the latest Flash Player from here: <a title="Get Flash Player" href="http://get.adobe.com/flashplayer/" target="_blank">http://get.adobe.com/flashplayer/</a></li>
<li><a title="VideoDisplay samples source" href="/wp-content/code-samples/Flex3VideoDisplaySamples/srcview/0100-VideoDisplaySample.zip">The source-code for these samples can be downloaded</a></li>
<li>View source with a right-click on each of the samples</li>
</ul>
<h2>Video Display overlay Sample 1</h2>
<p>In our first sample we simply place our overlay image using attributes &#8216;top&#8217; and &#8216;right&#8217; to keep the overlay&#8217;s top-right corner to 10px in from the VideoDisplay top-right corner.</p>
<p><img src="/wp-content/code-samples/Flex3VideoDisplaySamples/snippets/sample1Snippet1.gif" alt="code-snippet" /></p>
<p>It basically looks fine until you hit the play button and start resizing the panel.</p>
<div><object id="videoDisplaySample1" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="base" value="." /><param name="allowfullscreen" value="true" /><param name="src" value="/wp-content/code-samples/Flex3VideoDisplaySamples/VideoDisplaySample1.swf" /><embed id="videoDisplaySample1" type="application/x-shockwave-flash" width="300" height="300" src="/wp-content/code-samples/Flex3VideoDisplaySamples/VideoDisplaySample1.swf" base="." allowfullscreen="true"></embed></object></div>
<div><a title="View source for sample 1" href="http://blog.creacog.co.uk/wp-content/code-samples/Flex3VideoDisplaySamples/srcview/index.html" target="_blank">View source</a></div>
<p>As you can see the actual video within the VideoDisplay is constrained by its rectangle and depending on the differing aspect ratios, there will either be black space at the sides or the top, and our overlay is faithfully anchored to top right corner of the VideoDisplay and looks odd unless the aspect ratios are equal.</p>
<p>So how to solve this?</p>
<p>Looking at <a title="&lt;mx:VideoDisplay&gt;" href="http://livedocs.adobe.com/flex/3/langref/mx/controls/VideoDisplay.html">the documentation for VideoDisplay</a>, there are many width and height properties to play with, however none of these relate to the current width and height or position of the contained video rectangle. You might think while looking at the documentation that the <a title="VideoDisplay.videoWidth" href="http://livedocs.adobe.com/flex/3/langref/mx/controls/VideoDisplay.html#videoWidth">videoWidth</a> and <a title="VideoDisplay.videoHeight" href="http://livedocs.adobe.com/flex/3/langref/mx/controls/VideoDisplay.html#videoHeight">videoHeight</a> properties might give the values we are after, but not so. They only return the &#8216;original&#8217; width and height of the loaded video.</p>
<p>Fortunately the OpenSource nature of the Flex SDK and the magic of, holding the command key on a Mac (control key on a PC) with the cursor over  the &lt;mx:VideoDisplay&gt; opening tag, then clicking it as it underlines,  (using in Flash Builder  or Flex Builder) will open the source for the VideoDisplay component within a new editor. Browsing through the code you will see at line 198:<br />
<code>mx_internal var videoPlayer:VideoPlayer = null;</code></p>
<p>It is this videoPlayer instance who&#8217;s properties we need to monitor to calculate our overlay&#8217;s position. The instance is not generally exposed through the VideoDisplay component&#8217;s api. Nor is it documented. However since it has been placed in the mx_internal name space, we can actually access it with namespace notation&#8230;</p>
<p><code>videoDisplay.mx_internal::videoPlayer.attribute</code></p>
<p>Where we replace &#8216;attribute&#8217; with the property name we are after, so the following would be of use to us&#8230;</p>
<p><code>videoDisplay.mx_internal::videoPlayer.x</code><br />
<code>videoDisplay.mx_internal::videoPlayer.y</code><br />
<code>videoDisplay.mx_internal::videoPlayer.width</code><br />
<code>videoDisplay.mx_internal::videoPlayer.height</code></p>
<h2 style="font-size: 1.5em;">Video Display overlay Sample 2</h2>
<p>In this second sample, we create a positionOverlay method and call it from the resize event of the VideoDisplay component. Within positionOverlay we use the name space notation to get the videoPlayer properties and use some basic maths to reposition our overlay based on the top-right corner of the videoPlayer instance rather than the videoDisplay instance.</p>
<p><img src="/wp-content/code-samples/Flex3VideoDisplaySamples/snippets/sample2Snippet1.gif" alt="code-snippet" /></p>
<p>Additionally we call positionOverlay from our applicationComplete handler to set the initial position.</p>
<div><object id="videoDisplaySample2" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="base" value="." /><param name="allowfullscreen" value="true" /><param name="src" value="/wp-content/code-samples/Flex3VideoDisplaySamples/VideoDisplaySample2.swf" /><embed id="videoDisplaySample2" type="application/x-shockwave-flash" width="300" height="300" src="/wp-content/code-samples/Flex3VideoDisplaySamples/VideoDisplaySample2.swf" allowfullscreen="true" base="."></embed></object></div>
<div><a title="View source for sample 2" href="http://blog.creacog.co.uk/wp-content/code-samples/Flex3VideoDisplaySamples/srcview/index2.html" target="_blank">View source</a></div>
<p>This basically seems ok, but play with it for a while and it is clear that something is wrong&#8230;</p>
<ul>
<li>Resizing slowly, seems ok</li>
<li>Resizing quickly, and there seems to be some lag in the position of the overlay</li>
<li>Release the resize handle while resizing quickly and the overlay can be left behind in completely the wrong place</li>
</ul>
<p>Having traced the videoPlayer instance properties from within the positionOverlay handler, it is apparent that while the videoDisplay properties are correct, the videoPlayer properties are as they were previously. i.e. as they were rather than as they shall be.</p>
<h2 style="font-size: 1.5em;">Video Display overlay Sample 3 &#8211; This one works properly!</h2>
<p>This is where Player version 10 comes in. It added <a title="Event.EXIT_FRAME" href="http://livedocs.adobe.com/flex/3/langref/flash/events/Event.html#EXIT_FRAME" target="_blank">Event.EXIT_FRAME</a>. (If your project targets a player older than 10, you will not see this event in your code assist.) If we use the exit frame event to defer the call to overlayPosition, we can then get measured values from videoPlayer and correctly position the overlay.</p>
<p>To do this I have created a new method positionOverlayOnExitFrame who&#8217;s job is to add an EXIT_FRAME listener who&#8217;s handler will be overlayPosition. The first job of which is to remove the listener, so that it only gets called once. By using a listener we need to change the interface of overlayPosition to accept an Event argument. But we are not interested in the event information and we still wish to call positionOverlay directly, so we have allowed the argument to have a null default.</p>
<p><img src="/wp-content/code-samples/Flex3VideoDisplaySamples/snippets/sample3Snippet1.gif" alt="code-snippet" /></p>
<p>Playing with the resize handle now, no-matter how quickly it is moved, shows no lag, and always drops in the correct place.</p>
<div><object id="videoDisplaySample3" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="base" value="." /><param name="allowfullscreen" value="true" /><param name="src" value="/wp-content/code-samples/Flex3VideoDisplaySamples/VideoDisplaySample3.swf" /><embed id="videoDisplaySample3" type="application/x-shockwave-flash" width="300" height="300" src="/wp-content/code-samples/Flex3VideoDisplaySamples/VideoDisplaySample3.swf" allowfullscreen="true" base="."></embed></object></div>
<div><a title="View source for sample 3" href="http://blog.creacog.co.uk/wp-content/code-samples/Flex3VideoDisplaySamples/srcview/index3.html" target="_blank">View source</a></div>
<p>Finally, just to re-iterate, <a title="download source code : 0100-VideoDisplaySample.zip" href="/wp-content/code-samples/Flex3VideoDisplaySamples/srcview/0100-VideoDisplaySample.zip">source code zip for these examples is here</a>.</p>
<p>Note: These samples were built against Flex SDK version 3.4.</p>
<p>Note: I haven&#8217;t found any official documentation relating to when Event.EXIT_FRAME arrived in the player runtime. The <a title="Event.EXIT_FRAME" href="http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/events/Event.html#EXIT_FRAME" target="_blank">Flash CS4 documentation for Event.EXIT_FRAME</a> indicates player 9. However unless you target player 10 in Flex/Flash Builder, you will get compile errors. If anyone has accurate references, please post to the comments &#8211; thanks.</p>
<p>Note: When you look at the <a title="View source code" href="http://blog.creacog.co.uk/wp-content/code-samples/Flex3VideoDisplaySamples/srcview/index3.html" target="_blank">source view</a>, it appears ragged. This is because in creating the HTML, Flash builder simply converts tab characters to four space characters. Clearly not every tab in my code actually represents 4 characters and therefore what should look like neat columns becomes ragged. I have filed a bug/enhancement request. If you too would like this fixed, feel free to add your vote to <a title="FB-23060" href="https://bugs.adobe.com/jira/browse/FB-23060" target="_blank">FB-23060</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.creacog.co.uk/2009/09/21/overlaying-videodisplay-with-constrained-fluid-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No CMD-SPACE in Flash Builder since Snow Leopard</title>
		<link>http://blog.creacog.co.uk/2009/09/14/no-cmd-space-in-flash-builder-since-snow-leopard/</link>
		<comments>http://blog.creacog.co.uk/2009/09/14/no-cmd-space-in-flash-builder-since-snow-leopard/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 16:30:27 +0000</pubDate>
		<dc:creator>creacog</dc:creator>
				<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Flex Builder]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://blog.creacog.co.uk/?p=236</guid>
		<description><![CDATA[Ok so CMD-SPACE is the default short cut to launch Spotlight. But I wanted that combo for &#8216;content assist&#8217; with Flex/Flash Builder. Until installing Snow Leopard, that is what I had for a few years, and Spotlight relegated to CTRL-SPACE. However since SnowLeopard, the CMD-SPACE combo is not transmitted to Flash Builder. I assume this [...]]]></description>
			<content:encoded><![CDATA[<p>Ok so CMD-SPACE is the default short cut to launch Spotlight. But I wanted that combo for &#8216;content assist&#8217; with Flex/Flash Builder. Until installing Snow Leopard, that is what I had for a few years, and Spotlight relegated to CTRL-SPACE. However since SnowLeopard, the CMD-SPACE combo is not transmitted to Flash Builder. I assume this is down to Snow Leopard somehow reserving the combination. So begrudgingly I have returned to defaults&#8230;</p>
<p>Spotlight : CMD-SPACE<br />
Flash Builder content assist : CTRL-SPACE</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.creacog.co.uk/2009/09/14/no-cmd-space-in-flash-builder-since-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>resurrected my tascam porta 05</title>
		<link>http://blog.creacog.co.uk/2009/07/14/resurrected-my-tascam-porta-05/</link>
		<comments>http://blog.creacog.co.uk/2009/07/14/resurrected-my-tascam-porta-05/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 18:47:07 +0000</pubDate>
		<dc:creator>creacog</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.creacog.co.uk/?p=222</guid>
		<description><![CDATA[Slightly off-topic for this blog, but&#8230;
Decided to dig out my old Tascam Porta 05 ministudio in order to digitise some old 4-track recordings. But, found that the play heads seemed to be stuck in the forward position. Full symptoms and notes:

Power on ok
Impossible to insert a cassette due to the position of the heads
Can hear [...]]]></description>
			<content:encoded><![CDATA[<p>Slightly off-topic for this blog, but&#8230;</p>
<div id="attachment_223" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-223 " title="Tascam Porta 05" src="http://blog.creacog.co.uk/wp-content/uploads/2009/07/outside.jpg" alt="Tascam Porta 05" width="400" height="211" /><p class="wp-caption-text">Tascam Porta 05</p></div>
<p>Decided to dig out my old Tascam Porta 05 ministudio in order to digitise some old 4-track recordings. But, found that the play heads seemed to be stuck in the forward position. Full symptoms and notes:</p>
<ul>
<li>Power on ok</li>
<li>Impossible to insert a cassette due to the position of the heads</li>
<li>Can hear the motor (which turns all the time power is on &#8211; this is normal)</li>
<li>Motor responds correctly to the pitch control</li>
<li>Fast forward button works &#8211; spins the central right capstan</li>
<li>Rewind button works &#8211; spins the central left capstan</li>
<li>Tape heads in forwards position, but the rubber wheel in front of the stop button is not forward enough to press against the metal capstan</li>
<li>The metal capstan, which should normally be spinning all the time the machine is powered is not actually spinning</li>
<li>Pressing play or record buttons does nothing &#8211; the central capstans that would fit into the tape spindles do not turn</li>
</ul>
<p>I did google around trying to find a solution. I did find a couple of people with the same problem, but no solution posted. I googled for the service manual with no result other than someone in the states selling on ebay for around $22. I wish companies like this would get their service manuals PDF&#8217;d and onto the web &#8211; shouldn&#8217;t be an issue for what is essentially obsolete equipment?</p>
<p>Anyway, with no solution available from the outside, I decided to take a quick look inside to see if there was anything obviously out of place. Getting inside is easy:</p>
<ol>
<li>Remove the 5 screws from the back panel</li>
<li>Carefully part the two sides noting that:
<ul>
<li> The power on/off slider will likely drop out as it detaches from the internal control</li>
<li>all the other sliders remain with the top of the case &#8211; but some detach in the process from the underlying control which remains in the base.</li>
<li>In my case the forward position of the tape heads was preventing the sides from separating. Pressing them back by pressing the plastic between the erase and write heads made enough space.</li>
</ul>
</li>
</ol>
<div id="attachment_224" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-224" title="Inside the Tascam Porta 05" src="http://blog.creacog.co.uk/wp-content/uploads/2009/07/splitDownTheMiddle.jpg" alt="Inside the Tascam Porta 05" width="400" height="342" /><p class="wp-caption-text">Inside the Tascam Porta 05</p></div>
<div id="attachment_231" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-231" title="Close-up showing heads fixed forward" src="http://blog.creacog.co.uk/wp-content/uploads/2009/07/closeup.jpg" alt="Close-up showing heads fixed forward" width="400" height="425" /><p class="wp-caption-text">Close-up showing heads fixed forward</p></div>
<p>With the sides parted, I then powered up and observed the mechanics when pressing the various control buttons. I couldn&#8217;t see anything obvious, but then noticed that underneath the controls is a flywheel attached to that capstan in-front of the stop button. The flywheel is belt-driven and was not spinning.</p>
<div id="attachment_225" class="wp-caption aligncenter" style="width: 410px"><img class="size-full wp-image-225" title="Nudging the fly-wheel" src="http://blog.creacog.co.uk/wp-content/uploads/2009/07/bud.jpg" alt="Nudging the fly-wheel" width="400" height="300" /><p class="wp-caption-text">Nudging the fly-wheel</p></div>
<p>Using a cotton bud, I gave it a few nudges, attempting to pushing it round in either direction. I was quite surprised  after a few attempts when the belt picked up and the flywheel turned under the power of the motor. At the same time the heads snapped back into the retracted position, and the play and record buttons now worked.</p>
<p>All that remained was to give it a good clean-out and reassemble. Taking care to align the Record function sliders with their underlying controls, and get the 5 screws back in, and I am back in action with kit that I thought was pretty cutting edge back in 1987.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.creacog.co.uk/2009/07/14/resurrected-my-tascam-porta-05/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>purchasing more downloads from Ireland VAT zone</title>
		<link>http://blog.creacog.co.uk/2009/07/13/purchasing-more-downloads-from-ireland-vat-zone/</link>
		<comments>http://blog.creacog.co.uk/2009/07/13/purchasing-more-downloads-from-ireland-vat-zone/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 10:42:31 +0000</pubDate>
		<dc:creator>creacog</dc:creator>
				<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://blog.creacog.co.uk/?p=217</guid>
		<description><![CDATA[About to suffer a little more pain than usual in renewing my Microsoft Action Pack subscription (note: don&#8217;t expect that link to display correctly in anything other than Microsoft Explorer). This year things have changed. Instead of everyone receiving physical media, we now have the option to download. Good for the environment.
Download users will pay [...]]]></description>
			<content:encoded><![CDATA[<p>About to suffer a little more pain than usual in renewing my <a title="action pack" href="https://partner.microsoft.com/UK/40016455">Microsoft Action Pack subscription</a> (note: don&#8217;t expect that link to display correctly in anything other than Microsoft Explorer). This year things have changed. Instead of everyone receiving physical media, we now have the option to download. Good for the environment.</p>
<p>Download users will pay the same pre-tax price as last year (£199) and physical media users will pay more (£273). But then there is <a href="http://en.wikipedia.org/wiki/Value_added_tax">VAT</a>. We have different rates across the EU. In the UK the rate is currently 15%.</p>
<ul>
<li>If you order physical media, you will pay the VAT for your region. In the UK, 15%.</li>
<li>If you order a download, you will pay the VAT for Ireland. 21.5%.</li>
</ul>
<p>This really bugs me (accelerating me to grumpy-old-man status) and I have moaned about it before in relation to Adobe products. There must be some incentive or other good reasons for these companies to locate their online distribution services in Ireland. But they need to realise that they are costing many of their customers more by doing so.</p>
<p>I&#8217;m not sure if I should be moaning about the companies choice of country, or VAT and EU regulation in general. Greater minds than mine have argued against the VAT complexity in the past and failed to make any progress. So maybe time to give up, just get the extra 6.5% paid and go hit a punch-bag.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.creacog.co.uk/2009/07/13/purchasing-more-downloads-from-ireland-vat-zone/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>back online</title>
		<link>http://blog.creacog.co.uk/2009/06/13/back-online/</link>
		<comments>http://blog.creacog.co.uk/2009/06/13/back-online/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 11:47:34 +0000</pubDate>
		<dc:creator>creacog</dc:creator>
				<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://blog.creacog.co.uk/?p=212</guid>
		<description><![CDATA[After a number of days off-line following the provider having been hacked. We are now back online! Hurrah. Having moved away from LXAdmin (it worked well for a while) I can now concentrate on real work again rather than recovery.
]]></description>
			<content:encoded><![CDATA[<p>After a number of days off-line following the provider having been hacked. We are now back online! Hurrah. Having moved away from LXAdmin (it worked well for a while) I can now concentrate on real work again rather than recovery.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.creacog.co.uk/2009/06/13/back-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
