<?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>beyond web</title>
	<atom:link href="http://osmm.de/wordpress/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://osmm.de/wordpress</link>
	<description></description>
	<lastBuildDate>Sat, 05 May 2012 10:50:49 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MovieClip duplizieren in AS3</title>
		<link>http://osmm.de/wordpress/?p=542</link>
		<comments>http://osmm.de/wordpress/?p=542#comments</comments>
		<pubDate>Sat, 05 May 2012 05:50:39 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Actionscript]]></category>

		<guid isPermaLink="false">http://osmm.de/wordpress/?p=542</guid>
		<description><![CDATA[Ein DisplayObject duplizieren in as3: 1 2 var sourceClass:Class = Object&#40;source&#41;.constructor; var duplicate:DisplayObject = new sourceClass&#40;&#41;; var sourceClass:Class = Object(source).constructor; var duplicate:DisplayObject = new sourceClass();]]></description>
			<content:encoded><![CDATA[<p>Ein DisplayObject duplizieren in as3:</p>

<div class="bwp-syntax-block clearfix">
<div class="bwp-syntax-toolbar"><div class="bwp-syntax-control"><a href="javascript:;" class="bwp-syntax-source-switch" title="View Source Code"></a></div></div>
<div class="bwp-syntax-wrapper clearfix bwp-syntax-simple"style="width: 450px;"><table class="actionscript3"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
2
</pre></td><td class="de1"><pre class="de1"><span class="kw2">var</span> sourceClass<span class="sy0">:</span><span class="kw5">Class</span> = <span class="kw5">Object</span><span class="br0">&#40;</span><span class="kw7">source</span><span class="br0">&#41;</span><span class="sy0">.</span><span class="kw7">constructor</span><span class="sy0">;</span>
<span class="kw2">var</span> duplicate<span class="sy0">:</span><span class="kw5">DisplayObject</span> = <span class="kw1">new</span> sourceClass<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></pre></td></tr></tbody></table></div>
<div class="bwp-syntax-source"><pre class="no-parse">var sourceClass:Class = Object(source).constructor;
var duplicate:DisplayObject = new sourceClass();</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://osmm.de/wordpress/?feed=rss2&#038;p=542</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Actionscript Facebook API, Freunde nach App User filtern</title>
		<link>http://osmm.de/wordpress/?p=536</link>
		<comments>http://osmm.de/wordpress/?p=536#comments</comments>
		<pubDate>Mon, 23 Apr 2012 15:40:38 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Facebook API]]></category>

		<guid isPermaLink="false">http://osmm.de/wordpress/?p=536</guid>
		<description><![CDATA[1 Facebook.api&#40;&#34;me/friends&#34;, friendsListLoaded, &#123;acces_token:accessToken, fields:&#34;installed&#34;&#125;&#41;; Facebook.api("me/friends", friendsListLoaded, {acces_token:accessToken, fields:"installed"}); Bei Freunden, die die entsprechende App benutzen enthält die Rückgabe ein Feld &#8220;installed&#8221;: 1 2 3 4 5 6 &#34;data&#34;: &#91; &#160; &#160; &#160; &#123; &#160; &#160; &#160; &#160; &#160;&#34;installed&#34;: true, &#160; &#160; &#160; &#160; &#160;&#34;id&#34;: &#34;123123123123&#34; &#160; &#160; &#160; &#125; &#160; &#160;&#93; "data": [ { [...]]]></description>
			<content:encoded><![CDATA[
<div class="bwp-syntax-block clearfix">
<div class="bwp-syntax-toolbar"><div class="bwp-syntax-control"><a href="javascript:;" class="bwp-syntax-source-switch" title="View Source Code"></a></div></div>
<div class="bwp-syntax-wrapper clearfix bwp-syntax-simple"style="width: 450px;"><table class="actionscript3"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
</pre></td><td class="de1"><pre class="de1">Facebook<span class="sy0">.</span>api<span class="br0">&#40;</span><span class="st0">&quot;me/friends&quot;</span><span class="sy0">,</span> friendsListLoaded<span class="sy0">,</span> <span class="br0">&#123;</span>acces_token<span class="sy0">:</span>accessToken<span class="sy0">,</span> fields<span class="sy0">:</span><span class="st0">&quot;installed&quot;</span><span class="br0">&#125;</span><span class="br0">&#41;</span><span class="sy0">;</span></pre></td></tr></tbody></table></div>
<div class="bwp-syntax-source"><pre class="no-parse">Facebook.api("me/friends", friendsListLoaded, {acces_token:accessToken, fields:"installed"});</pre></div></div>

<p>Bei Freunden, die die entsprechende App benutzen enthält die Rückgabe ein Feld &#8220;installed&#8221;:</p>

<div class="bwp-syntax-block clearfix">
<div class="bwp-syntax-toolbar"><div class="bwp-syntax-control"><a href="javascript:;" class="bwp-syntax-source-switch" title="View Source Code"></a></div></div>
<div class="bwp-syntax-wrapper clearfix bwp-syntax-simple"style="width: 450px;"><table class="actionscript3"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
2
3
4
5
6
</pre></td><td class="de1"><pre class="de1"><span class="st0">&quot;data&quot;</span><span class="sy0">:</span> <span class="br0">&#91;</span>
&nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="st0">&quot;installed&quot;</span><span class="sy0">:</span> <span class="kw1">true</span><span class="sy0">,</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span class="st0">&quot;id&quot;</span><span class="sy0">:</span> <span class="st0">&quot;123123123123&quot;</span>
&nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>
&nbsp; &nbsp;<span class="br0">&#93;</span></pre></td></tr></tbody></table></div>
<div class="bwp-syntax-source"><pre class="no-parse">"data": [
      {
         "installed": true,
         "id": "123123123123"
      }
   ]</pre></div></div>

<p>Bei allen anderen fällt das Feld &#8220;installed&#8221; komplett raus. Die id ist immer mit drin und entsprechende weitere Felder wie z.B. &#8220;name&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://osmm.de/wordpress/?feed=rss2&#038;p=536</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pfizer Touch Präsentation</title>
		<link>http://osmm.de/wordpress/?p=370</link>
		<comments>http://osmm.de/wordpress/?p=370#comments</comments>
		<pubDate>Thu, 29 Mar 2012 06:30:35 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Auftrags-Arbeiten]]></category>
		<category><![CDATA[Bibliotheken]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://osmm.de/wordpress/?p=370</guid>
		<description><![CDATA[Entwicklung einer AIR Präsentations-Anwendung für Pfizer. Mit unterschiedlichen Multitouch- und Gesture-Aktionen kann sich der User durch das Menü bewegen, interaktive Komponenten steuern und Animationen auslösen. Die Anwendung arbeitet mit einem eigenen Framework auf Basis von GestureWorks.]]></description>
			<content:encoded><![CDATA[<p>Entwicklung einer AIR Präsentations-Anwendung für Pfizer. Mit unterschiedlichen Multitouch- und Gesture-Aktionen kann sich der User durch das Menü bewegen, interaktive Komponenten steuern und Animationen auslösen.<br />
Die Anwendung arbeitet mit einem eigenen Framework auf Basis von <a title="Gestureworks" href="http://gestureworks.com/" target="_blank">
<postlink>GestureWorks</postlink></a>.<br />

<div class="ngg-galleryoverview" id="ngg-gallery-7-370">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-23" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://osmm.de/wordpress/wp-content/gallery/pfizer/01.jpg" title=" " class="shutterset_set_7" >
								<img title="01" alt="01" src="http://osmm.de/wordpress/wp-content/gallery/pfizer/thumbs/thumbs_01.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-24" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://osmm.de/wordpress/wp-content/gallery/pfizer/02.jpg" title=" " class="shutterset_set_7" >
								<img title="02" alt="02" src="http://osmm.de/wordpress/wp-content/gallery/pfizer/thumbs/thumbs_02.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-25" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://osmm.de/wordpress/wp-content/gallery/pfizer/03.jpg" title=" " class="shutterset_set_7" >
								<img title="03" alt="03" src="http://osmm.de/wordpress/wp-content/gallery/pfizer/thumbs/thumbs_03.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-27" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://osmm.de/wordpress/wp-content/gallery/pfizer/06.jpg" title=" " class="shutterset_set_7" >
								<img title="06" alt="06" src="http://osmm.de/wordpress/wp-content/gallery/pfizer/thumbs/thumbs_06.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-28" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://osmm.de/wordpress/wp-content/gallery/pfizer/05.jpg" title=" " class="shutterset_set_7" >
								<img title="05" alt="05" src="http://osmm.de/wordpress/wp-content/gallery/pfizer/thumbs/thumbs_05.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>

</p>
]]></content:encoded>
			<wfw:commentRss>http://osmm.de/wordpress/?feed=rss2&#038;p=370</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Touchscreen Framework</title>
		<link>http://osmm.de/wordpress/?p=325</link>
		<comments>http://osmm.de/wordpress/?p=325#comments</comments>
		<pubDate>Fri, 02 Mar 2012 10:43:10 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Auftrags-Arbeiten]]></category>
		<category><![CDATA[Bibliotheken]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash 3D]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://osmm.de/wordpress/?p=325</guid>
		<description><![CDATA[Entwicklung eines modular aufgebauten Flash/Flex Frameworks für Touchscreen-Anwendungen. Eine Container-Applikation verwaltet div. Module (Spiele, Info-Broschüren&#8230;etc.) und kann schnell und unkompliziert erweitert werden. Zum Framework wurde auch eine AIR-Anwendung entwickelt, mit der der User Einstellungen ändern, Module duplizieren und Texte und Bilder austauschen kann. Das Framework arbeitet mit GestureWorks.]]></description>
			<content:encoded><![CDATA[<p>Entwicklung eines modular aufgebauten Flash/Flex Frameworks für Touchscreen-Anwendungen.<br />
Eine Container-Applikation verwaltet div. Module (Spiele, Info-Broschüren&#8230;etc.) und kann schnell und unkompliziert erweitert werden.<br />
Zum Framework wurde auch eine AIR-Anwendung entwickelt, mit der der User Einstellungen ändern, Module duplizieren und Texte und Bilder austauschen kann.<br />
Das Framework arbeitet mit <a href="http://gestureworks.com/" title="Gestureworks" target="_blank">
<postlink>GestureWorks</postlink></a>.<br />

<div class="ngg-galleryoverview" id="ngg-gallery-6-325">


	
	<!-- Thumbnails -->
		
	<div id="ngg-image-19" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://osmm.de/wordpress/wp-content/gallery/bbtouch/bbtouch_memory.jpg" title=" " class="shutterset_set_6" >
								<img title="bbtouch_memory" alt="bbtouch_memory" src="http://osmm.de/wordpress/wp-content/gallery/bbtouch/thumbs/thumbs_bbtouch_memory.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-20" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://osmm.de/wordpress/wp-content/gallery/bbtouch/bbtouch_memory2.jpg" title=" " class="shutterset_set_6" >
								<img title="bbtouch_memory2" alt="bbtouch_memory2" src="http://osmm.de/wordpress/wp-content/gallery/bbtouch/thumbs/thumbs_bbtouch_memory2.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 		
	<div id="ngg-image-22" class="ngg-gallery-thumbnail-box"  >
		<div class="ngg-gallery-thumbnail" >
			<a href="http://osmm.de/wordpress/wp-content/gallery/bbtouch/katalog.jpg" title=" " class="shutterset_set_6" >
								<img title="katalog" alt="katalog" src="http://osmm.de/wordpress/wp-content/gallery/bbtouch/thumbs/thumbs_katalog.jpg" width="100" height="75" />
							</a>
		</div>
	</div>
	
		
 	 	
	<!-- Pagination -->
 	<div class='ngg-clear'></div>
 	
</div>

</p>
]]></content:encoded>
			<wfw:commentRss>http://osmm.de/wordpress/?feed=rss2&#038;p=325</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blob Detection in AS3</title>
		<link>http://osmm.de/wordpress/?p=375</link>
		<comments>http://osmm.de/wordpress/?p=375#comments</comments>
		<pubDate>Wed, 29 Feb 2012 12:05:00 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Actionscript]]></category>

		<guid isPermaLink="false">http://osmm.de/wordpress/?p=375</guid>
		<description><![CDATA[Eine Funktion, die Farbflächen (bei transparentem Hintergrund) erkennt und in separaten Bitmaps mit Koordinaten speichert. Der code basiert auf Detecting blobs at the speed of light &#160; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 [...]]]></description>
			<content:encoded><![CDATA[<p>Eine Funktion, die Farbflächen (bei transparentem Hintergrund) erkennt und in separaten Bitmaps mit Koordinaten speichert.<br />
Der code basiert auf <a href="http://play.blog2t.net/fast-blob-detection/">
<postlink>Detecting blobs at the speed of light</postlink></a><br />
&nbsp;</p>

<div class="bwp-syntax-block clearfix">
<div class="bwp-syntax-toolbar" style="right: 15px;" ><div class="bwp-syntax-control"><a href="javascript:;" class="bwp-syntax-source-switch" title="View Source Code"></a></div></div>
<div class="bwp-syntax-wrapper clearfix bwp-syntax-simple"style=" height: 420px;width: 450px;"><table class="actionscript3"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
</pre></td><td class="de1"><pre class="de1">const COMPARE_COLOR <span class="sy0">:</span> <span class="kw5">uint</span> = 0xff00ff00<span class="sy0">;</span>
const FILL_COLOR <span class="sy0">:</span> <span class="kw5">uint</span> = 0xffff0000<span class="sy0">;</span>
const PROCESSED_COLOR <span class="sy0">:</span> <span class="kw5">uint</span> = 0x00000000<span class="sy0">;</span>
<span class="kw2">var</span> bmpd <span class="sy0">:</span> <span class="kw5">BitmapData</span> = <span class="kw1">new</span> <span class="kw5">BitmapData</span><span class="br0">&#40;</span>textfield<span class="sy0">.</span><span class="kw7">width</span><span class="sy0">,</span> textfield<span class="sy0">.</span><span class="kw7">height</span><span class="sy0">,</span> <span class="kw1">true</span><span class="sy0">,</span> <span class="nu0">0</span><span class="br0">&#41;</span><span class="sy0">;</span>
bmpd<span class="sy0">.</span><span class="kw7">draw</span><span class="br0">&#40;</span>textfield<span class="br0">&#41;</span><span class="sy0">;</span>
<span class="kw2">var</span> tmpBmpd <span class="sy0">:</span> <span class="kw5">BitmapData</span> = bmpd<span class="sy0">.</span><span class="kw7">clone</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<span class="co1">// fill pixel where alpha &gt; 0</span>
bmpd<span class="sy0">.</span><span class="kw7">threshold</span><span class="br0">&#40;</span>bmpd<span class="sy0">,</span> <span class="kw1">new</span> <span class="kw5">Rectangle</span><span class="br0">&#40;</span><span class="nu0">0</span><span class="sy0">,</span> <span class="nu0">0</span><span class="sy0">,</span> bmpd<span class="sy0">.</span><span class="kw7">width</span><span class="sy0">,</span> bmpd<span class="sy0">.</span><span class="kw7">height</span><span class="br0">&#41;</span><span class="sy0">,</span> <span class="kw1">new</span> <span class="kw5">Point</span><span class="br0">&#40;</span><span class="nu0">0</span><span class="sy0">,</span> <span class="nu0">0</span><span class="br0">&#41;</span><span class="sy0">,</span> <span class="st0">&quot;&gt;&quot;</span><span class="sy0">,</span> 0x00000000<span class="sy0">,</span> COMPARE_COLOR<span class="br0">&#41;</span><span class="sy0">;</span>
<span class="kw2">var</span> rbmps <span class="sy0">:</span> Vector<span class="sy0">.</span> = <span class="kw1">new</span> Vector<span class="sy0">.</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span>
<span class="kw1">for</span> <span class="br0">&#40;</span><span class="kw2">var</span> i <span class="sy0">:</span> <span class="kw5">int</span> = <span class="nu0">0</span><span class="sy0">;</span> i <span class="sy0">&lt;</span> bmpd<span class="sy0">.</span><span class="kw7">width</span><span class="sy0">;</span> i<span class="sy0">++</span><span class="br0">&#41;</span><span class="br0">&#123;</span>
&nbsp; &nbsp; <span class="kw1">for</span> <span class="br0">&#40;</span><span class="kw2">var</span> j <span class="sy0">:</span> <span class="kw5">int</span> = <span class="nu0">0</span><span class="sy0">;</span> j <span class="sy0">&lt;</span> bmpd<span class="sy0">.</span><span class="kw7">height</span><span class="sy0">;</span> j<span class="sy0">++</span><span class="br0">&#41;</span><span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>bmpd<span class="sy0">.</span><span class="kw7">getPixel32</span><span class="br0">&#40;</span>i<span class="sy0">,</span> j<span class="br0">&#41;</span> == COMPARE_COLOR<span class="br0">&#41;</span><span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// fill one area with FILL_COLOR</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bmpd<span class="sy0">.</span><span class="kw7">floodFill</span><span class="br0">&#40;</span>i<span class="sy0">,</span> j<span class="sy0">,</span> FILL_COLOR<span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// get rectangle around FILL_COLOR</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> <span class="kw7">rect</span> <span class="sy0">:</span> <span class="kw5">Rectangle</span> = bmpd<span class="sy0">.</span><span class="kw7">getColorBoundsRect</span><span class="br0">&#40;</span>0xffffffff<span class="sy0">,</span> FILL_COLOR<span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// store data in a RectBitmap</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> rBMPD <span class="sy0">:</span> <span class="kw5">BitmapData</span> = <span class="kw1">new</span> <span class="kw5">BitmapData</span><span class="br0">&#40;</span><span class="kw7">rect</span><span class="sy0">.</span><span class="kw7">width</span><span class="sy0">,</span> <span class="kw7">rect</span><span class="sy0">.</span><span class="kw7">height</span><span class="sy0">,</span> <span class="kw1">true</span><span class="sy0">,</span> <span class="nu0">0</span><span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rBMPD<span class="sy0">.</span><span class="kw7">copyPixels</span><span class="br0">&#40;</span>tmpBmpd<span class="sy0">,</span> <span class="kw7">rect</span><span class="sy0">,</span> <span class="kw1">new</span> <span class="kw5">Point</span><span class="br0">&#40;</span><span class="nu0">0</span><span class="sy0">,</span> <span class="nu0">0</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">var</span> rBMP <span class="sy0">:</span> RectBitmap = <span class="kw1">new</span> RectBitmap<span class="br0">&#40;</span>rBMPD<span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rBMP<span class="sy0">.</span><span class="kw7">rect</span> = <span class="kw7">rect</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; rbmps<span class="sy0">.</span><span class="kw7">push</span><span class="br0">&#40;</span>rBMP<span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">// finish rectangle</span>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bmpd<span class="sy0">.</span><span class="kw7">floodFill</span><span class="br0">&#40;</span>i<span class="sy0">,</span> j<span class="sy0">,</span> PROCESSED_COLOR<span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>
&nbsp; &nbsp; <span class="br0">&#125;</span>
<span class="br0">&#125;</span>
&nbsp;
<span class="kw1">public</span> <span class="kw4">class</span> RectBitmap <span class="kw1">extends</span> <span class="kw5">Bitmap</span><span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp;<span class="kw1">public</span> <span class="kw2">var</span> <span class="kw7">rect</span><span class="sy0">:</span><span class="kw5">Rectangle</span><span class="sy0">;</span>
<span class="br0">&#125;</span></pre></td></tr></tbody></table></div>
<div class="bwp-syntax-source"><pre class="no-parse">const COMPARE_COLOR : uint = 0xff00ff00;
const FILL_COLOR : uint = 0xffff0000;
const PROCESSED_COLOR : uint = 0x00000000;
var bmpd : BitmapData = new BitmapData(textfield.width, textfield.height, true, 0);
bmpd.draw(textfield);
var tmpBmpd : BitmapData = bmpd.clone();
// fill pixel where alpha &gt; 0
bmpd.threshold(bmpd, new Rectangle(0, 0, bmpd.width, bmpd.height), new Point(0, 0), "&gt;", 0x00000000, COMPARE_COLOR);
var rbmps : Vector. = new Vector.();
for (var i : int = 0; i &lt; bmpd.width; i++){
    for (var j : int = 0; j &lt; bmpd.height; j++){
        if (bmpd.getPixel32(i, j) == COMPARE_COLOR){
            // fill one area with FILL_COLOR
            bmpd.floodFill(i, j, FILL_COLOR);
            // get rectangle around FILL_COLOR
            var rect : Rectangle = bmpd.getColorBoundsRect(0xffffffff, FILL_COLOR);
            // store data in a RectBitmap
            var rBMPD : BitmapData = new BitmapData(rect.width, rect.height, true, 0);
            rBMPD.copyPixels(tmpBmpd, rect, new Point(0, 0));
            var rBMP : RectBitmap = new RectBitmap(rBMPD);
            rBMP.rect = rect;
            rbmps.push(rBMP);
            // finish rectangle
            bmpd.floodFill(i, j, PROCESSED_COLOR);
        }
    }
}

public class RectBitmap extends Bitmap{
     public var rect:Rectangle;
}</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://osmm.de/wordpress/?feed=rss2&#038;p=375</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR, File und applicationDirectory.parent</title>
		<link>http://osmm.de/wordpress/?p=354</link>
		<comments>http://osmm.de/wordpress/?p=354#comments</comments>
		<pubDate>Mon, 06 Feb 2012 06:52:04 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[AIR]]></category>

		<guid isPermaLink="false">http://osmm.de/wordpress/?p=354</guid>
		<description><![CDATA[Man kann mittels File.applicationDirectory.parent nicht in den parent-Ordner der Anwendung navigieren, da applicationDirectory und applicationStorageDirectory die shortcuts app:/ und app-storage:/ nutzen. Somit ist parent immer null. Es klappt aber, wenn man ein neues File-Objekt erstellt: 1 new File&#40;File.applicationDirectory.nativePath&#41;.parent; new File(File.applicationDirectory.nativePath).parent;]]></description>
			<content:encoded><![CDATA[<p>Man kann mittels File.applicationDirectory.parent nicht in den parent-Ordner der Anwendung navigieren, da applicationDirectory und applicationStorageDirectory die shortcuts app:/ und app-storage:/ nutzen. Somit ist parent immer null.<br />
Es klappt aber, wenn man ein neues File-Objekt erstellt:<br/></p>

<div class="bwp-syntax-block clearfix">
<div class="bwp-syntax-toolbar"><div class="bwp-syntax-control"><a href="javascript:;" class="bwp-syntax-source-switch" title="View Source Code"></a></div></div>
<div class="bwp-syntax-wrapper clearfix bwp-syntax-simple"style="width: 450px;"><table class="actionscript3"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
</pre></td><td class="de1"><pre class="de1"><span class="kw1">new</span> File<span class="br0">&#40;</span>File<span class="sy0">.</span>applicationDirectory<span class="sy0">.</span>nativePath<span class="br0">&#41;</span><span class="sy0">.</span><span class="kw7">parent</span><span class="sy0">;</span></pre></td></tr></tbody></table></div>
<div class="bwp-syntax-source"><pre class="no-parse">new File(File.applicationDirectory.nativePath).parent;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://osmm.de/wordpress/?feed=rss2&#038;p=354</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Triumph Essence Valentine&#8217;s Special</title>
		<link>http://osmm.de/wordpress/?p=313</link>
		<comments>http://osmm.de/wordpress/?p=313#comments</comments>
		<pubDate>Mon, 30 Jan 2012 13:53:22 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Auftrags-Arbeiten]]></category>
		<category><![CDATA[Facebook API]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://osmm.de/wordpress/?p=313</guid>
		<description><![CDATA[Frontend-Programmierung einer Microsite. Der User kann sich bei der Triumph Facebook App registrieren und ein Bild auswählen, das mit Rahmen versehen und hochgeladen wird. Das Bild erscheint in einer Galerie. Am Valentinstag wird ein Gewinner ausgewählt. Ein eigener Post ist nur vom 1.02. bis 14.02. möglich: Zur Website]]></description>
			<content:encoded><![CDATA[<p>Frontend-Programmierung einer Microsite.<br />
Der User kann sich bei der Triumph Facebook App registrieren und ein Bild auswählen, das mit Rahmen versehen und hochgeladen wird. Das Bild erscheint in einer Galerie. Am Valentinstag wird ein Gewinner ausgewählt.<br />
Ein eigener Post ist nur vom 1.02. bis 14.02. möglich: <a title="Triumph Essence Valentine's Special" href="http://www.triumph.com/triumph-essence/valentine/" target="_blank">
<postlink>Zur Website</postlink></a></p>
<p><a href="http://osmm.de/wordpress/wp-content/uploads/2012/01/triumph1.jpg"><img class="alignnone size-full wp-image-315" title="triumph1" src="http://osmm.de/wordpress/wp-content/uploads/2012/01/triumph1-e1327931708436.jpg" alt="" width="450" height="219" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://osmm.de/wordpress/?feed=rss2&#038;p=313</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook API, application link in wall post</title>
		<link>http://osmm.de/wordpress/?p=309</link>
		<comments>http://osmm.de/wordpress/?p=309#comments</comments>
		<pubDate>Mon, 30 Jan 2012 13:25:05 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Facebook API]]></category>

		<guid isPermaLink="false">http://osmm.de/wordpress/?p=309</guid>
		<description><![CDATA[Wenn durch eine Flash Facebook Anwendung an die Pinnwand des users gepostet wird (Facebook.api(&#8220;me/feed&#8221;, callback, data)) ist unten im Post ein Text zu sehen: &#8220;vor 1 Stunde via Appname&#8221;. Ein Klick auf den App-Namen leitet an die App-Seite auf Facebook weiter. Wird allerdings irgendein Link als Parameter im data-Objekt mitgeschickt, leitet der Klick auf Appname [...]]]></description>
			<content:encoded><![CDATA[<p>Wenn durch eine Flash Facebook Anwendung an die Pinnwand des users gepostet wird (Facebook.api(&#8220;me/feed&#8221;, callback, data)) ist unten im Post ein Text zu sehen: &#8220;vor 1 Stunde via Appname&#8221;. Ein Klick auf den App-Namen leitet an die App-Seite auf Facebook weiter.<br />
Wird allerdings irgendein Link als Parameter im data-Objekt mitgeschickt, leitet der Klick auf Appname an die url weiter, die in den App-Einstellungen festgelegt wurde, obwohl die beiden Links nichts miteinander zu tun haben.<br />
Stand von heute mit GraphAPI_Web_1_8_1.swc</p>
]]></content:encoded>
			<wfw:commentRss>http://osmm.de/wordpress/?feed=rss2&#038;p=309</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Away3D 4</title>
		<link>http://osmm.de/wordpress/?p=81</link>
		<comments>http://osmm.de/wordpress/?p=81#comments</comments>
		<pubDate>Mon, 24 Oct 2011 08:13:21 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Bibliotheken]]></category>
		<category><![CDATA[Experimente]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://osmm.de/wordpress/?p=81</guid>
		<description><![CDATA[Ein Performance-Test mit der Away3D 4 Physik Engine ( Flash Player 11 muss installiert sein): AwayPhysics]]></description>
			<content:encoded><![CDATA[<p>Ein Performance-Test mit der Away3D 4 Physik Engine (<a href="http://get.adobe.com/de/flashplayer/">
<postlink>Flash Player 11</postlink></a> muss installiert sein):<br />
<a href="http://www.osmm.de/portfolio/referenzen/flashexp/awaytest/" target="_blank">
<postlink>AwayPhysics</postlink></a></p>
]]></content:encoded>
			<wfw:commentRss>http://osmm.de/wordpress/?feed=rss2&#038;p=81</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kinect Flugzeug-Steuerung</title>
		<link>http://osmm.de/wordpress/?p=66</link>
		<comments>http://osmm.de/wordpress/?p=66#comments</comments>
		<pubDate>Mon, 24 Oct 2011 07:40:23 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Bibliotheken]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Experimente]]></category>
		<category><![CDATA[Kinect]]></category>
		<category><![CDATA[Unity3D]]></category>

		<guid isPermaLink="false">http://osmm.de/wordpress/?p=66</guid>
		<description><![CDATA[Ein Flugzeug in Unity3D wird durch die Microsoft Kinect Kamera, bzw. durch Tracking von Kopf und Händen gesteuert. Kinect SDK]]></description>
			<content:encoded><![CDATA[<p>Ein Flugzeug in Unity3D wird durch die Microsoft Kinect Kamera, bzw. durch Tracking von Kopf und Händen gesteuert.<br />
<a href="http://research.microsoft.com/en-us/um/redmond/projects/kinectsdk/" target="_blank">
<postlink>Kinect SDK</postlink></a></p>
<p><img class="alignnone size-medium wp-image-67" title="01" src="http://osmm.de/wordpress/wp-content/uploads/2011/10/01-300x180.jpg" alt="" width="300" height="180" /></p>
]]></content:encoded>
			<wfw:commentRss>http://osmm.de/wordpress/?feed=rss2&#038;p=66</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

