<?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>Markus Raab - All I don't know.</title>
	<atom:link href="http://blog.derraab.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.derraab.com</link>
	<description>Information Accumulation.</description>
	<lastBuildDate>Thu, 25 Feb 2010 12:14:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>URLRequest with HTTP authentication</title>
		<link>http://blog.derraab.com/2010/02/25/urlrequest-with-http-authentication/</link>
		<comments>http://blog.derraab.com/2010/02/25/urlrequest-with-http-authentication/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 12:14:26 +0000</pubDate>
		<dc:creator>derRaab</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Player]]></category>
		<category><![CDATA[Flash in Browser]]></category>
		<category><![CDATA[How To...]]></category>

		<guid isPermaLink="false">http://blog.derraab.com/?p=123</guid>
		<description><![CDATA[I found a good explanation how to support HTTP authentication with URLRequests here.
That's the most interesting part:

Best I can tell, for some reason, this only works where request method is POST; the headers don't get set with GET requests.
Interestingly, it also fails unless at least one URLVariables name-value pair gets packaged with the request, as [...]]]></description>
			<content:encoded><![CDATA[<p>I found a good explanation how to support HTTP authentication with URLRequests <a href="http://stackoverflow.com/questions/509219/flex-3-how-to-support-http-authentication-urlrequest">here</a>.</p>
<p>That's the most interesting part:</p>
<blockquote><p>
Best I can tell, for some reason, this only works where request method is POST; the headers don't get set with GET requests.</p>
<p>Interestingly, it also fails unless at least one URLVariables name-value pair gets packaged with the request, as indicated above. That's why many of the examples you see out there (including mine) attach "name=John+Doe" -- it's just a placeholder for some data that URLRequest seems to require when setting any custom HTTP headers. Without it, even a properly authenticated POST request will also fail.</p>
<p>You'll almost surely have to modify your crossdomain.xml file to accommodate the header(s) you're going to be sending. In my case, I'm using this, which is a rather wide-open policy file in that it accepts from any domain, so in your case, you might want to limit things a bit more, depending on how security-conscious you are:</p>
<div class="igBar"><span id="lxml-3"><a href="#" onclick="javascript:showPlainTxt('xml-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">XML:</span>
<div id="xml-3">
<div class="xml"><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;</span>?xml <span style="color: #000066;">version</span>=<span style="color: #ff0000;">"1.0"</span>?<span style="font-weight: bold; color: black;">&gt;</span></span><br />
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;cross</span>-domain-policy<span style="font-weight: bold; color: black;">&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;allow</span>-access-from <span style="color: #000066;">domain</span>=<span style="color: #ff0000;">"*"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span><br />
&nbsp; &nbsp; <span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;allow</span>-http-request-headers-from <span style="color: #000066;">domain</span>=<span style="color: #ff0000;">"*"</span> <span style="color: #000066;">headers</span>=<span style="color: #ff0000;">"Authorization"</span> <span style="font-weight: bold; color: black;">/&gt;</span></span><br />
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/cross</span>-domain-policy<span style="font-weight: bold; color: black;">&gt;</span></span></div>
</div>
</div>
<p></p>
<p>... and that seems to work; more information on this one is available from Adobe <a href="http://kb2.adobe.com/cps/403/kb403185.html">here</a>).</p>
<p>Apparently, Flash player version 9.0.115.0 completely blocks all Authorization headers (more information on this one <a href="http://kb2.adobe.com/cps/403/kb403184.html">here</a>), so you'll probably want to keep that in mind, too.
</p></blockquote>
<p>So this little code snippet explains the basics:</p>
<div class="igBar"><span id="lactionscript-4"><a href="#" onclick="javascript:showPlainTxt('actionscript-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-4">
<div class="actionscript"><span style="color: #808080; font-style: italic;">// Base64Encoder contained in Flex SDK</span><br />
<span style="color: #0066CC;">import</span> mx.<span style="color: #006600;">utils</span>.<span style="color: #006600;">Base64Encoder</span>;</p>
<p><span style="color: #808080; font-style: italic;">// Encode username and password</span><br />
<span style="color: #000000; font-weight: bold;">var</span> base64Encoder : Base64Encoder = <span style="color: #000000; font-weight: bold;">new</span> Base64Encoder<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; base64Encoder.<span style="color: #006600;">encode</span><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">"username:password"</span> <span style="color: #66cc66;">&#41;</span>;</p>
<p><span style="color: #808080; font-style: italic;">// Create authorization request header</span><br />
<span style="color: #000000; font-weight: bold;">var</span> urlRequestHeader : URLRequestHeader = <span style="color: #000000; font-weight: bold;">new</span> URLRequestHeader<span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">"Authorization"</span>, <span style="color: #ff0000;">"Basic "</span> + base64Encoder.<span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#41;</span>;</p>
<p><span style="color: #808080; font-style: italic;">// URLRequest setup</span><br />
<span style="color: #000000; font-weight: bold;">var</span> urlRequest : URLRequest = <span style="color: #000000; font-weight: bold;">new</span> URLRequest<span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">"url"</span> <span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Needs to send some data!!</span><br />
&nbsp; &nbsp; urlRequest.<span style="color: #0066CC;">data</span> = <span style="color: #000000; font-weight: bold;">new</span> URLVariables<span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">"name=John+Doe"</span> <span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Only supported with POST method!!</span><br />
&nbsp; &nbsp; urlRequest.<span style="color: #006600;">method</span> = URLRequestMethod.<span style="color: #006600;">POST</span>;<br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Apply authorization request header</span><br />
&nbsp; &nbsp; urlRequest.<span style="color: #006600;">requestHeaders</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Array</span><span style="color: #66cc66;">&#40;</span> urlRequestHeader <span style="color: #66cc66;">&#41;</span>;</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.derraab.com/2010/02/25/urlrequest-with-http-authentication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DisplayObject.rotationX,Y,Z</title>
		<link>http://blog.derraab.com/2010/02/01/displayobject-rotationxyz/</link>
		<comments>http://blog.derraab.com/2010/02/01/displayobject-rotationxyz/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 16:21:42 +0000</pubDate>
		<dc:creator>derRaab</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://blog.derraab.com/?p=118</guid>
		<description><![CDATA[Just a quick note about working with DisplayObject.rotationX,Y,Z:
Keep in mind that your DisplayObject rotates around it's center point. This may result in weird optics if you forget to align your DisplayObject properly.
Update: Well, there is much more to know!
There's need for an DisplayObjectContainer with an properly assigned PerspectiveProjection.
Copy &#038; paste this code and you'll see [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick note about working with DisplayObject.rotationX,Y,Z:</p>
<p>Keep in mind that your <code>DisplayObject</code> rotates around it's center point. This may result in weird optics if you forget to align your <code>DisplayObject</code> properly.</p>
<p><strong>Update: Well, there is much more to know!</strong></p>
<p>There's need for an <code>DisplayObjectContainer</code> with an properly assigned <code>PerspectiveProjection</code>.</p>
<p>Copy &#038; paste this code and you'll see what I'm talking about:</p>
<div class="igBar"><span id="lactionscript-6"><a href="#" onclick="javascript:showPlainTxt('actionscript-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-6">
<div class="actionscript"><span style="color: #0066CC;">stage</span>.<span style="color: #0066CC;">align</span> = StageAlign.<span style="color: #006600;">TOP_LEFT</span>;<br />
<span style="color: #0066CC;">stage</span>.<span style="color: #0066CC;">scaleMode</span> = StageScaleMode.<span style="color: #006600;">NO_SCALE</span>;<br />
<span style="color: #0066CC;">stage</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span> Event.<span style="color: #006600;">RESIZE</span>, onStageResize <span style="color: #66cc66;">&#41;</span>;</p>
<p><span style="color: #000000; font-weight: bold;">function</span> onStageResize<span style="color: #66cc66;">&#40;</span> event : Event <span style="color: #66cc66;">&#41;</span> : <span style="color: #0066CC;">void</span><br />
<span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; draw<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #66cc66;">&#125;</span></p>
<p><span style="color: #000000; font-weight: bold;">function</span> createRectSprite<span style="color: #66cc66;">&#40;</span> w : <span style="color: #0066CC;">int</span>, h : <span style="color: #0066CC;">int</span>, rotationY : <span style="color: #0066CC;">Number</span>, container : Sprite, useProjection : <span style="color: #0066CC;">Boolean</span> <span style="color: #66cc66;">&#41;</span> : Sprite<br />
<span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// 3D object</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> graphicSprite : Sprite = <span style="color: #000000; font-weight: bold;">new</span> Sprite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; graphicSprite.<span style="color: #0066CC;">name</span> = <span style="color: #ff0000;">"graphicSprite"</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; graphicSprite.<span style="color: #006600;">rotationY</span> = rotationY;<br />
&nbsp; &nbsp; &nbsp; &nbsp; graphicSprite.<span style="color: #006600;">buttonMode</span> = <span style="color: #000000; font-weight: bold;">true</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; graphicSprite.<span style="color: #0066CC;">useHandCursor</span> = <span style="color: #000000; font-weight: bold;">true</span>;</p>
<p>&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Make sure 3D objects content is centered</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> g : Graphics = graphicSprite.<span style="color: #006600;">graphics</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; g.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span> <span style="color: #cc66cc;">0</span>, .<span style="color: #cc66cc;">5</span> <span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; g.<span style="color: #006600;">drawRect</span><span style="color: #66cc66;">&#40;</span> w * -.<span style="color: #cc66cc;">5</span>, h * -.<span style="color: #cc66cc;">5</span>, w, h <span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; g.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</p>
<p>&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// 3D Container</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> containerSprite : Sprite = <span style="color: #000000; font-weight: bold;">new</span> Sprite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; containerSprite.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span> graphicSprite <span style="color: #66cc66;">&#41;</span>;</p>
<p>&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Apply projection to 3D Container instead of 3D Object</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span> useProjection <span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> projection:PerspectiveProjection = <span style="color: #000000; font-weight: bold;">new</span> PerspectiveProjection<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; projection.<span style="color: #006600;">projectionCenter</span> = <span style="color: #000000; font-weight: bold;">new</span> Point<span style="color: #66cc66;">&#40;</span> <span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">0</span> <span style="color: #66cc66;">&#41;</span>;</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; containerSprite.<span style="color: #006600;">transform</span>.<span style="color: #006600;">perspectiveProjection</span> = projection;<br />
&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// Visualize center</span><br />
&nbsp; &nbsp; g = containerSprite.<span style="color: #006600;">graphics</span>;<br />
&nbsp; &nbsp; g.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span> 0xff0000 <span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; g.<span style="color: #006600;">drawCircle</span><span style="color: #66cc66;">&#40;</span> <span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">0</span>, <span style="color: #cc66cc;">2</span> <span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; g.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</p>
<p>&nbsp; &nbsp; container.<span style="color: #006600;">addChild</span><span style="color: #66cc66;">&#40;</span> containerSprite <span style="color: #66cc66;">&#41;</span>;&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #b1b100;">return</span> containerSprite;<br />
<span style="color: #66cc66;">&#125;</span></p>
<p><span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">left</span> : Sprite;<br />
<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">right</span> : Sprite;<br />
&nbsp;<br />
<span style="color: #000000; font-weight: bold;">function</span> draw<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> : <span style="color: #0066CC;">void</span><br />
<span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span> numChildren&gt; <span style="color: #cc66cc;">0</span> <span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> removeChildAt<span style="color: #66cc66;">&#40;</span> <span style="color: #cc66cc;">0</span> <span style="color: #66cc66;">&#41;</span>; <span style="color: #66cc66;">&#125;</span></p>
<p>&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> container : Sprite = <span style="color: #000000; font-weight: bold;">new</span> Sprite<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; container.<span style="color: #0066CC;">name</span> = <span style="color: #ff0000;">"container"</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; container.<span style="color: #006600;">x</span> = <span style="color: #0066CC;">stage</span>.<span style="color: #006600;">stageWidth</span> * .<span style="color: #cc66cc;">5</span>;<br />
&nbsp; &nbsp; &nbsp; &nbsp; container.<span style="color: #006600;">y</span> = <span style="color: #0066CC;">stage</span>.<span style="color: #006600;">stageHeight</span> * .<span style="color: #cc66cc;">5</span>;<br />
&nbsp; &nbsp; addChild<span style="color: #66cc66;">&#40;</span> container <span style="color: #66cc66;">&#41;</span>;</p>
<p>&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> stepX : <span style="color: #0066CC;">int</span> = <span style="color: #0066CC;">stage</span>.<span style="color: #006600;">stageWidth</span> / <span style="color: #cc66cc;">3</span>;</p>
<p>&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> w : <span style="color: #0066CC;">int</span> = <span style="color: #cc66cc;">200</span>;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> h : <span style="color: #0066CC;">int</span> = <span style="color: #cc66cc;">200</span>;</p>
<p>&nbsp; &nbsp; <span style="color: #0066CC;">left</span> = createRectSprite<span style="color: #66cc66;">&#40;</span> w, h, -<span style="color: #cc66cc;">60</span>, <span style="color: #0066CC;">this</span>, <span style="color: #000000; font-weight: bold;">true</span> <span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; <span style="color: #0066CC;">left</span>.<span style="color: #0066CC;">name</span> = <span style="color: #ff0000;">"left"</span>;<br />
&nbsp; &nbsp; <span style="color: #0066CC;">left</span>.<span style="color: #006600;">x</span> = stepX;</p>
<p>&nbsp; &nbsp; <span style="color: #0066CC;">right</span> = createRectSprite<span style="color: #66cc66;">&#40;</span> w, h, <span style="color: #cc66cc;">60</span>, <span style="color: #0066CC;">this</span>, <span style="color: #000000; font-weight: bold;">true</span> <span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; <span style="color: #0066CC;">right</span>.<span style="color: #0066CC;">name</span> = <span style="color: #ff0000;">"right"</span>;<br />
&nbsp; &nbsp; <span style="color: #0066CC;">right</span>.<span style="color: #006600;">x</span> = stepX * <span style="color: #cc66cc;">2</span>;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #0066CC;">left</span>.<span style="color: #006600;">y</span> =<br />
&nbsp; &nbsp; <span style="color: #0066CC;">right</span>.<span style="color: #006600;">y</span> = <span style="color: #0066CC;">stage</span>.<span style="color: #006600;">stageHeight</span> * .<span style="color: #cc66cc;">5</span>;<br />
<span style="color: #66cc66;">&#125;</span><br />
&nbsp;<br />
<span style="color: #000000; font-weight: bold;">function</span> onEventHitTest<span style="color: #66cc66;">&#40;</span> event : Event <span style="color: #66cc66;">&#41;</span> : <span style="color: #0066CC;">void</span><br />
<span style="color: #66cc66;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> containerSprite : DisplayObjectContainer;<br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> graphicSprite : DisplayObject;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; containerSprite = <span style="color: #0066CC;">this</span>.<span style="color: #006600;">getChildByName</span><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">"left"</span> <span style="color: #66cc66;">&#41;</span> as DisplayObjectContainer;<br />
&nbsp; &nbsp; graphicSprite = containerSprite.<span style="color: #006600;">getChildByName</span><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">"graphicSprite"</span> <span style="color: #66cc66;">&#41;</span> as DisplayObject;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">"hit left containerSprite:"</span>, containerSprite.<span style="color: #006600;">hitTestPoint</span><span style="color: #66cc66;">&#40;</span> mouseX, mouseY, <span style="color: #000000; font-weight: bold;">true</span> <span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">"hit left graphicSprite:"</span>, graphicSprite.<span style="color: #006600;">hitTestPoint</span><span style="color: #66cc66;">&#40;</span> mouseX, mouseY, <span style="color: #000000; font-weight: bold;">true</span> <span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; containerSprite = <span style="color: #0066CC;">this</span>.<span style="color: #006600;">getChildByName</span><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">"right"</span> <span style="color: #66cc66;">&#41;</span> as DisplayObjectContainer;<br />
&nbsp; &nbsp; graphicSprite = containerSprite.<span style="color: #006600;">getChildByName</span><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">"graphicSprite"</span> <span style="color: #66cc66;">&#41;</span> as DisplayObject;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">"hit right containerSprite:"</span>, containerSprite.<span style="color: #006600;">hitTestPoint</span><span style="color: #66cc66;">&#40;</span> mouseX, mouseY, <span style="color: #000000; font-weight: bold;">true</span> <span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">"hit right graphicSprite:"</span>, graphicSprite.<span style="color: #006600;">hitTestPoint</span><span style="color: #66cc66;">&#40;</span> mouseX, mouseY, <span style="color: #000000; font-weight: bold;">true</span> <span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#41;</span>;<br />
&nbsp; &nbsp; <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">""</span> <span style="color: #66cc66;">&#41;</span>;<br />
<span style="color: #66cc66;">&#125;</span></p>
<p><span style="color: #0066CC;">stage</span>.<span style="color: #006600;">addEventListener</span><span style="color: #66cc66;">&#40;</span> MouseEvent.<span style="color: #006600;">MOUSE_DOWN</span>, onEventHitTest <span style="color: #66cc66;">&#41;</span>;<br />
&nbsp;<br />
draw<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.derraab.com/2010/02/01/displayobject-rotationxyz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ActionScript 3 API Reference for the iPhone</title>
		<link>http://blog.derraab.com/2010/01/29/actionscript-3-api-reference-for-the-iphone/</link>
		<comments>http://blog.derraab.com/2010/01/29/actionscript-3-api-reference-for-the-iphone/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 09:08:40 +0000</pubDate>
		<dc:creator>derRaab</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Documentations]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://blog.derraab.com/?p=114</guid>
		<description><![CDATA[http://www.mikechambers.com/as3iphone/
Nice to have!
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mikechambers.com/as3iphone/">http://www.mikechambers.com/as3iphone/</a></p>
<p>Nice to have!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.derraab.com/2010/01/29/actionscript-3-api-reference-for-the-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac &#8211; Local Server Development Basics</title>
		<link>http://blog.derraab.com/2009/11/06/mac-local-server-development-basics/</link>
		<comments>http://blog.derraab.com/2009/11/06/mac-local-server-development-basics/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 12:20:42 +0000</pubDate>
		<dc:creator>derRaab</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://blog.derraab.com/?p=101</guid>
		<description><![CDATA[Since I had to figure out some basics about local server development on my Mac, I really recommend these tools:

MAMP - Apache and MySQL Server
Virtual Host X - Create up to 3 virtual host with the free version.
In other words: This provides an easy to use GUI which enables you to forward an local URL [...]]]></description>
			<content:encoded><![CDATA[<p>Since I had to figure out some basics about local server development on my Mac, I really recommend these tools:</p>
<ul>
<li><a href="http://www.mamp.info">MAMP</a> - Apache and MySQL Server</li>
<li><a href="http://clickontyler.com/virtualhostx/">Virtual Host X</a> - Create up to 3 virtual host with the free version.<br />
In other words: This provides an easy to use GUI which enables you to forward an local URL like "http://myProject.local" to your workspace directory.</li>
</ul>
<p>But one thing sucks: You have to set read/write access (in finder) for everyone. I wonder if that might cause system security problems?</p>
<p>And I strongly recommend to read this nice tutorial about setting up virtual hosts manually: <a href="http://www.sawmac.com/mamp/virtualhosts/">http://www.sawmac.com/mamp/virtualhosts/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.derraab.com/2009/11/06/mac-local-server-development-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blocking Flash in Safari</title>
		<link>http://blog.derraab.com/2009/10/30/blocking-flash-in-safari/</link>
		<comments>http://blog.derraab.com/2009/10/30/blocking-flash-in-safari/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 08:56:39 +0000</pubDate>
		<dc:creator>derRaab</dc:creator>
				<category><![CDATA[Flash in Browser]]></category>

		<guid isPermaLink="false">http://blog.derraab.com/?p=98</guid>
		<description><![CDATA[Firefox users probably know the Flashblock plugin and I just want to note a link to a similar plugin for webkit which works well with Safari.
http://rentzsch.github.com/clicktoflash/
]]></description>
			<content:encoded><![CDATA[<p>Firefox users probably know the Flashblock plugin and I just want to note a link to a similar plugin for webkit which works well with Safari.</p>
<p><a href="http://rentzsch.github.com/clicktoflash/">http://rentzsch.github.com/clicktoflash/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.derraab.com/2009/10/30/blocking-flash-in-safari/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Framework CLI Tool Usage</title>
		<link>http://blog.derraab.com/2009/10/29/zend-framework-cli-tool-usage/</link>
		<comments>http://blog.derraab.com/2009/10/29/zend-framework-cli-tool-usage/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 09:01:13 +0000</pubDate>
		<dc:creator>derRaab</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://blog.derraab.com/?p=91</guid>
		<description><![CDATA[God damn it. I spent hours trying to generate the basic filestructure using the Zend_Tool (zf.php) shipping within the Zend Framework download. It didn't work and I got really frustrated.
Well, guess what. Now I downloaded the next version (1.9.5) and it works!
Just open the terminal, navigate to the bin directory within the framework download and [...]]]></description>
			<content:encoded><![CDATA[<p>God damn it. I spent hours trying to generate the basic filestructure using the Zend_Tool (zf.php) shipping within the Zend Framework download. It didn't work and I got really frustrated.</p>
<p>Well, guess what. Now I downloaded the next version (1.9.5) and it works!</p>
<p>Just open the terminal, navigate to the bin directory within the framework download and type (Mac OS X):<br />
<code><br />
./zf.sh create project ./</code></p>
<p>This is what get's generated: <a href='http://blog.derraab.com/wp-content/uploads/2009/10/zend_1_9_5_structure.zip'>Zend_1_9_5_Structure</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.derraab.com/2009/10/29/zend-framework-cli-tool-usage/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pixel Bender in Flash Player is not hardware accelerated</title>
		<link>http://blog.derraab.com/2009/05/04/pixel-bender-in-flash-player-is-not-hardware-accelerated/</link>
		<comments>http://blog.derraab.com/2009/05/04/pixel-bender-in-flash-player-is-not-hardware-accelerated/#comments</comments>
		<pubDate>Mon, 04 May 2009 20:33:25 +0000</pubDate>
		<dc:creator>derRaab</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash Player]]></category>
		<category><![CDATA[Flash in Browser]]></category>
		<category><![CDATA[Pixel Bender]]></category>

		<guid isPermaLink="false">http://blog.derraab.com/?p=86</guid>
		<description><![CDATA[I just came across this little note http://theflashblog.com/?p=822 and thought that might help to get some clarification.
]]></description>
			<content:encoded><![CDATA[<p>I just came across this little note <a href="http://theflashblog.com/?p=822">http://theflashblog.com/?p=822</a> and thought that might help to get some clarification.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.derraab.com/2009/05/04/pixel-bender-in-flash-player-is-not-hardware-accelerated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Labs &#8211; Text Layout Framework</title>
		<link>http://blog.derraab.com/2009/04/14/adobe-labs-text-layout-framework/</link>
		<comments>http://blog.derraab.com/2009/04/14/adobe-labs-text-layout-framework/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 11:45:41 +0000</pubDate>
		<dc:creator>derRaab</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Librarys]]></category>
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://blog.derraab.com/?p=84</guid>
		<description><![CDATA[Weekly builds of text layout framework now available on Adobe labs:
http://labs.adobe.com/technologies/textlayout/
]]></description>
			<content:encoded><![CDATA[<p>Weekly builds of text layout framework now available on Adobe labs:<br />
<a href="http://labs.adobe.com/technologies/textlayout/">http://labs.adobe.com/technologies/textlayout/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.derraab.com/2009/04/14/adobe-labs-text-layout-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Custom Flex Components with Flash</title>
		<link>http://blog.derraab.com/2009/04/09/create-custom-flex-components-with-flash/</link>
		<comments>http://blog.derraab.com/2009/04/09/create-custom-flex-components-with-flash/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 16:52:49 +0000</pubDate>
		<dc:creator>derRaab</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[How To...]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://blog.derraab.com/?p=79</guid>
		<description><![CDATA[I found a Adobe TV Video which contains basic knowledge how to create custom Flex components with Flash CS3:

]]></description>
			<content:encoded><![CDATA[<p>I found a Adobe TV Video which contains basic knowledge how to create custom Flex components with Flash CS3:</p>
<p><embed src="http://tv.adobe.com/Embed.swf" quality="high" bgcolor="#000000" width="467" height="300" name="AdobeTVPlayer" play="true" loop="false" quality="high" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" flashVars="v=~b64~aHR0cDovL2Fkb2JlLmVkZ2Vib3NzLm5ldC9mbGFzaC9hZG9iZS9hZG9iZXR2Mi91bmRlcl90aGVfaG9vZF93aXRoX2Fkb2JlLzM1X3VoYV8wMDQuZmx2P3Jzc19mZWVkaWQ9MTUzNCZ4bWx2ZXJzPTI=&#038;w=467&#038;t=http://tv.adobe.com/#vi+f1534v1463&#038;h=300"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.derraab.com/2009/04/09/create-custom-flex-components-with-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stanford Lectures for iPhone Application Programming</title>
		<link>http://blog.derraab.com/2009/04/06/stanford-lectures-for-iphone-application-programming/</link>
		<comments>http://blog.derraab.com/2009/04/06/stanford-lectures-for-iphone-application-programming/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 19:53:28 +0000</pubDate>
		<dc:creator>derRaab</dc:creator>
				<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://blog.derraab.com/?p=74</guid>
		<description><![CDATA[Stanford university offers the Spring 2009 quarter lectures for free via iTunes U.
I think that's my way into iPhone application programming.
Check out the standford website for details: http://www.stanford.edu/class/cs193p/cgi-bin/index.php
UPDATE:
Online resources for auditors and iTunes U viewers:
http://groups.google.com/group/iphone-appdev-auditors
http://cs193p.com/
]]></description>
			<content:encoded><![CDATA[<p>Stanford university offers the Spring 2009 quarter lectures for free via iTunes U.</p>
<p>I think that's my way into iPhone application programming.</p>
<p>Check out the standford website for details: <a href="http://www.stanford.edu/class/cs193p/cgi-bin/index.php">http://www.stanford.edu/class/cs193p/cgi-bin/index.php</a></p>
<p>UPDATE:</p>
<p>Online resources for auditors and iTunes U viewers:<br />
<a href="http://groups.google.com/group/iphone-appdev-auditors">http://groups.google.com/group/iphone-appdev-auditors</a><br />
<a href="http://cs193p.com/">http://cs193p.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.derraab.com/2009/04/06/stanford-lectures-for-iphone-application-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
