<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-8025044445010455479</id><updated>2010-02-15T14:19:39.383+13:00</updated><title type='text'>www.steamed-design.com</title><subtitle type='html'>The most common format of music on an iPod is 'stolen'.
 - Steve Ballmer</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.steamed-design.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default?start-index=26&amp;max-results=25'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>58</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-156351606080629473</id><published>2009-11-14T09:38:00.007+13:00</published><updated>2009-11-16T21:24:06.024+13:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Mac'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Touch'/><category scheme='http://www.blogger.com/atom/ns#' term='MonoTouch'/><category scheme='http://www.blogger.com/atom/ns#' term='How to'/><title type='text'>MonoTouch - Image View in Interface Builder</title><content type='html'>&lt;p&gt;I have been playing with MonoTouch recently in an attempt to make a iPhone app.  I was playing quite happily there just one problem.  I couldn't work out how to set the image for the "Image View" in Interface Builder I searched the internet for a few hours and still couldn't find a thing.  So it was time to start randomly clicking and compiling until it worked.&lt;br /&gt; &lt;br /&gt;Here is what I did....&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Create a new iPhone Solution in MonoDevelop.&lt;/li&gt;&lt;li&gt;Drag the image you want to use in to the Solution Explorer.&lt;/li&gt;&lt;li&gt;Click Copy on the dialog box.&lt;/li&gt;&lt;li&gt;Right click the image in the solution and select "Properties", the Properties panel should show up. &lt;br /&gt;&lt;img width="342" height="146p" src="http://2.bp.blogspot.com/_bxl1yT9K6fw/SwEENy3b6YI/AAAAAAAAAX0/o_oRCcM1CNM/s400/Properties.png" border="0" alt="Image Properties" /&gt;&lt;/li&gt;&lt;li&gt;Change the "Build Action" to "Content".&lt;/li&gt;&lt;li&gt;Double Click MainWindow.xib in the "Solution Explorer" and Interface builder should open up.&lt;/li&gt;&lt;li&gt;Click "Tools" &gt; "Library", the library window will pop open.&lt;/li&gt;&lt;li&gt;Drag and "Image View" (under "Library" &gt; "Cocoa Touch" &gt; "Data Views") to the "Window".&lt;/li&gt;&lt;li&gt;Click on the Image View, then click "Tools" &gt; "Attribute Inspector".&lt;/li&gt;&lt;li&gt;Type the name of the image in the "Image" field. The image view will be replaced with a question mark icon&lt;/li&gt;&lt;li&gt;Close interface builder.&lt;/li&gt;&lt;li&gt;In MonoDevelop Click "Run" &gt; "Run".&lt;/li&gt;&lt;li&gt;Wait for the iPhone Simulartor to start and enjoy the results.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-156351606080629473?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/156351606080629473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=156351606080629473' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/156351606080629473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/156351606080629473'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/11/monotouch-image-view-in-interface.html' title='MonoTouch - Image View in Interface Builder'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_bxl1yT9K6fw/SwEENy3b6YI/AAAAAAAAAX0/o_oRCcM1CNM/s72-c/Properties.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-1020614445709476784</id><published>2009-11-13T11:04:00.005+13:00</published><updated>2009-11-13T19:51:25.541+13:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Funny'/><title type='text'>Error message done right</title><content type='html'>&lt;a href="http://4.bp.blogspot.com/_bxl1yT9K6fw/SvyHJNiZRaI/AAAAAAAAAXk/UBUGFXlMJcg/s1600-h/8e954afd90d7496e926bda462847c1f3.png"&gt;&lt;img alt="Oh Crap!" src="http://4.bp.blogspot.com/_bxl1yT9K6fw/SvyHJNiZRaI/AAAAAAAAAXk/UBUGFXlMJcg/s400/8e954afd90d7496e926bda462847c1f3.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5403342245260248482" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-1020614445709476784?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/1020614445709476784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=1020614445709476784' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/1020614445709476784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/1020614445709476784'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/11/error-messages-done-right.html' title='Error message done right'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_bxl1yT9K6fw/SvyHJNiZRaI/AAAAAAAAAXk/UBUGFXlMJcg/s72-c/8e954afd90d7496e926bda462847c1f3.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-6905006981424166462</id><published>2009-11-08T08:32:00.010+13:00</published><updated>2009-11-08T08:48:49.821+13:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Free Stuff'/><title type='text'>Free Mac Apps Go get yours now!</title><content type='html'>&lt;a href="http://www.macheist.com"&gt;&lt;img width="437" height="174" src="http://grab.by/grabs/a5c6b8fe224c7ef10efd70069e35993c.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;a target="_blank" href="http://www.macheist.com/"&gt;MacHeist&lt;/a&gt; are at it again and are giving away free apps one of which I used to to grab the image for this post.&lt;/p&gt;&lt;p&gt;If you want the pack just jump on over to &lt;a href="http://www.macheist.com/" target="_blank"&gt;MacHeist&lt;/a&gt; sign up and then get to downloading. You have to be quick tho because the deal ends in four days from today(Sunday 8 November 2009).&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-6905006981424166462?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/6905006981424166462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=6905006981424166462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/6905006981424166462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/6905006981424166462'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/11/free-mac-apps-go-get-yours-now.html' title='Free Mac Apps Go get yours now!'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-5901539689591738785</id><published>2009-10-22T12:42:00.006+13:00</published><updated>2009-11-08T10:24:19.234+13:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><category scheme='http://www.blogger.com/atom/ns#' term='How to'/><title type='text'>Single Quotes in TSQL</title><content type='html'>&lt;p&gt;Recently I had a to format some data, originally the formatting was done using the MVC.NET page but there was one for small problem it took over five minutes to return 2,000 records which is just a little bit to long for my liking.&lt;/p&gt;&lt;p&gt;We only had a day to fix this problem so it was time for a dirty yet brilliant hack. I created a table variable and for the formatted data added the data to it and returned the date all in one stored procedure, there was one problem tho I needed to generate T-SQL and run it using EXECUTE (I know its not the best way to do things). I was working away at this and then a problem popped up there is no way to escape single quotes that I could work out in T-SQL.&lt;/p&gt;&lt;p&gt;But with a little trickery..... &lt;pre&gt;DECLARE @singleQuote CHAR(1);&lt;br /&gt;SET @singleQuote = CHAR(39);&lt;/pre&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Problem Solved!&lt;/strong&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-5901539689591738785?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/5901539689591738785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=5901539689591738785' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/5901539689591738785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/5901539689591738785'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/10/single-quotes-in-tsql.html' title='Single Quotes in TSQL'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-8129504611479035846</id><published>2009-09-24T16:27:00.008+12:00</published><updated>2009-09-24T16:41:06.483+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='label truncation'/><category scheme='http://www.blogger.com/atom/ns#' term='fix'/><title type='text'>Flex - Button label truncation problem</title><content type='html'>I recently had trouble with Flex truncating the label on some bu...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yOxZXJ3n0Zo/Srr13pAginI/AAAAAAAAACA/Lc_UnxqCT_o/s1600-h/1.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 112px; height: 71px;" src="http://3.bp.blogspot.com/_yOxZXJ3n0Zo/Srr13pAginI/AAAAAAAAACA/Lc_UnxqCT_o/s400/1.png" alt="" id="BLOGGER_PHOTO_ID_5384886640724445810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It was a particularly aggravating affair, playing with the padding and the width which had no apparent effect.  After hours of searching the net and finding nary a shred I discovered that there was a simple fix.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_yOxZXJ3n0Zo/Srr2ofFkkBI/AAAAAAAAACI/HYP9hWFa2Jo/s1600-h/2.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 243px; height: 160px;" src="http://2.bp.blogspot.com/_yOxZXJ3n0Zo/Srr2ofFkkBI/AAAAAAAAACI/HYP9hWFa2Jo/s400/2.png" alt="" id="BLOGGER_PHOTO_ID_5384887479874916370" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_yOxZXJ3n0Zo/Srr2o5t8foI/AAAAAAAAACQ/cKcpiomsujk/s1600-h/3.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 239px; height: 165px;" src="http://4.bp.blogspot.com/_yOxZXJ3n0Zo/Srr2o5t8foI/AAAAAAAAACQ/cKcpiomsujk/s400/3.png" alt="" id="BLOGGER_PHOTO_ID_5384887487023578754" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Simply changing the label placement property of the button to 'bottom' had the desired effect rendering the label correctly.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_yOxZXJ3n0Zo/Srr2pVZfAYI/AAAAAAAAACY/P7ot0-yE15c/s1600-h/4.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 135px; height: 92px;" src="http://1.bp.blogspot.com/_yOxZXJ3n0Zo/Srr2pVZfAYI/AAAAAAAAACY/P7ot0-yE15c/s400/4.png" alt="" id="BLOGGER_PHOTO_ID_5384887494453952898" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ahhhhh, much better.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-8129504611479035846?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/8129504611479035846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=8129504611479035846' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/8129504611479035846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/8129504611479035846'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/09/flex-button-label-truncation-problem.html' title='Flex - Button label truncation problem'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15947112692784516745</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='00727386468082217749'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_yOxZXJ3n0Zo/Srr13pAginI/AAAAAAAAACA/Lc_UnxqCT_o/s72-c/1.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-7110449010986420631</id><published>2009-09-01T11:58:00.003+12:00</published><updated>2009-09-01T12:17:21.724+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Free Stuff'/><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse'/><title type='text'>Making the Eclipse XML editor Useful</title><content type='html'>I use &lt;a href="http://www.eclipse.org/" target="_BLANK"&gt;Eclipse&lt;/a&gt; for editing pretty much everything I on my Mac with its great free plugins who wouldn't want to use it there is only one small problem.  That problem is the built in XML editor for Eclipse sucks, it tree based meaning you can't get the the underlying code without using the default Text Editor.&lt;br /&gt;&lt;br /&gt;I decided that there must be a free plugin you can use so I Googled "free eclipse xml editor" and found &lt;a href="http://www.eclipse-blog.org/xml/xmlbuddy-for-eclipse.html" target="_BLANK"&gt;several&lt;/a&gt; &lt;a href="http://www.roseindia.net/eclipse/plugins/XML/XMLBuddy.shtml" target="_BLANK"&gt;articles&lt;/a&gt; about an editor called XmlBuddy but there was a problem, the domain  www.xmlbuddy.com has been sold so you are not going to be able to download it from there crap!&lt;br /&gt;&lt;br /&gt;So yet again I turn to my friend google and at last I have found &lt;a href="http://lmgtfy.com/?q=XMLBuddy+2.0.72+download" target="_BLANK"&gt;the answer&lt;/a&gt;. I downloaded the plugin from &lt;a href="http://www.eclipse-blog.org/xml/xmlbuddy-for-eclipse.html" target="_BLANK"&gt;cnet&lt;/a&gt; unzipped into my Eclipse plugins directory, now I finally have a decent XML editor.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-7110449010986420631?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/7110449010986420631/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=7110449010986420631' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/7110449010986420631'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/7110449010986420631'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/09/making-eclipse-xml-editor-useful.html' title='Making the Eclipse XML editor Useful'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-8327391184624590597</id><published>2009-08-17T17:13:00.002+12:00</published><updated>2009-08-17T18:33:11.109+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='actionscript 3.0'/><title type='text'>Custom Events in Action Script</title><content type='html'>&lt;p&gt;You have an custom actionscript 3.0 class and it does all sorts of great thing, but now you want other people to be able to use it. There are many ways to do this but for this example I am going to create a custom event. Lets get started.&lt;/p&gt;&lt;p&gt;First add the following imports to your class.&lt;/p&gt;&lt;pre&gt;import flash.events.Event;&lt;br /&gt;import flash.events.EventDispatcher;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Then add the metadata about the custom event, the event in this example is called customEvent.&lt;/p&gt;&lt;pre&gt;[Event(name="customEvent", type="flash.events.Event")]&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Next copy and paste the following code anywhere into your class this is used to add the functions need to create event listeners and dispatch events.&lt;/p&gt;&lt;pre&gt;private var disp:EventDispatcher;&lt;br /&gt;public function addEventListener(type:String, listener:Function, useCapture:Boolean=false, &lt;br /&gt; priority:int=0, useWeakReference:Boolean=false):void {&lt;br /&gt;   if (disp == null) disp = new EventDispatcher();&lt;br /&gt;   disp.addEventListener(type, listener, useCapture, priority, useWeakReference);&lt;br /&gt;}&lt;br /&gt;    &lt;br /&gt;public function removeEventListener(type:String, listener:Function, useCapture:Boolean=false):void {&lt;br /&gt; if (disp == null) return;&lt;br /&gt;   disp.removeEventListener(type, listener, useCapture);&lt;br /&gt;}&lt;br /&gt;    &lt;br /&gt;public function dispatchEvent(event:Event):void {&lt;br /&gt; if (disp == null) return;&lt;br /&gt;   disp.dispatchEvent(event);&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Next you need to add the code to fire your custom event to do this add the following code to the function you want to fire the event.&lt;/p&gt;&lt;pre&gt;var deviceDataEventObject:DeviceDataEvent = new Event("customEvent");&lt;br /&gt;dispatchEvent(deviceDataEventObject);&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;OK you custom class can now fire your custom event all you need to do is set up a event listener in the calling class, use this code.&lt;/p&gt;&lt;pre&gt;customClass.addEventListener("customEvent", yourFunction);&lt;br /&gt;private function yourFunction(event:Event):void{&lt;br /&gt;   //Do Something here&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Thats it you are done simple huh?&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-8327391184624590597?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/8327391184624590597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=8327391184624590597' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/8327391184624590597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/8327391184624590597'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/08/custom-events-in-action-script.html' title='Custom Events in Action Script'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-927048268279599285</id><published>2009-07-30T11:02:00.014+12:00</published><updated>2009-08-10T12:07:03.543+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='Free Stuff'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Free Flex Visual Studio Plug-in</title><content type='html'>There is a plug-in for visual studio it is not as good as the adobe IDE but is free will do the job, for more info on the plug-in go to &lt;a href="http://www.ensemble.com/products/tofino.html" target="_BLANK"&gt;their website&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;First you need to download all the required files listed below:&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.flashdevelop.org/wikidocs/index.php?title=Main_Page" target="_BLANK"&gt;Flash Develop&lt;/a&gt; - "Release notes and download" link, then towards the bottom of the page redirected page.&lt;/li&gt;&lt;li&gt;&lt;a href="http://java.sun.com/javase/downloads/index.jsp" target="_BLANK"&gt;Java SE Runtime Environment (JRE)&lt;/a&gt; - download button under the table heading (Java SE Runtime Environment (JRE).&lt;/li&gt;&lt;li&gt;&lt;a href="http://opensource.adobe.com/wiki/display/flexsdk/Downloads" tatget="_BLANK"&gt;Flex SDK&lt;/a&gt; - "Free Adobe Flex 3 SDK" link.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.ensemble.com/products/tofino.shtml" tatget="_BLANK"&gt;Tofino Visual Studio Plugin&lt;/a&gt; - "Download Tofino [version] without Flex SDK" link.&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Now you have a directory full of downloads it is time to start installing(please note &lt;code&gt;[version]&lt;/code&gt; is a place holder for the current version of the file you downloaded):&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Extract the Flex SDK (&lt;code&gt;flex_sdk_3.zip&lt;/code&gt;) to "C:\Flex\3\".&lt;/li&gt;&lt;li&gt;Install the visual studio plugin (&lt;code&gt;EnsembleTofinoWithoutFlexSDK.[version].msi&lt;/code&gt;) by double clicking it.&lt;/li&gt;&lt;li&gt;Open Visual studio&lt;/li&gt;&lt;li&gt;Open the Options Windows&lt;/li&gt;&lt;li&gt;Check the "Show all settings" checkbox if its there&lt;/li&gt;&lt;li&gt;Go to Projects &gt; Flex Projects&lt;/li&gt;&lt;li&gt;Set the Flex 3 SDK location to "C:\FlexSDK\3\"&lt;/li&gt;&lt;/ol&gt;&lt;/p&gt;&lt;center&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bxl1yT9K6fw/SnDalSN7kZI/AAAAAAAAAXE/9nX8S_j_2-s/s1600-h/vsSettings.png"&gt;&lt;img width="400" height="218px" src="http://3.bp.blogspot.com/_bxl1yT9K6fw/SnDalSN7kZI/AAAAAAAAAXE/9nX8S_j_2-s/s400/vsSettings.png" border="0" alt="Visual Studio Options Screen" id="BLOGGER_PHOTO_ID_5364027490278543762" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;strong&gt;The Visual Studio Options Screen.&lt;/strong&gt;&lt;/center&gt;&lt;br /&gt;&lt;p&gt;For more info on how to use the plug-in there is an article at &lt;a href="http://www.developerfusion.com/article/9536/using-adobe-flex-in-visual-studio/" target="_BLANK"&gt;developer fusion&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-927048268279599285?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/927048268279599285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=927048268279599285' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/927048268279599285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/927048268279599285'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/free-flex-visual-studio-plug-in.html' title='Free Flex Visual Studio Plug-in'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_bxl1yT9K6fw/SnDalSN7kZI/AAAAAAAAAXE/9nX8S_j_2-s/s72-c/vsSettings.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-3895381243653243222</id><published>2009-07-29T23:46:00.008+12:00</published><updated>2009-08-07T15:32:24.475+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><title type='text'>Controlling Flex With Javascript</title><content type='html'>For work I had to do a proof of concept to show that I could control flex using javascript and &lt;a href="http://demos.steamed-design.com/demos/javascript/index.html" target="_BLANK"&gt;here is is&lt;/a&gt; with the &lt;a href="http://demos.steamed-design.com/demos/javascript/srcview/index.html" target="_BLANK"&gt;source&lt;/a&gt;, if you want to do it follow &lt;a href="http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&amp;productId=2&amp;postId=11946" target="_BLANK"&gt;this article&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I did have one problem tho and that was i was using &lt;a href="http://www.steamed-design.com/2009/07/free-flex-ide.html" target="_BLANK"&gt;Flash Develop&lt;/a&gt; and there is no "Create Ajax Bridge." menu option, luckily this can be solved pretty simply just by copying the the files from you sdk directory to you project they are located in &lt;code&gt;[sdk]\frameworks\javascript\fabridge\src\bridge\&lt;/code&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-3895381243653243222?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/3895381243653243222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=3895381243653243222' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/3895381243653243222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/3895381243653243222'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/controlling-flex-with-javascript.html' title='Controlling Flex With Javascript'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-362620302012942873</id><published>2009-07-25T14:18:00.008+12:00</published><updated>2009-07-26T17:11:30.964+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='App Engine'/><category scheme='http://www.blogger.com/atom/ns#' term='sdk'/><category scheme='http://www.blogger.com/atom/ns#' term='Eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>The Eclipse IDE and Google App Engine</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://code.google.com/appengine/images/appengine_lowres.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 142px; height: 109px;" src="http://code.google.com/appengine/images/appengine_lowres.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;a href="http://code.google.com/appengine/"&gt;App Engine&lt;/a&gt; is Googles offering in the realm of cloud computing.  The free service that Google offers should be more than enough to host small websites.  If an application does need extra resources, there is the option to enable flexible billing which alows a web application to scale and only pay for resources used. see &lt;a href="http://code.google.com/appengine/docs/billing.html"&gt;Googles Billing Docs&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Orginally the App Engine only supported the Python scripting language, though the Google team have recently anounced &lt;a href="http://googleappengine.blogspot.com/2009/04/seriously-this-time-new-language-on-app.html"&gt;Java support.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Google have released an SDK and set of plugins for the Eclipse IDE, together they provide an integrated developement and deployment environment.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;How to set up Eclipse/App Engine&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Software needed:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://java.sun.com/javase/downloads/index.jsp"&gt;Java SE Development Kit(JDK)&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.eclipse.org/"&gt;The Eclipse IDE&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Installation:&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;Install the Java SE DEvelopment Kit&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Unpack the Eclipse IDE&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://code.google.com/appengine/docs/java/tools/eclipse.html"&gt;Follow these steps&lt;/a&gt; to install the SDK and App engine plugin through the Eclipse software update service.  You will likely need to reboot.&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Further Information:&lt;/span&gt;&lt;br /&gt;&lt;a href="http://code.google.com/appengine/docs/"&gt;App Engine Docs&lt;/a&gt;&lt;br /&gt;&lt;a href="http://code.google.com/p/google-app-engine-samples/"&gt;Sample applications&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-362620302012942873?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/362620302012942873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=362620302012942873' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/362620302012942873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/362620302012942873'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/eclipse-ide-and-google-app-engine.html' title='The Eclipse IDE and Google App Engine'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15947112692784516745</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='00727386468082217749'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-339225836903408508</id><published>2009-07-22T17:57:00.010+12:00</published><updated>2009-11-09T15:32:01.457+13:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='Free Stuff'/><category scheme='http://www.blogger.com/atom/ns#' term='FlashDevelop'/><category scheme='http://www.blogger.com/atom/ns#' term='How to'/><title type='text'>Free Flex IDE</title><content type='html'>&lt;a href="http://www.flashdevelop.org" target="_BLANK"&gt;&lt;img style="float:left; margin:0 10px 10px 0;" width="135" height"135" src="http://2.bp.blogspot.com/_bxl1yT9K6fw/SmaIE4AurLI/AAAAAAAAAW8/dKc8b8fFGnE/s400/flexdevelop.png" border="0" alt="Flash Develop Logo" /&gt;&lt;/a&gt;Ok so flex is great but there is one small problem and thats the US$ 299 for the &lt;a href="http://www.adobe.com/go/flex_trial" target="_BLANK"&gt;IDE from adobe&lt;/a&gt;. Yes there is a free trial available so you can at least spend 60 days trying the IDE but what happens after your 60 days are up and you still want to use flex but don't have US $299 laying around to buy yourself the full version. With &lt;a href="http://www.flashdevelop.org/"&gt;Flash Develop&lt;/a&gt; and a two &lt;a href="http://www.flashdevelop.org/community/viewtopic.php?f=4&amp;t=4660" target="_BLANK"&gt;little&lt;/a&gt; &lt;a href="http://www.flashdevelop.org/community/viewtopic.php?f=4&amp;t=3727" target="_BLANK"&gt;plugins&lt;/a&gt; you can.&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Installing&lt;/strong&gt;&lt;br /&gt;First you need to download all the required files listed below:&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.flashdevelop.org/wikidocs/index.php?title=Main_Page" target="_BLANK"&gt;Flash Develop&lt;/a&gt; - "Release notes and download" link, then towards the bottom of the page redirected page.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://java.sun.com/javase/downloads/index.jsp" target="_BLANK"&gt;Java SE Runtime Environment (JRE)&lt;/a&gt; - download button under the table heading (Java SE Runtime Environment (JRE).&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://opensource.adobe.com/wiki/display/flexsdk/Downloads" tatget="_BLANK"&gt;Flex SDK&lt;/a&gt; - "Free Adobe Flex 3 SDK" link.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://www.flashdevelop.org/community/viewtopic.php?f=4&amp;t=3727" target="_BLANK"&gt;Design View plugin&lt;/a&gt; - "Download Plugin" link.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://sourceforge.net/projects/designview/files/" target="_BLANK"&gt;Design View Air Package&lt;/a&gt; - "designview.air" link.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://gforge.opensource-sw.net/gf/project/flexdbg/frs/" target="_BLANK"&gt;Debugger Plugin&lt;/a&gt; - "FlexDbg.zip" link.&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Now you have a directory full of downloads it is time to start installing(please note &lt;code&gt;[version]&lt;/code&gt; is a place holder for the current version of the file you downloaded):&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Run the installer(&lt;code&gt;FlashDevelop[version].exe&lt;/code&gt;) for Flash Develop and and leave everything as the defaults.&lt;li&gt;Install the Java SE Runtime Environment (&lt;code&gt;jre-[number]-windows-i586.exe&lt;/code&gt;).&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Extract the Flex SDK(&lt;code&gt;flex_sdk_3.zip&lt;/code&gt;) to "C:\Flex\3\".&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Install the Design View AIR app(&lt;code&gt;designview.air&lt;/code&gt;) by double clicking it.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Open the Design View plugin(&lt;code&gt;FlexDesignView-[version].zip&lt;/code&gt;) and copy the contents of "&lt;code&gt;Data&lt;/code&gt;" to "&lt;code&gt;C:\Program Files\FlashDevelop\Data\&lt;/code&gt;" and the contents of "&lt;code&gt;Plugins&lt;/code&gt;" to "&lt;code&gt;C:\Program Files\FlashDevelop\Plugins\&lt;/code&gt;".&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Extract the Debugger Plugin(FlexDbg.zip) to "&lt;code&gt;C:\Program Files\FlashDevelop\Plugins\"&lt;/code&gt;".&lt;/li&gt;&lt;/ol&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Now Everything is in installed all you need to do is set up flex in Flash Develop:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Open the Flash Develop(&lt;code&gt;Start &gt; Applications &gt; Flex Develop &gt; Flex Develop)&lt;/code&gt;.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Once the application is opened press &lt;code&gt;F10&lt;/code&gt; or go to "&lt;code&gt;Tool &gt; Program Settings&lt;/code&gt;" to open the Program Settings.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Click on AS3Content button (1. in the image below).&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Then set the "&lt;code&gt;Flex SDK Location&lt;/code&gt;" (2. in the image below) to "&lt;code&gt;C:\Flex\3\&lt;/code&gt;".&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Click Close, and enjoy &lt;a href="http://www.flashdevelop.org" target="_BLANK"&gt;Flash Develop&lt;/a&gt;.&lt;/li&gt;&lt;/ol&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Program Settings&lt;/strong&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bxl1yT9K6fw/SmaCsJvb6vI/AAAAAAAAAW0/qbHrqXwQUec/s1600-h/options.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 293px;" src="http://4.bp.blogspot.com/_bxl1yT9K6fw/SmaCsJvb6vI/AAAAAAAAAW0/qbHrqXwQUec/s400/options.jpg" border="0" alt="Settings Screen" id="BLOGGER_PHOTO_ID_5361116101471890162" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt; as requested here are some screen shots with FlashDevelop in both Source and Design Views.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_bxl1yT9K6fw/Svd9HyetWxI/AAAAAAAAAXU/nmKpnZu7324/s1600-h/SourceView.png"&gt;&lt;img src="http://2.bp.blogspot.com/_bxl1yT9K6fw/Svd9HyetWxI/AAAAAAAAAXU/nmKpnZu7324/s320/SourceView.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5401923850817329938" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_bxl1yT9K6fw/Svd9HmeNlwI/AAAAAAAAAXM/y0Kjb4hmgHw/s1600-h/DesignView.png"&gt;&lt;img src="http://1.bp.blogspot.com/_bxl1yT9K6fw/Svd9HmeNlwI/AAAAAAAAAXM/y0Kjb4hmgHw/s320/DesignView.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5401923847594022658" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-339225836903408508?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/339225836903408508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=339225836903408508' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/339225836903408508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/339225836903408508'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/free-flex-ide.html' title='Free Flex IDE'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_bxl1yT9K6fw/SmaIE4AurLI/AAAAAAAAAW8/dKc8b8fFGnE/s72-c/flexdevelop.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-2261017480539410785</id><published>2009-07-20T13:47:00.009+12:00</published><updated>2009-07-21T11:33:34.109+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='papervision 3D'/><category scheme='http://www.blogger.com/atom/ns#' term='FlashDevelop'/><category scheme='http://www.blogger.com/atom/ns#' term='project template'/><title type='text'>Solved It!</title><content type='html'>I have been having &lt;strong&gt;A LOT&lt;/strong&gt; of trouble trying to get my Papervision3D to run a tween just after loading. I spent a good part of the weekend trying to get it to work with no avail. Today I decided that it was time to use a process of elimination with event listeners to work it out, luckly for me it was the third event &lt;a href="http://www.flashdevelop.org/wikidocs/index.php?title=Main_Page" target="_BLANK"&gt;FlashDevelop's&lt;/a&gt; drop down list.&lt;br /&gt;&lt;br /&gt;Here is the code "view" is a BasicView and "zoomCamera" is the function called after loading view:&lt;pre&gt;view.addEventListener(Event.ADDED_TO_STAGE, zoomCamera);&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-2261017480539410785?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/2261017480539410785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=2261017480539410785' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/2261017480539410785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/2261017480539410785'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/solved-it.html' title='Solved It!'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-7576217316215880307</id><published>2009-07-18T23:44:00.001+12:00</published><updated>2009-07-18T23:46:47.634+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Music'/><category scheme='http://www.blogger.com/atom/ns#' term='Touch'/><title type='text'>Sexy touching machines</title><content type='html'>&lt;object height="231" width="400"&gt;&lt;param name="allowfullscreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=5349178&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1"&gt;&lt;embed src="http://vimeo.com/moogaloop.swf?clip_id=5349178&amp;amp;server=vimeo.com&amp;amp;show_title=1&amp;amp;show_byline=1&amp;amp;show_portrait=0&amp;amp;color=&amp;amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" height="231" width="400"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-7576217316215880307?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/7576217316215880307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=7576217316215880307' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/7576217316215880307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/7576217316215880307'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/sexy-touching-machines.html' title='Sexy touching machines'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15947112692784516745</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='00727386468082217749'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-7645687813874130890</id><published>2009-07-17T08:16:00.002+12:00</published><updated>2009-07-17T11:47:34.646+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='papervision 3D'/><category scheme='http://www.blogger.com/atom/ns#' term='project template'/><title type='text'>Adding Interactivity to Papervision 3D</title><content type='html'>&lt;a style="float:right; padding-left:10px;" href="http://demos.steamed-design.com/demos/interactivity/index.html" target="_BLANK"&gt;&lt;img width="200" height="222" src="http://3.bp.blogspot.com/_bxl1yT9K6fw/Sl7T-n2415I/AAAAAAAAAWA/EWrqO2eUwLA/s400/interactivity.png" border="0" alt="Interactivity Demo" /&gt;&lt;/a&gt;There are two types of Interactivity in &lt;a href="http://demos.steamed-design.com/demos/interactivity/index.html" target="_BLANK"&gt;this demo&lt;/a&gt; the first is controlling the camera and the second the 3D Animation i.e. making the panels spin when you click them.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Controlling the Camera&lt;/strong&gt;&lt;br /&gt;Controlling the camera is pretty simple in this example all you need to do is track the mouse movement and translate it into camera movement.&lt;br /&gt;&lt;br /&gt;To do this simply add the following code into your Event.ENTER_FRAME listener, where view is the Papervision View you are using.&lt;br /&gt;&lt;pre&gt;view.camera.x += (((stage.mouseX - (stage.stageWidth * .5)) * 2) - view.camera.x ) * .02;&lt;br /&gt;view.camera.y += (((stage.mouseY - (stage.stageHeight * .5)) * 2) - view.camera.y ) * .02;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Controlling 3D Animation&lt;/strong&gt;&lt;br /&gt;The easiest what to control 3D animation is to use &lt;a href="http://code.google.com/p/tweener/"&gt;tweener&lt;/a&gt;. Basically Tweener helps you move things around on the screen using only code, instead of the timeline. Tweener has no idea about Papervision 3D and in fact it only changes a variable over time which means that you can change any variable as long as it is a number.&lt;/p&gt;&lt;p&gt;To do this you first need to set the view to interactive, then add event listeners to the 3D objects.&lt;/p&gt;&lt;pre&gt;var controlPlane:Plane = new Plane();&lt;br /&gt;controlPlane.addEventListener (InteractiveScene3DEvent.OBJECT_CLICK, plane1Clicked);&lt;br /&gt;controlPlane.addEventListener (InteractiveScene3DEvent.OBJECT_OVER, plane1Rollover);&lt;br /&gt;controlPlane.addEventListener (InteractiveScene3DEvent.OBJECT_OUT, plane1Rollout);&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Then create functions and use tweener to manipulate the 3D objects&lt;/p&gt;&lt;pre&gt;private function plane1Rollover (myEvent:InteractiveScene3DEvent):void {     &lt;br /&gt;    //moves the panel back on roll over&lt;br /&gt;    Tweener.addTween(myEvent.currentTarget, { z:120, time:.5, transition:"easeInOutQuint" } );&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private function plane1Rollout (myEvent:InteractiveScene3DEvent):void {&lt;br /&gt;    //moves the panel froward to its original position on roll out.&lt;br /&gt;    Tweener.addTween(myEvent.currentTarget, { z:100, time:.5, transition:"easeInOutQuint" } );&lt;br /&gt;}&lt;br /&gt;        &lt;br /&gt;private function plane1Clicked (myEvent:InteractiveScene3DEvent):void {&lt;br /&gt;    //Resets the panels X rotation&lt;br /&gt;    myEvent.currentTarget.rotationX = 0;&lt;br /&gt;    //Flips the panel 360&lt;br /&gt;    Tweener.addTween(myEvent.currentTarget, { rotationX:360, time:1, transition:"easeInOutQuint" } );&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Follow &lt;a href="http://demos.steamed-design.com/demos/interactivity/index.html" target="_BLANK"&gt;this link to view a demo&lt;/a&gt; and as usual to view the &lt;a href="http://demos.steamed-design.com/demos/interactivity/srcview/index.html" target="_BLANK"&gt;full source&lt;/a&gt; right click the demo.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-7645687813874130890?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/7645687813874130890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=7645687813874130890' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/7645687813874130890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/7645687813874130890'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/adding-interactivity.html' title='Adding Interactivity to Papervision 3D'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_bxl1yT9K6fw/Sl7T-n2415I/AAAAAAAAAWA/EWrqO2eUwLA/s72-c/interactivity.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-4597417662694446559</id><published>2009-07-16T23:30:00.006+12:00</published><updated>2009-07-19T15:27:06.057+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight 3'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><title type='text'>Silverlight and h.264 video</title><content type='html'>&gt;&gt;Edit - &lt;a href="http://silverlight.services.live.com/invoke/104062/intersoft/iframe.html"&gt;updated demo&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This here is a test of the Silverlight mediaElement.  A visual brush is used to create the reflection, &lt;a href="http://silverlight.services.live.com/invoke/104062/nintest2/iframe.html"&gt;here is a demo&lt;/a&gt;.&lt;br /&gt;&lt;center&gt;&lt;a href="http://silverlight.services.live.com/invoke/104062/nintest2/iframe.html" target="_BLANK"&gt;&lt;img src="http://3.bp.blogspot.com/_bxl1yT9K6fw/Sl-99Lx5zUI/AAAAAAAAAWI/HfmovFORqQc/s400/nin.jpg" alt="Silverlight Demo" border="0" height="250" width="222" /&gt;&lt;/a&gt;&lt;/center&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-4597417662694446559?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/4597417662694446559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=4597417662694446559' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/4597417662694446559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/4597417662694446559'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/silverlight-and-h264-video.html' title='Silverlight and h.264 video'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15947112692784516745</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='00727386468082217749'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_bxl1yT9K6fw/Sl-99Lx5zUI/AAAAAAAAAWI/HfmovFORqQc/s72-c/nin.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-67584194124804193</id><published>2009-07-16T13:25:00.003+12:00</published><updated>2009-07-16T13:39:03.523+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='api'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='subversive'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Subverting Visual Studio</title><content type='html'>I have recently come across &lt;a href="http://ankhsvn.open.collab.net/"&gt;ankhsvn&lt;/a&gt;, a free plugin that allows you to use the &lt;a href="http://subversion.tigris.org/"&gt;Subversion&lt;/a&gt; version control system.&lt;br /&gt;&lt;br /&gt;This will be useful for further investigation into the &lt;a href="http://code.google.com/apis/gdata/samples.html#NET"&gt;Google .Net api&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;other useful links -&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://google-gdata.googlecode.com/svn/docs/index.html"&gt;.Net Gdata online documentation&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-67584194124804193?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/67584194124804193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=67584194124804193' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/67584194124804193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/67584194124804193'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/subverting-visual-studio.html' title='Subverting Visual Studio'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15947112692784516745</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='00727386468082217749'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-4732550140763079507</id><published>2009-07-15T15:19:00.005+12:00</published><updated>2009-07-17T14:43:57.860+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight 3'/><category scheme='http://www.blogger.com/atom/ns#' term='Plane Projection'/><category scheme='http://www.blogger.com/atom/ns#' term='project template'/><title type='text'>Plane Projection in Silverlight 3</title><content type='html'>The latest Silverlight 3 release has included Plane Projection transformations that allow 2 dimensional controls to be projected in 3 dimensions.&lt;br /&gt;&lt;br /&gt;An excellent article to read to get a feel on how to use the transformations to create psuedo 3d effects -&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/jaimer/archive/2009/06/03/silverlight3-planeprojection-primer.aspx"&gt;http://blogs.msdn.com/jaimer/archive/2009/06/03/silverlight3-planeprojection-primer.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A quick example emulating this &lt;a href="http://www.flashmint.com/show-template-2330.html"&gt;flash template&lt;/a&gt; using the Silverlight 3 PlaneProjection can be found &lt;a href="http://silverlight.services.live.com/invoke/104062/test2/iframe.html"&gt;here&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-4732550140763079507?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/4732550140763079507/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=4732550140763079507' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/4732550140763079507'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/4732550140763079507'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/plan-projection-in-silverlight-3.html' title='Plane Projection in Silverlight 3'/><author><name>Neil</name><uri>http://www.blogger.com/profile/15947112692784516745</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='00727386468082217749'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-2649234700680148102</id><published>2009-07-14T22:58:00.016+12:00</published><updated>2009-07-17T11:45:01.104+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='papervision 3D'/><category scheme='http://www.blogger.com/atom/ns#' term='project template'/><title type='text'>Embedding Flex Components</title><content type='html'>&lt;a href="http://demos.steamed-design.com/demos/controls/index.html" target="_BLANK"&gt;&lt;img width="152" height="180" style="float:right; padding-left:10px;" src="http://2.bp.blogspot.com/_bxl1yT9K6fw/Sl0QZn5si1I/AAAAAAAAAV4/88P161f55gY/s400/control.png" border="0" alt="Embedded Flex Components" /&gt;&lt;/a&gt;Ok, so before I start I have to say that the control is not actually embedded, all I managed it to do is get control as an image and apply it as a material to the plane.  Click the image to the right to &lt;a href="http://demos.steamed-design.com/demos/controls/index.html" target="_BLANK"&gt;see the demo&lt;/a&gt; you can view &lt;a href="http://demos.steamed-design.com/demos/controls/srcview/index.html" target="_BLANK"&gt;the source&lt;/a&gt; by right clicking the demo.&lt;br /&gt;&lt;br /&gt;I am working on getting the material to update when the control updates but that may be a while before it is working perfectly, as this is all I need for the &lt;a href="http://www.steamed-design.com/search/label/project%20template"&gt;project template&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-2649234700680148102?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/2649234700680148102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=2649234700680148102' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/2649234700680148102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/2649234700680148102'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/embedding-flex-components.html' title='Embedding Flex Components'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_bxl1yT9K6fw/Sl0QZn5si1I/AAAAAAAAAV4/88P161f55gY/s72-c/control.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-2213322537235792560</id><published>2009-07-12T19:35:00.005+12:00</published><updated>2009-07-17T11:46:17.570+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='papervision 3D'/><category scheme='http://www.blogger.com/atom/ns#' term='project template'/><title type='text'>Reflection</title><content type='html'>Ok step two was the reflection and now it is done, click on the image below too see the demo.&lt;br /&gt;&lt;center&gt;&lt;a href="http://demos.steamed-design.com/demos/reflection/index.html" target="_BLANK"&gt;&lt;img width="390" height="299"  src="http://4.bp.blogspot.com/_bxl1yT9K6fw/SlmSu6O9sNI/AAAAAAAAAVo/ANtySIy2-sQ/s400/reflection.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5357474566337573074" /&gt;&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://demos.steamed-design.com/demos/reflection/srcview/index.html" target="_BLANK"&gt;The source&lt;/a&gt; is available if you right click &lt;a href="http://demos.steamed-design.com/demos/reflection/index.html" target="_BLANK"&gt;the demo&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-2213322537235792560?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/2213322537235792560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=2213322537235792560' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/2213322537235792560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/2213322537235792560'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/reflection.html' title='Reflection'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_bxl1yT9K6fw/SlmSu6O9sNI/AAAAAAAAAVo/ANtySIy2-sQ/s72-c/reflection.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-1023805521908293433</id><published>2009-07-09T17:36:00.006+12:00</published><updated>2009-07-12T19:45:47.392+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='papervision 3D'/><category scheme='http://www.blogger.com/atom/ns#' term='project template'/><title type='text'>Using an Embedded Flex Image in Papervision3D</title><content type='html'>One of the problems had setting up the demo in the &lt;a herf="http://www.steamed-design.com/2009/07/blog-post.html"&gt;previous post&lt;/a&gt; was using embedded flex images for materials in the Papervision 3D scene, here is the solution.&lt;br /&gt;&lt;br /&gt;Create a variable for with the embedded image and the variable for the material.&lt;br /&gt;&lt;pre&gt;[Embed(source="assets/earthmap.jpg")]&lt;br /&gt;public var earthMap:Class;&lt;br /&gt;private var moonMaterial:BitmapMaterial;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Create a new BitmapAsset variable cad cast the image class to it.&lt;/p&gt;&lt;pre&gt;var earthAsset:BitmapAsset = new earthMap() as BitmapAsset;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;Finally assign the new variable as a material.&lt;/p&gt;&lt;pre&gt;earthMaterial = new BitmapMaterial(earthAsset.bitmapData);&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-1023805521908293433?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/1023805521908293433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=1023805521908293433' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/1023805521908293433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/1023805521908293433'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/using-embedded-flex-image-in.html' title='Using an Embedded Flex Image in Papervision3D'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-5574200501812900156</id><published>2009-07-08T21:19:00.003+12:00</published><updated>2009-07-17T11:47:14.049+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='papervision 3D'/><category scheme='http://www.blogger.com/atom/ns#' term='project template'/><title type='text'>Papervision3D</title><content type='html'>Ok so I have started and the first thing I realised when I looked at the template is that it was doing stuff in 3D so I figured that I probably need to learn how to do that.  The template was called &lt;a href="http://www.flashmint.com/show-template-2330.html" target="_BLANK"&gt;Ultra biz papervision 3d flash&lt;/a&gt; I figured that &lt;a href="http://blog.papervision3d.org/"&gt;Papervision3D&lt;/a&gt; is what was doing all the 3D heavy lifting it turns out I was right.&lt;br /&gt;&lt;br /&gt;I downloaded the &lt;a href="http://code.google.com/p/papervision3d/downloads/list" target="_BLANK"&gt;swc&lt;/a&gt; and tried to work it out, this is what I managed. &lt;br /&gt;&lt;center&gt;&lt;embed src="http://images.steamed-design.com/demos/earth/Earth3D.swf"   quality="high" bgcolor="#869ca7" width="400" height="300" name="Earth 3D" align="middle" play="true" loop="false" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" base="http://images.steamed-design.com/demos/earth/" pluginspage="http://www.adobe.com/go/getflashplayer"&gt;&lt;/embed&gt;&lt;/center&gt;&lt;br /&gt;&lt;p&gt;To view the source right click the movie and select &lt;a href="http://images.steamed-design.com/demos/earth/srcview/index.html" target="_BLANK"&gt;view source&lt;/a&gt;.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-5574200501812900156?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/5574200501812900156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=5574200501812900156' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/5574200501812900156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/5574200501812900156'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/blog-post.html' title='Papervision3D'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-5240913307252050612</id><published>2009-07-07T16:35:00.005+12:00</published><updated>2009-07-07T21:04:03.383+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='flex'/><category scheme='http://www.blogger.com/atom/ns#' term='project template'/><title type='text'>Project Template</title><content type='html'>A few weeks ago after spending ages trying to make a &lt;a href="http://www.isurveysoft.com" target="_BLANK"&gt;cross browser Javascript application&lt;/a&gt; and ending up with two lots of code one for IE 7 and one for the rest of the browsers, I decided that there must be a better way &lt;a href="http://www.adobe.com/products/flex/" target="_BLANK"&gt;enter flex&lt;/a&gt;. I spent a week doing the &lt;a href="http://www.adobe.com/devnet/flex/videotraining/" target="_BLANK"&gt;flex in a week&lt;/a&gt; and then it was time to come up with an project to see how this flex thing really works.&lt;br /&gt;&lt;br /&gt;This is where the contest I won came into play I won $100 of templates and got &lt;a href="http://www.flashmint.com/show-template-2330.html" target="_BLANK"&gt;this template&lt;/a&gt; so I figured what better way to learn flex that to try and recreate it using flex instead of boring old flex so &lt;a href="http://www.steamed-design.com/search/label/project%20template"&gt;project template&lt;/a&gt; was born, I will update here as I work through it with all source code included.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-5240913307252050612?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/5240913307252050612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=5240913307252050612' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/5240913307252050612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/5240913307252050612'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/project-template.html' title='Project Template'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-6553111024260275529</id><published>2009-07-07T15:27:00.000+12:00</published><updated>2009-07-07T15:28:41.416+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><title type='text'>Out in the Wild</title><content type='html'>My pet project has just finshed its first test in the wild and from what I can tell things went great. To have a look at the website where you to can ask for information feel free to go to the ultimate iphone and &lt;a href="http://www.isurveysoft.com"&gt;iPod Touch Survey Software for Market Research&lt;/a&gt; tool, yeah I know its a long link but i do what I am told.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-6553111024260275529?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/6553111024260275529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=6553111024260275529' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/6553111024260275529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/6553111024260275529'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/out-in-wild.html' title='Out in the Wild'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-54401253142844058</id><published>2009-07-06T15:22:00.010+12:00</published><updated>2009-07-07T15:21:31.017+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='Free Stuff'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='How to'/><title type='text'>Excel Reader Writer (excel not required)</title><content type='html'>Ok as promised here it is a very simple(1 days work) wrapper for reading and writing excel files using &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&amp;displaylang=en" target="_BLANK"&gt;2007 Office System Driver: Data Connectivity Component&lt;/a&gt;. Below is an example function that shows what the class library can do. Remember to include a reference to the &lt;a href="http://images.steamed-design.com/files/Corich.Excel.zip"&gt;library&lt;/a&gt; in you project.&lt;br /&gt;&lt;pre&gt;public void CorichExcel()&lt;br /&gt;{&lt;br /&gt;    string file = "C:/excel.xls";&lt;br /&gt;&lt;br /&gt;    string sheet = "";&lt;br /&gt;&lt;br /&gt;    try&lt;br /&gt;    {&lt;br /&gt;        //Gets a liost of sheets from the excel file&lt;br /&gt;        string[] sheets = Corich.Excel.ReaderWriter.GetSheets(file);&lt;br /&gt;        sheet = sheets[0];&lt;br /&gt;    }&lt;br /&gt;    catch(Exception ex)&lt;br /&gt;    {&lt;br /&gt;        MessageBox.Show(ex.Message);&lt;br /&gt;        return;&lt;br /&gt;    }&lt;br /&gt;    &lt;br /&gt;    //Check to see if the sheet exist&lt;br /&gt;    if (Corich.Excel.ReaderWriter.SheetExists(file, sheet))&lt;br /&gt;    {&lt;br /&gt;&lt;br /&gt;        //gets a list of colums from the first sheet in the excel file&lt;br /&gt;        string[] columns = Corich.Excel.ReaderWriter.GetColumns(file, sheet);&lt;br /&gt;&lt;br /&gt;        //Loads the data in the first excel sheet into a data table&lt;br /&gt;        DataTable data = Corich.Excel.ReaderWriter.Read(file);&lt;br /&gt;&lt;br /&gt;        //Writes the data from the first sheet to a new excel file, currently only writes to xlsb files&lt;br /&gt;        Corich.Excel.ReaderWriter.Write("C:\new_file.xlsb", data);&lt;br /&gt;&lt;br /&gt;        //Writes the data from the first sheet to a new excel file in the temp directory then opens it, currently only writes to xlsb files&lt;br /&gt;        Corich.Excel.ReaderWriter.WriteToTemp("new_file.xlsb", data, true);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;You can download the &lt;a href="http://images.steamed-design.com/files/Corich.Excel.zip "&gt;.dll and the source here&lt;/a&gt; the code is under the &lt;a href="http://creativecommons.org/licenses/GPL/2.0/" target="_BLANK"&gt;GNU GPL licence&lt;/a&gt; it would be nice to point people to &lt;a href="http://www.steamed-design.com"&gt;my site&lt;/a&gt; if you use it.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-54401253142844058?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/54401253142844058/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=54401253142844058' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/54401253142844058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/54401253142844058'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/excel-reader-writer.html' title='Excel Reader Writer (excel not required)'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8025044445010455479.post-1944021591874055519</id><published>2009-07-03T11:44:00.010+12:00</published><updated>2009-07-07T15:20:34.496+12:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='How to'/><title type='text'>Excel Sheet Names using ODBC</title><content type='html'>I recently needed to import data from excel into a c# application after doing some searching I found the &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&amp;amp;displaylang=en"&gt;2007 Office System Driver: Data Connectivity Components&lt;/a&gt; there is a lot of good info on the net so I quickly got it up and running.&lt;br /&gt;&lt;br /&gt;There was only one problem nowhere I looked could I find out how to get the sheet names.  I stared putting various stuff into a data grid until I cam up with the code below.&lt;br /&gt;&lt;pre&gt;string filename = "your filename";&lt;br /&gt;string connectionString;&lt;br /&gt;connectionString = "Driver={Microsoft Excel Driver (*.xls, *.xlsx, *.xlsm, *.xlsb)};dbq=" + filename + ";fil=excel 12.0;readonly=0;usercommitsync=Yes";&lt;br /&gt;&lt;br /&gt;OdbcConnection myConnection = new OdbcConnection(connectionString);&lt;br /&gt;&lt;br /&gt;myConnection.Open();&lt;br /&gt;DataTable data = myConnection.GetSchema("Tables");&lt;br /&gt;myConnection.Close();&lt;br /&gt;&lt;br /&gt;List&lt;string&gt; sheets = new List&lt;string&gt;();&lt;br /&gt;foreach (DataRow sheet in data.Rows)&lt;br /&gt;{&lt;br /&gt;    sheets.Add(sheet["TABLE_NAME"].ToString().Trim('\'').TrimEnd('$'));&lt;br /&gt;}&lt;/string&gt;&lt;/string&gt;&lt;/pre&gt;&lt;br /&gt;&lt;p&gt;P.S. I have built a whole static class library to read and write excel sheets I will post it here when I have some time to comment it.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8025044445010455479-1944021591874055519?l=www.steamed-design.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.steamed-design.com/feeds/1944021591874055519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=8025044445010455479&amp;postID=1944021591874055519' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/1944021591874055519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8025044445010455479/posts/default/1944021591874055519'/><link rel='alternate' type='text/html' href='http://www.steamed-design.com/2009/07/get-excel-sheet-names-from-odbc.html' title='Excel Sheet Names using ODBC'/><author><name>Matt</name><uri>http://www.blogger.com/profile/02171182242852801284</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11107311304710151578'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>