<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>Flashguy's Blog</title>
	<link>http://flashguy.de/blog</link>
	<description>Wicked Actionscript</description>
	<lastBuildDate>Wed, 18 Aug 2010 14:42:05 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.0" -->

	<item>
		<title>Custom Timer Class with pause functionality</title>
		<description><![CDATA[In my current Project I came across an issue that bugged me for a while.
The thing is, I'm building a game where a timer is used to jump to the next level(e.g. every 30 seconds the level goes one up). Unfortunatly, the game has a pause mode if you press "p" on the keyboard. I [...]]]></description>
		<link>http://flashguy.de/blog/?p=168</link>
			</item>
	<item>
		<title>New Web2Print Job</title>
		<description><![CDATA[Designskins.com

Designskins.com is a website which lets you choose from a large list of devices such as your mobile phone. You can then customize a skin for your device using images from the gallery or even upload custom images. Add text and some icons and send your skin to the cart. The server then generates a [...]]]></description>
		<link>http://flashguy.de/blog/?p=147</link>
			</item>
	<item>
		<title>New Office</title>
		<description><![CDATA[
Last Thursday we moved into our fabulous new office.
You can now find me at:
Deisenhofener Stra&#223;e 1
D-81539 M&#252;nchen
co Hello AG
+49 178 2441939
+49 89 244163391
Looking forward to seeing you...
]]></description>
		<link>http://flashguy.de/blog/?p=134</link>
			</item>
	<item>
		<title>Flashbuilder &#8211; setting Text in the Richtext Component</title>
		<description><![CDATA[Just to file this for myself. Peter deHaan wrote this great Post on the many different ways of setting text in a spark RichText Component.
Check it out here.
My favourite is getting HTML Markup from a String into the RichText Component. Perfect for localisation.
Actionscript:




&#60;?xml version="1.0" encoding="utf-8"?&#62;


&#60;!-- http://blog.flexexamples.com/2009/08/11/setting-text-in-a-spark-richtext-control-in-flex-4/ --&#62;


&#60;s:Application name="Spark_RichText_text_test"


&#160; &#160; &#160; &#160; xmlns:fx="http://ns.adobe.com/mxml/2009"


&#160; &#160; &#160; &#160; [...]]]></description>
		<link>http://flashguy.de/blog/?p=123</link>
			</item>
	<item>
		<title>Getting a &#8220;Shake&#8221; Event on the iPhone with Flash CS5</title>
		<description><![CDATA[If you need to find out if a User shakes his iPhone the following might help:
Actionscript:




var accel:Accelerometer = new Accelerometer&#40;&#41;;


accel.addEventListener&#40;AccelerometerEvent.UPDATE, onAccelUpdate&#41;;


&#160;


var lastAccelX:Number;


var lastAccelY:Number;


var lastAccelZ:Number;


&#160;


var shaked:Boolean;


var shakeTreshhold: Number = 1.5


&#160;


function onAccelUpdate&#40;e:AccelerometerEvent&#41;:void


&#123;


&#160; &#160; if &#40;&#40;e.accelerationX - lastAccelX&#62; shakeTreshhold&#41;&#124;&#124;&#40;e.accelerationY - lastAccelY&#62; shakeTreshhold&#41;&#124;&#124;&#40;e.accelerationZ - lastAccelZ&#62; shakeTreshhold&#41;&#41;


&#160; &#160; &#123;


&#160; &#160; &#160; &#160; if&#40;shaked&#41;


&#160; &#160; &#160; &#160; &#160; &#160; return;


&#160; &#160; [...]]]></description>
		<link>http://flashguy.de/blog/?p=116</link>
			</item>
	<item>
		<title>Determining the direction of a Gesture in Flash CS5 on the iPhone</title>
		<description><![CDATA[If you need to find out in what direction a gesture goes, e.g. Up, Down, Left or Right the following Script might help.
Actionscript:




this.addEventListener&#40;TouchEvent.TOUCH_BEGIN, onTouchBegin&#41;


this.addEventListener&#40;TouchEvent.TOUCH_END, onTouchEnd&#41;


&#160;


var startPoint:Point;


var endPoint:Point;


&#160;


function onTouchBegin&#40;e:TouchEvent&#41;:void


&#123;


&#160; &#160; startPoint = new Point&#40;e.localX, e.localY&#41;;


&#125;


function onTouchEnd&#40;e:TouchEvent&#41;:void


&#123;


&#160; &#160; endPoint = new Point&#40;e.localX, e.localY&#41;;


&#160; &#160; var a:Number = endPoint.y - startPoint.y;


&#160; &#160; var b:Number = endPoint.x - startPoint.x;


&#160; [...]]]></description>
		<link>http://flashguy.de/blog/?p=110</link>
			</item>
	<item>
		<title>Adding a hyperlink to a Flashbuilder RichText Component</title>
		<description><![CDATA[First of all be aware to use RichEditableText instead of the RichText. Unfortunatly I couldn't get links to work in the RichText Component. Also set editable="false" focusEnabled="false" in the RichEditableText Component to make it clickable
Actionscript:




&#60;s:RichEditableText editable="false" focusEnabled="false"&#62;


&#160; &#160; &#60;s:content&#62;&#60;s:p&#62;&#60;s:span&#62;some Text&#60;/s:span&#62;&#60;s:a href="http://www.flashguy.de"&#62;the link&#60;/s:a&#62;&#60;s:span&#62;more Text&#60;/s:span&#62;&#60;/s:p&#62;&#60;/s:content&#62;


&#60;/s:RichEditableText&#62; 






]]></description>
		<link>http://flashguy.de/blog/?p=107</link>
			</item>
	<item>
		<title>New Job online &#8211; www.muellermilch.de</title>
		<description><![CDATA[
Together with BergerBaaderHermes I've created the Flash Components for the new M&#252;llermilch Website.
The Site uses a lot of video and cool ajax animations. All in all I mus say it's a great example of the combination of Flash and dynamic HTML.
]]></description>
		<link>http://flashguy.de/blog/?p=102</link>
			</item>
	<item>
		<title>Transparent Air application with Flashbuilder</title>
		<description><![CDATA[Just a quick one that annoyed me a bit. After my Vacation I came back and was so happy that the Flashbuilder beta was released. It was really necessary coz I wasn't happy working with Flexbuilder 3 after seeing the Gumbo preview at Max.
So, I started a new AIR Project in Flashbuilder and got stuck [...]]]></description>
		<link>http://flashguy.de/blog/?p=99</link>
			</item>
	<item>
		<title>Long Time no Blogging</title>
		<description><![CDATA[Hey you guys out there.
I'm sorry for not blogging for ages, but i was really busy with some awesome projects and and a long vacation in the US. I'll try to get all the stuff posted here in the next few days!
]]></description>
		<link>http://flashguy.de/blog/?p=97</link>
			</item>
</channel>
</rss>
