<?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>Wed, 28 Apr 2010 08:11:59 +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>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>
