<?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"
	>

<channel>
	<title>matze. making things move.</title>
	<atom:link href="http://matthias-haak.de/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://matthias-haak.de/blog</link>
	<description>Ein weiteres tolles WordPress-Blog</description>
	<pubDate>Sat, 27 Mar 2010 20:45:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>FileReference Bug - it just doesn&#8217;t load…</title>
		<link>http://matthias-haak.de/blog/2010/03/20/filereference-bug-it-just-doesnt-load/</link>
		<comments>http://matthias-haak.de/blog/2010/03/20/filereference-bug-it-just-doesnt-load/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 02:05:47 +0000</pubDate>
		<dc:creator>matze</dc:creator>
		
		<category><![CDATA[actionscript]]></category>

		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://matthias-haak.de/blog/?p=27</guid>
		<description><![CDATA[While working on Tilerator i found some strange behaviour on FileReference. Code as follows:

private function selectFile():void{
var f:FileReference=new FileReference();
f.addEventListener(Event.SELECT, loadFile);
f.addEventListener(Event.COMPLETE, parseFile);
f.browse();
}
private function loadFile(e:Event){
var fr:FileReference=FileReference(e.target);
fr.load();
}
private function parseFile(e:Event){
var fr:FileReference=FileReference(e.target);
trace('loading completed');
//never fires
}

Problem:
Even a progress event is rarely fired. The File just won&#8217;t load. Pretty annoying - especially when you eagerly want to load some data you&#8217;ve been storing away [...]]]></description>
			<content:encoded><![CDATA[<p>While working on <a href="http://matthias-haak.de/blog/2010/03/20/tilerator/ ">Tilerator</a> i found some strange behaviour on FileReference. Code as follows:<br />
<code><br />
private function selectFile():void{<br />
var f:FileReference=new FileReference();<br />
f.addEventListener(Event.SELECT, loadFile);<br />
f.addEventListener(Event.COMPLETE, parseFile);<br />
f.browse();<br />
}</p>
<p>private function loadFile(e:Event){<br />
var fr:FileReference=FileReference(e.target);<br />
fr.load();<br />
}</p>
<p>private function parseFile(e:Event){<br />
var fr:FileReference=FileReference(e.target);<br />
trace('loading completed');<br />
//never fires<br />
}<br />
</code><br />
Problem:<br />
Even a progress event is rarely fired. The File just won&#8217;t load. Pretty annoying - especially when you eagerly want to load some data you&#8217;ve been storing away before.</p>
<p>Solution:<br />
FileReference f might be eaten by some really motivated garbage collector, though it still has some event listeners attached. Making f a field var helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://matthias-haak.de/blog/2010/03/20/filereference-bug-it-just-doesnt-load/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tilerator</title>
		<link>http://matthias-haak.de/blog/2010/03/20/tilerator/</link>
		<comments>http://matthias-haak.de/blog/2010/03/20/tilerator/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 01:39:11 +0000</pubDate>
		<dc:creator>matze</dc:creator>
		
		<category><![CDATA[flex]]></category>

		<category><![CDATA[game]]></category>

		<guid isPermaLink="false">http://matthias-haak.de/blog/?p=26</guid>
		<description><![CDATA[My friend Rico is currently doing some iPhone game development in cocos2d and seemed pretty annoyed about the way the textures had to be prepared - so I created a small AIR app to prepare textures for Tiled Map Editor. Drop your PNGs on the app, arrange them as you like, save the comp and [...]]]></description>
			<content:encoded><![CDATA[<p>My friend <a href="http://ricobeck.de">Rico</a> is currently doing some iPhone game development in <a href="http://cocos2d.org/">cocos2d</a> and seemed pretty annoyed about the way the textures had to be prepared - so I created a small AIR app to prepare textures for <a href="http://mapeditor.org/">Tiled Map Editor</a>. Drop your PNGs on the app, arrange them as you like, save the comp and the tiled texture. Sounds simple? It is.</p>
<p><img src="/blog/wp-content/datenhalde/tilerator1.jpg" alt="screenshot 1" width="500" height="316" /> </p>
<p><img src="/blog/wp-content/datenhalde/tilerator2.jpg" alt="screenshot 2" /></p>
<p>App has still some flaws, and a bug might occur here and there. If so, let me know - though i won&#8217;t promise to fix that within the minute.</p>
<p>If this little tool helps one of you, I&#8217;m already happy as this task in Photoshop is something  quite annoying and time-consuming. At least I think, and if someone has a solution for that - feel free to post.</p>
<p>And now <a href="http://matthias-haak.de/assets/files/downloads/tilerator.air" onclick="pageTracker._trackPageview('/tilerator.air');">download Tilerator</a> and take it for a spin. You need <a href="http://www.adobe.com/go/EN_US-H-GET-AIR">AIR</a>.</p>
<p><ins datetime="2010-03-27T20:30:52+00:00">UPDATE: 27.03.2010<br />
added: possibility to delete image</p>
<p>fixed: after loading .tlc Tilerator composition file, Preview Tiled and Save Tiled did not work<br />
</ins></p>
]]></content:encoded>
			<wfw:commentRss>http://matthias-haak.de/blog/2010/03/20/tilerator/feed/</wfw:commentRss>
		</item>
		<item>
		<title>modx 1.0.2</title>
		<link>http://matthias-haak.de/blog/2009/11/24/modx-102/</link>
		<comments>http://matthias-haak.de/blog/2009/11/24/modx-102/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 23:43:21 +0000</pubDate>
		<dc:creator>matze</dc:creator>
		
		<category><![CDATA[modx]]></category>

		<guid isPermaLink="false">http://matthias-haak.de/blog/?p=24</guid>
		<description><![CDATA[ganz vergessen: modx 1.0.2 ist raus. Seit 20 Tagen.
Download &#124; Announcement
]]></description>
			<content:encoded><![CDATA[<p>ganz vergessen: modx 1.0.2 ist raus. Seit 20 Tagen.</p>
<p><a href="http://modxcms.com/download/">Download</a> | <a href="http://modxcms.com/forums/index.php/topic,41882.msg251575.html#msg251575">Announcement</a></p>
]]></content:encoded>
			<wfw:commentRss>http://matthias-haak.de/blog/2009/11/24/modx-102/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Flash Builder 4 Beta 2 - Performance Problem gelöst</title>
		<link>http://matthias-haak.de/blog/2009/10/26/flash-builder-4-beta-2-performance-problem-gelost/</link>
		<comments>http://matthias-haak.de/blog/2009/10/26/flash-builder-4-beta-2-performance-problem-gelost/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 13:48:41 +0000</pubDate>
		<dc:creator>matze</dc:creator>
		
		<category><![CDATA[flash]]></category>

		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://matthias-haak.de/blog/?p=23</guid>
		<description><![CDATA[Beschreibung: Installation der FlashBuilder 4 Beta 2. Vorher sauber Beta1 deinstalliert. Die Beta 2 ist langsam wie nur was, keine Überprüfung des Codes beim Speichern, und der Compiler kommt und kommt nicht aus der Hefe. Zusätzlich ist der &#8220;Debug&#8221;-Shortcut weg. Das Teil rendert die Zeichen langsamer, als ich BEIM ÜBERLEGEN tippe.
Lösung: Deinstallation (und Deinstallation FlashCatalyst [...]]]></description>
			<content:encoded><![CDATA[<p>Beschreibung: Installation der FlashBuilder 4 Beta 2. Vorher sauber Beta1 deinstalliert. Die Beta 2 ist langsam wie nur was, keine Überprüfung des Codes beim Speichern, und der Compiler kommt und kommt nicht aus der Hefe. Zusätzlich ist der &#8220;Debug&#8221;-Shortcut weg. Das Teil rendert die Zeichen langsamer, als ich BEIM ÜBERLEGEN tippe.</p>
<p>Lösung: Deinstallation (und Deinstallation FlashCatalyst Beta 1) und Re-Installation, diesmal in Deutsch. Fluppt wie nur was. Ja, die kleinen Dinge des Lebens.</p>
]]></content:encoded>
			<wfw:commentRss>http://matthias-haak.de/blog/2009/10/26/flash-builder-4-beta-2-performance-problem-gelost/feed/</wfw:commentRss>
		</item>
		<item>
		<title>modX 1.0.1</title>
		<link>http://matthias-haak.de/blog/2009/10/23/modx-101/</link>
		<comments>http://matthias-haak.de/blog/2009/10/23/modx-101/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 10:01:59 +0000</pubDate>
		<dc:creator>matze</dc:creator>
		
		<category><![CDATA[modx]]></category>

		<guid isPermaLink="false">http://matthias-haak.de/blog/?p=22</guid>
		<description><![CDATA[Version 1.0.1 von modX Evolution ist erschienen. Der Install-Bug ist verschwunden, und eine paar nette Features sind dazugekommen. (Beschreibung &#124; Download)
]]></description>
			<content:encoded><![CDATA[<p>Version 1.0.1 von modX Evolution ist erschienen. Der Install-Bug ist verschwunden, und eine paar nette Features sind dazugekommen. (<a href="http://modxcms.com/forums/index.php/topic,41288.msg248496.html#msg248496">Beschreibung</a> | <a href="http://modxcms.com/download/">Download</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://matthias-haak.de/blog/2009/10/23/modx-101/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SEM / SEO für jedermann</title>
		<link>http://matthias-haak.de/blog/2009/10/23/sem-seo-fur-jedermann/</link>
		<comments>http://matthias-haak.de/blog/2009/10/23/sem-seo-fur-jedermann/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 09:51:45 +0000</pubDate>
		<dc:creator>matze</dc:creator>
		
		<category><![CDATA[Allgemein]]></category>

		<guid isPermaLink="false">http://matthias-haak.de/blog/?p=21</guid>
		<description><![CDATA[Beim Besuch im Supermarkt konnte ich die Entdeckung machen, dass SEO jetzt auch günstig für jedermann möglich ist!

Auf der Rückseite gibt es für den Heim-SEO noch praktische Textbausteine wie diesen:
Immer mehr Firmen und Unternehmen greifen heutzutage zu SEM oder SEO-Maßnahmen, um ihre Platzierung in den Suchmaschinen-Ergebnissen zu optimieren. Die Suchmaschinen-Optimierung ist ein wichtiger Bestandteil eines [...]]]></description>
			<content:encoded><![CDATA[<p>Beim Besuch im Supermarkt konnte ich die Entdeckung machen, dass SEO jetzt auch günstig für jedermann möglich ist!</p>
<p><img class="alignnone" src="http://matthias-haak.de/blog/wp-content/datenhalde/semseo.jpg" alt="" width="800" /></p>
<p>Auf der Rückseite gibt es für den Heim-SEO noch praktische Textbausteine wie diesen:</p>
<blockquote><p>Immer mehr Firmen und Unternehmen greifen heutzutage zu SEM oder SEO-Maßnahmen, um ihre Platzierung in den Suchmaschinen-Ergebnissen zu optimieren. Die Suchmaschinen-Optimierung ist ein wichtiger Bestandteil eines jeden Marketingplans.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://matthias-haak.de/blog/2009/10/23/sem-seo-fur-jedermann/feed/</wfw:commentRss>
		</item>
		<item>
		<title>modx evolution installationsfehler</title>
		<link>http://matthias-haak.de/blog/2009/10/07/modx-evolution-installationsfehler/</link>
		<comments>http://matthias-haak.de/blog/2009/10/07/modx-evolution-installationsfehler/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 23:22:00 +0000</pubDate>
		<dc:creator>matze</dc:creator>
		
		<category><![CDATA[modx]]></category>

		<guid isPermaLink="false">http://matthias-haak.de/blog/?p=20</guid>
		<description><![CDATA[Jedes Mal wieder bei der Installation von modX 1.0 (Evolution):
Überprüfen ob der Ordner assets/images beschreibbar ist: fehlgeschlagen!
Ordner ist beschreibbar und gehört mir selbst. Inhalte des Ordners sind beschreibbar. Geht trotzdem nicht.
echo "&#60;p&#62;".$_lang['checking_if_images_writable'];
if (!is_writable("../assets/images") &#124;&#124; !is_writable("../assets/files") &#124;&#124; !is_writable("../assets/flash") &#124;&#124; !is_writable("../assets/media")) {

echo "&#60;span class=\"notok\"&#62;".$_lang['failed'].&#8221;&#60;/span&#62;&#60;/p&#62;&#8221;;

}
Ursache:
Leider ist in der deutschen Sprachdatei bei $_lang['checking_if_images_writable'] NUR der Ordner assets/images aufgeführt. Im Original stehen ALLE drin, [...]]]></description>
			<content:encoded><![CDATA[<p>Jedes Mal wieder bei der Installation von modX 1.0 (Evolution):</p>
<blockquote><p>Überprüfen ob der Ordner <span class="mono">assets/images</span> beschreibbar ist: <span class="ok">fehlgeschlagen!</span></p></blockquote>
<p>Ordner ist beschreibbar und gehört mir selbst. Inhalte des Ordners sind beschreibbar. Geht trotzdem nicht.</p>
<pre>echo "&lt;p&gt;".$_lang['checking_if_images_writable'];</pre>
<pre>if (!is_writable("../assets/images") || !is_writable("../assets/files") || !is_writable("../assets/flash") || !is_writable("../assets/media")) {

echo "&lt;span class=\"notok\"&gt;".$_lang['failed'].&#8221;&lt;/span&gt;&lt;/p&gt;&#8221;;

}</pre>
<p><strong>Ursache:</strong></p>
<p>Leider ist in der deutschen Sprachdatei bei $_lang['checking_if_images_writable'] NUR der Ordner assets/images aufgeführt. Im Original stehen ALLE drin, und soweit ich zurückdenken kann war das in der 0.9.6.3 auch in der deutschen Version so.</p>
<p><strong>Lösung:</strong></p>
<p>Das nächste mal <strong>alle</strong> Ordner vorher prüfen (/images, /files, /flash und /media). Und das lang-file anpassen.</p>
]]></content:encoded>
			<wfw:commentRss>http://matthias-haak.de/blog/2009/10/07/modx-evolution-installationsfehler/feed/</wfw:commentRss>
		</item>
		<item>
		<title>htmlers little helper</title>
		<link>http://matthias-haak.de/blog/2009/01/13/htmlers-little-helper/</link>
		<comments>http://matthias-haak.de/blog/2009/01/13/htmlers-little-helper/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 14:58:35 +0000</pubDate>
		<dc:creator>matze</dc:creator>
		
		<category><![CDATA[html css js]]></category>

		<guid isPermaLink="false">http://matthias-haak.de/blog/?p=19</guid>
		<description><![CDATA[Im 9elements-Blog wurde ein kleines JQuery-Plugin vorgestellt, das dem HTMLer ermöglicht, das Layout semi-transparent über dem Seiteninhalt anzuzeigen. 
Kommt richtig gut, wenn mit pixelverliebten Designern zusammenarbeitet. Und arbeitet browser-übergreifend.
]]></description>
			<content:encoded><![CDATA[<p>Im 9elements-Blog wurde ein <a href="http://blog.9elements.com/?page_id=54">kleines JQuery-Plugin</a> vorgestellt, das dem HTMLer ermöglicht, das Layout semi-transparent über dem Seiteninhalt anzuzeigen. </p>
<p>Kommt richtig gut, wenn mit pixelverliebten Designern zusammenarbeitet. Und arbeitet browser-übergreifend.</p>
]]></content:encoded>
			<wfw:commentRss>http://matthias-haak.de/blog/2009/01/13/htmlers-little-helper/feed/</wfw:commentRss>
		</item>
		<item>
		<title>sauberes entfernen nachgeladener swfs - removeMovieClip reintroduced</title>
		<link>http://matthias-haak.de/blog/2008/07/16/sauberes-entfernen-nachgeladener-swfs-removemovieclip-reintroduced/</link>
		<comments>http://matthias-haak.de/blog/2008/07/16/sauberes-entfernen-nachgeladener-swfs-removemovieclip-reintroduced/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 22:08:22 +0000</pubDate>
		<dc:creator>matze</dc:creator>
		
		<category><![CDATA[actionscript]]></category>

		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://matthias-haak.de/blog/?p=18</guid>
		<description><![CDATA[Colin Moock hat in seinem Blog eine Liste von Dingen aufgeführt, die nötig sind, um ein nachgeladenes swf sauber zu entladen.
Wie er selbst sagt, sind das alles nur Anhaltspunkte - aber alles Sachen, die beachtet werden müssen.
Vielleicht (sehr wahrscheinlich) sind danach alle Referenzen gelöscht, und das swf wird WIRKLICH aus dem Speicher entfernt (ist bis [...]]]></description>
			<content:encoded><![CDATA[<p>Colin Moock hat in seinem Blog eine <a href="http://www.moock.org/blog/archives/000279.html">Liste von Dingen aufgeführt</a>, die nötig sind, um ein nachgeladenes swf sauber zu entladen.<br />
Wie er selbst sagt, sind das alles nur Anhaltspunkte - aber alles Sachen, die beachtet werden müssen.</p>
<p>Vielleicht (sehr wahrscheinlich) sind danach alle Referenzen gelöscht, und das swf wird WIRKLICH aus dem Speicher entfernt (ist bis jetzt nicht der Fall - eben wegen der Referenzen durch Listener etc.).</p>
<p>Noch ausführlicher wird das Thema bei <a href="http://www.gskinner.com/blog/archives/2008/07/additional_info.html">Grant Skinner</a> behandelt.</p>
]]></content:encoded>
			<wfw:commentRss>http://matthias-haak.de/blog/2008/07/16/sauberes-entfernen-nachgeladener-swfs-removemovieclip-reintroduced/feed/</wfw:commentRss>
		</item>
		<item>
		<title>attachMovie in as3 emulieren</title>
		<link>http://matthias-haak.de/blog/2008/06/19/attachmovie-in-as3-emulieren/</link>
		<comments>http://matthias-haak.de/blog/2008/06/19/attachmovie-in-as3-emulieren/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 00:01:19 +0000</pubDate>
		<dc:creator>matze</dc:creator>
		
		<category><![CDATA[actionscript]]></category>

		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://matthias-haak.de/blog/?p=17</guid>
		<description><![CDATA[Früher™ wurden ja die Assets aus der Bilbiothek vom faulen Flasher mit

for(i=0; i]]></description>
			<content:encoded><![CDATA[<p>Früher™ wurden ja die Assets aus der Bilbiothek vom faulen Flasher mit<br />
<code><br />
for(i=0; i<4; i++){</p>
<p>	movie=this.attachMovie("asset"+n,"movie"+n,n);<br />
}<br />
</code><br />
(jetzt mal getNextHighestDepth() und Typisierung weggelassen)</p>
<p>Jetzt haben wir das großartige ActionScript 3, und attachMovie ging den Weg, den auch duplicateMovieClip beschreiten musste. Sie passten einfach nicht zur neuen DisplayList.</p>
<p>Die Aufgabenstellung bleibt aber, und das Problem wird nicht kleiner. Bei Adobe fand ich folgenden Weg:<br />
<code><br />
import fl.containers.UILoader;</p>
<p>for(var i:Number=0; i<4; i++){<br />
	var myInstance:UILoader = new UILoader();<br />
	myInstance.scaleContent = false;<br />
	myInstance.source = "myInstance"+i;;<br />
	this.addChild(myInstance);<br />
}<br />
</code><br />
Top. Sieht gut aus, fuktioniert. </p>
<p>Nicht.</p>
<p>Zumindest, solange man nicht eine UILoader-Komponente auf die Bühne gezogen hat. Dann läuft alles wunderbar.</p>
]]></content:encoded>
			<wfw:commentRss>http://matthias-haak.de/blog/2008/06/19/attachmovie-in-as3-emulieren/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>

