<?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>CODEISPOETRY &#187; bugfix</title>
	<atom:link href="http://www.alexmil.de/category/bugfix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alexmil.de</link>
	<description></description>
	<lastBuildDate>Fri, 10 Jun 2011 13:10:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Photoshop This document contains unknown data which will be discarded BUG</title>
		<link>http://www.alexmil.de/photoshop-this-document-contains-unknown-data-which-will-be-discarded-bug/</link>
		<comments>http://www.alexmil.de/photoshop-this-document-contains-unknown-data-which-will-be-discarded-bug/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 13:08:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bugfix]]></category>
		<category><![CDATA[photoshop]]></category>

		<guid isPermaLink="false">http://www.alexmil.de/?p=877</guid>
		<description><![CDATA[Maybe interesting for some cs4 users having issues with this bug:

this happens when the psd file (cs5) has a too deep layer structure (more than 5 groups)
hth.
]]></description>
			<content:encoded><![CDATA[<p>Maybe interesting for some cs4 users having issues with this bug:</p>
<p><a href="http://www.alexmil.de/wp-content/Bildschirmfoto-2011-06-10-um-15.01.23.png"><img class="size-full wp-image-878 alignleft" title="Bildschirmfoto 2011-06-10 um 15.01.23" src="http://www.alexmil.de/wp-content/Bildschirmfoto-2011-06-10-um-15.01.23.png" alt="Bildschirmfoto 2011-06-10 um 15.01.23" width="392" height="170" /></a></p>
<p>this happens when the psd file (cs5) has a too deep layer structure (more than 5 groups)</p>
<p>hth.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexmil.de/photoshop-this-document-contains-unknown-data-which-will-be-discarded-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webcam Access unclickable</title>
		<link>http://www.alexmil.de/webcam-acces-unclickable/</link>
		<comments>http://www.alexmil.de/webcam-acces-unclickable/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 15:20:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[browser]]></category>
		<category><![CDATA[bugfix]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://www.alexmil.de/?p=850</guid>
		<description><![CDATA[I just did a Facebook Webcam game and came across a nasty firefox bug. Sometimes the cam panel popping up is unclickable. (Firefox on Mac)

The strange thing is:

Works like a charm in Safari
Works like a charm outside of Facebook

But I expierenced the problem on some pages outside FB aswell.
Here is the magic (once again thanks [...]]]></description>
			<content:encoded><![CDATA[<p>I just did a Facebook Webcam game and came across a nasty firefox bug. Sometimes the cam panel popping up is unclickable. (Firefox on Mac)</p>
<p><img class="alignnone size-full wp-image-851" title="cam_access" src="http://www.alexmil.de/wp-content/cam_access.png" alt="cam_access" width="252" height="169" /></p>
<p>The strange thing is:</p>
<ol>
<li>Works like a charm in Safari</li>
<li>Works like a charm outside of Facebook</li>
</ol>
<p>But I expierenced the problem on some pages outside FB aswell.</p>
<p>Here is the magic (once again thanks to <a href="http://blog.formatlos.de/" target="_blank">Martin</a>):</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">try</span><span style="color: #009900;">&#123;</span>
    <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>$.<span style="color: #660066;">browser</span>.<span style="color: #660066;">mozilla</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        $<span style="color: #009900;">&#40;</span>window<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">resize</span><span style="color: #009900;">&#40;</span>addMargin<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">resize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">catch</span><span style="color: #009900;">&#40;</span>ex<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #003366; font-weight: bold;">function</span> addMargin<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#cont&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'margin-left'</span><span style="color: #339933;">,</span> window.<span style="color: #660066;">outerWidth</span> <span style="color: #339933;">%</span> <span style="color: #CC0000;">2</span> <span style="color: #339933;">?</span> <span style="color: #3366CC;">'0'</span> <span style="color: #339933;">:</span> <span style="color: #3366CC;">'0.5px'</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>The problem is that your swf is displayed on HALF PIXELS. Just move the container in which you putted your swf and it should work like a charm.</p>
<p><a href="http://fbexchange.net/questions/85/unable-to-interact-with-flash-settings-dialog-in-firefox" target="_blank">Link where i stole this from</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexmil.de/webcam-acces-unclickable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>problem: flash stops on ajax call</title>
		<link>http://www.alexmil.de/problem-flash-stops-on-ajax-call/</link>
		<comments>http://www.alexmil.de/problem-flash-stops-on-ajax-call/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 21:54:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bugfix]]></category>

		<guid isPermaLink="false">http://www.alexmil.de/?p=412</guid>
		<description><![CDATA[Problem: you call a javascript method which returns some data (via ajax &#8211; php etc..) and flash animation stops / looks ugly.
Solution: do the same thing via a callback method. so js &#8211; calls pushes the data to flash.
Why: &#8211; when flash calls js functions &#8211; flash stops &#8211; until it gets the return value. [...]]]></description>
			<content:encoded><![CDATA[<p>Problem: you call a javascript method which returns some data (via ajax &#8211; php etc..) and flash animation stops / looks ugly.</p>
<p>Solution: do the same thing via a callback method. so js &#8211; calls pushes the data to flash.</p>
<p>Why: &#8211; when flash calls js functions &#8211; flash stops &#8211; until it gets the return value. when you use callbacks js calculates stuff and calls flash when the date is already calculated -&gt; no latency / flash stopping.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexmil.de/problem-flash-stops-on-ajax-call/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flashplayer error #1009 on stageResize</title>
		<link>http://www.alexmil.de/flashplayer-error-1009-on-stageresize/</link>
		<comments>http://www.alexmil.de/flashplayer-error-1009-on-stageresize/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 08:05:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bugfix]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.alexmil.de/?p=363</guid>
		<description><![CDATA[I spotted a strange fp behaviour. On some computers Flashplayer throws an error saying #1009 null object reference.
The Problem: the stage resize is called when the flash app isn&#8217;t completly loaded.
The Fix : check for null object:
&#8220;if(_videoPlayer != null)&#8221;
thanks to martin vor the tip
]]></description>
			<content:encoded><![CDATA[<p>I spotted a strange fp behaviour. On some computers Flashplayer throws an error saying #1009 null object reference.</p>
<p>The Problem: the stage resize is called when the flash app isn&#8217;t completly loaded.</p>
<p>The Fix : check for null object:</p>
<p><strong>&#8220;if(_videoPlayer != null)&#8221;</strong></p>
<p>thanks to <a href="http://blog.formatlos.de/" target="_blank">martin</a> vor the tip</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexmil.de/flashplayer-error-1009-on-stageresize/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The as3 loggger i use</title>
		<link>http://www.alexmil.de/the-as3-loggger-i-use/</link>
		<comments>http://www.alexmil.de/the-as3-loggger-i-use/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 09:55:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bugfix]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[hot]]></category>

		<guid isPermaLink="false">http://www.alexmil.de/?p=351</guid>
		<description><![CDATA[
http://www.monsterdebugger.com/
Why?

works when flash is embeded in html
easy to implemnt and use
live property editing
free
works with air technology
&#8230;

contras:

the trace time isn&#8217;t precise enough
slows the swf performance by intens use

conclusion:
This is agreat tool and i can only recommend it.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.monsterdebugger.com/"><img class="alignnone size-full wp-image-352" title="demonsters" src="http://www.alexmil.de/wp-content/demonsters.png" alt="" width="400" height="178" /></a></p>
<p><a href="http://www.monsterdebugger.com/" target="_blank">http://www.monsterdebugger.com/</a></p>
<p>Why?</p>
<ul>
<li>works when flash is embeded in html</li>
<li>easy to implemnt and use</li>
<li>live property editing</li>
<li>free</li>
<li>works with air technology</li>
<li>&#8230;</li>
</ul>
<p>contras:</p>
<ul>
<li>the trace time isn&#8217;t precise enough</li>
<li>slows the swf performance by intens use</li>
</ul>
<p>conclusion:</p>
<p>This is agreat tool and i can only recommend it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexmil.de/the-as3-loggger-i-use/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Flash flv metadata error #1069</title>
		<link>http://www.alexmil.de/flash-flv-metadata-error-1069/</link>
		<comments>http://www.alexmil.de/flash-flv-metadata-error-1069/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 14:36:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bugfix]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://www.alexmil.de/?p=327</guid>
		<description><![CDATA[Working with flvs I got that error
&#8220;Error #1069 onMetaData for flash.net.NetStream not found&#8221;
Here&#8217;s the fix.

var nc : NetConnection = new NetConnection&#40;&#41;;
nc.connect&#40;null&#41;;
var ns : NetStream = new NetStream&#40;nc&#41;;
var vid : Video = new Video&#40;&#41;;
&#160;
var listener : Object = new Object&#40;&#41;;
&#160;
// this is optional
//
listener.onMetaData = function&#40;infoObject : Object&#41;:void
&#123;
	trace&#40;&#34;onMetaData&#34;&#41;;
	var key : String;
	for &#40;key in infoObject&#41;
	&#123;
		trace&#40;key + &#34;: &#34; [...]]]></description>
			<content:encoded><![CDATA[<p>Working with flvs I got that error<strong></p>
<p>&#8220;Error #1069 onMetaData for flash.net.NetStream not found&#8221;</strong></p>
<p>Here&#8217;s the fix.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> nc : <span style="color: #0066CC;">NetConnection</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">NetConnection</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
nc.<span style="color: #0066CC;">connect</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">null</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> ns : <span style="color: #0066CC;">NetStream</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">NetStream</span><span style="color: #66cc66;">&#40;</span>nc<span style="color: #66cc66;">&#41;</span>;
<span style="color: #000000; font-weight: bold;">var</span> vid : <span style="color: #0066CC;">Video</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Video</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">var</span> listener : <span style="color: #0066CC;">Object</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">// this is optional</span>
<span style="color: #808080; font-style: italic;">//</span>
listener.<span style="color: #006600;">onMetaData</span> = <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>infoObject : <span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;onMetaData&quot;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">key</span> : <span style="color: #0066CC;">String</span>;
	<span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">key</span> <span style="color: #b1b100;">in</span> infoObject<span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">key</span> + <span style="color: #ff0000;">&quot;: &quot;</span> + infoObject<span style="color: #66cc66;">&#91;</span><span style="color: #0066CC;">key</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// this is optional</span>
<span style="color: #808080; font-style: italic;">//</span>
listener.<span style="color: #006600;">onCuePoint</span> = <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>infoObject : <span style="color: #0066CC;">Object</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">void</span>
<span style="color: #66cc66;">&#123;</span>
	<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;onCuePoint&quot;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #000000; font-weight: bold;">var</span> <span style="color: #0066CC;">key</span> : <span style="color: #0066CC;">String</span>;
	<span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">key</span> <span style="color: #b1b100;">in</span> infoObject<span style="color: #66cc66;">&#41;</span>
	<span style="color: #66cc66;">&#123;</span>
		<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">key</span> + <span style="color: #ff0000;">&quot;: &quot;</span> + infoObject<span style="color: #66cc66;">&#91;</span><span style="color: #0066CC;">key</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;
	<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// this is &quot;the magic&quot;</span>
<span style="color: #808080; font-style: italic;">//</span>
ns.<span style="color: #006600;">client</span> = listener;
ns.<span style="color: #0066CC;">play</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;videos/vid2.flv&quot;</span><span style="color: #66cc66;">&#41;</span>;
vid.<span style="color: #006600;">attachNetStream</span><span style="color: #66cc66;">&#40;</span>ns<span style="color: #66cc66;">&#41;</span>;
addChild<span style="color: #66cc66;">&#40;</span>vid<span style="color: #66cc66;">&#41;</span>;</pre></div></div>

<p>So long</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexmil.de/flash-flv-metadata-error-1069/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AS3 security error local file system + ant</title>
		<link>http://www.alexmil.de/as3-security-error-local-file-system-ant/</link>
		<comments>http://www.alexmil.de/as3-security-error-local-file-system-ant/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 10:06:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bugfix]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.alexmil.de/?p=273</guid>
		<description><![CDATA[use this compile property to load local files in your swf.
-use-network=false
Note: If you work on a local webserver you won&#8217;t have that problem
]]></description>
			<content:encoded><![CDATA[<p>use this compile property to load local files in your swf.</p>
<p>-use-network=false</p>
<p>Note: If you work on a local webserver you won&#8217;t have that problem</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexmil.de/as3-security-error-local-file-system-ant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problem with Andy&#8217;s ShadowCaster Class?</title>
		<link>http://www.alexmil.de/problem-with-andys-shadowcaster-class/</link>
		<comments>http://www.alexmil.de/problem-with-andys-shadowcaster-class/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 18:54:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bugfix]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[papervision3d]]></category>

		<guid isPermaLink="false">http://www.alexmil.de/?p=145</guid>
		<description><![CDATA[There seems to be a problem with the ShadowCaster Class created by Andy (my demoimplementation). Well I couldn&#8217;t recreate that bug but when you have this error:
&#8220;Error #1009: Cannot access a property or method of a null object reference.at ShadowCaster/projectVertex()&#8221;
this fix found here might help you out:

private var _type:String = &#34;point&#34;;
//...
&#160;
..//
public static var DIRECTIONAL:String = [...]]]></description>
			<content:encoded><![CDATA[<p>There seems to be a problem with the ShadowCaster Class created by <a href="http://zupko.info" target="_blank">Andy</a> (<a href="http://www.alexmil.de/index.php/2008/09/can-papervision3d-draw-lots-of-shadows-realtime/">my demoimplementation</a>). Well I couldn&#8217;t recreate that bug but when you have this error:</p>
<p><strong>&#8220;Error #1009: Cannot access a property or method of a null object reference.at ShadowCaster/projectVertex()&#8221;</strong></p>
<p>this fix found here might help you out:</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _type:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">&quot;point&quot;</span>;
<span style="color: #808080; font-style: italic;">//...</span>
&nbsp;
..<span style="color: #808080; font-style: italic;">//</span>
<span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">var</span> DIRECTIONAL:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">&quot;dir&quot;</span>;
<span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">var</span> SPOTLIGHT:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">&quot;spot&quot;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">// replaced it with:</span>
<span style="color: #0066CC;">private</span> <span style="color: #000000; font-weight: bold;">var</span> _type:<span style="color: #0066CC;">String</span> = <span style="color: #ff0000;">&quot;dir&quot;</span>; <span style="color: #808080; font-style: italic;">// or &quot;spot&quot;</span></pre></div></div>

<p>I can&#8217;t tell if this is a &#8220;good&#8221; or &#8220;bad&#8221; fix because I didn&#8217;t really test it.</p>
<p>Original post of the fix is <a href="http://www.nabble.com/-Papervision-3D----Shadowcaster.-Did-i-found-a-bug--td19537116.html" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alexmil.de/problem-with-andys-shadowcaster-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

