<?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>Power-up Media Blog &#187; bug</title>
	<atom:link href="http://blog.powerupmedia.nl/tag/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.powerupmedia.nl</link>
	<description></description>
	<lastBuildDate>Wed, 20 Jul 2011 20:39:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Where is the &#8220;Save and Compact&#8221; in CS5?</title>
		<link>http://blog.powerupmedia.nl/2010/08/10/where-is-the-save-and-compact-in-cs5/</link>
		<comments>http://blog.powerupmedia.nl/2010/08/10/where-is-the-save-and-compact-in-cs5/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 10:34:37 +0000</pubDate>
		<dc:creator>Arno van Oordt</dc:creator>
				<category><![CDATA[Interaction design]]></category>
		<category><![CDATA[Power-up Media]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[cs5]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[ide]]></category>

		<guid isPermaLink="false">http://blog.powerupmedia.nl/?p=197</guid>
		<description><![CDATA[I found the &#8220;Save and Compact&#8221; was missing from the new Flash CS5. At first it didn&#8217;t bother me until I copied a previous project with loads of bitmaps to act as base for a new project. I always work this way when I start a new project: I copy my most recent (similar) project, remove [...]]]></description>
			<content:encoded><![CDATA[<p>I found the &#8220;Save and Compact&#8221; was missing from the new Flash CS5. At first it didn&#8217;t bother me until I copied a previous project with loads of bitmaps to act as base for a new project.<br />
I always work this way when I start a new project: I copy my most recent (similar) project, remove the stuff I don&#8217;t need, rename some stuff and start building the new project.<br />
No problem for as-files, but oddly enough stuff like movie clips, sounds, bitmaps, etc. you remove from your fla-file-library are not actually removed from the fla-file itself. This means all stuff removed from the library is actually just hidden (but with no way to un-hide) and will float forever in your fla-file without any use.<br />
In previous Flash versions this problem could be solved by hitting the &#8220;Save and compact&#8221; option but for some reason they removed this option in the CS5 version of Flash.</p>
<p>Very annoying if you ask me because I just want to work like I was used to without fla files growing in size with each new project (for no apparent reason).<br />
Luckily I found a very simple solution: clear everything from your library you don&#8217;t need any more and then just hit &#8220;Save as&#8230;&#8221; and save as a CS4 file. Thiss step will remove most of the overhead. After this, saving it again as CS5 file will reduce the file-size even more!</p>
<p>This trick is a bit more work than before (and it would make more sense if Flash did it all by itself),  but atleast it gets the job done.</p>
<p>Hopfully an update for CS5 will get rid of this problem once and for all&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.powerupmedia.nl/2010/08/10/where-is-the-save-and-compact-in-cs5/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>MouseEvent.ROLL_OUT troubles</title>
		<link>http://blog.powerupmedia.nl/2008/03/26/mouseeventroll_out-troubles/</link>
		<comments>http://blog.powerupmedia.nl/2008/03/26/mouseeventroll_out-troubles/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 10:01:24 +0000</pubDate>
		<dc:creator>Arno van Oordt</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Power-up Media]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://blog.justgreat.nl/2008/03/26/mouseeventroll_out-troubles/</guid>
		<description><![CDATA[Just great Just when I thought I mastered the MouseEvents in as3 (after trying almost every combination of MouseEvents, buttonMode and mouseChildren) I found a new problem situation; only this time I can seem to find a solution. The situation looks like this: If you can see this, then you might need a Flash Player [...]]]></description>
			<content:encoded><![CDATA[<p>Just great <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Just when I thought I mastered the MouseEvents in as3 (after trying almost every combination of <em>MouseEvents</em>, <em>buttonMode</em> and <em>mouseChildren</em>) I found a new problem situation; only this time I can seem to find a solution.</p>
<p>The situation looks like this:<br />
<object type="application/x-shockwave-flash" style="width:448px;height:386px" data="http://blog.justgreat.nl/wp-content/uploads/2008/03/rollout-test.swf"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="quality" value="best" /><param name="wmode" value="transparent" /><param name="movie" value="http://blog.justgreat.nl/wp-content/uploads/2008/03/rollout-test.swf" /><param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" />If you can see this, then you might need a Flash Player upgrade or you need to install Flash Player if it's missing. Get <a href="http://get.adobe.com/flashplayer/" target="_blank">Flash Player</a> from Adobe.</object><br/>
		<!-- Valid XHTML flash object delivered by XHTML Video Embed. Get it at: http://saltwaterc.net/xhtml-video-embed -->
		<br />
- The two shapes are siblings so they have the same parent (i.o.w. the two shapes can&#8217;t be nested).<br />
- The blue oval is on top of the green rectangle.<br />
- I want to know when the mouse leaves the green rectangle.</p>
<p>The problem is that the green rectangle dispatches a ROLL_OUT and MOUSE_OUT event as soon as the mouse hits the blue oval.</p>
<p>I tried all combinations of mouseChildren, buttonMode and enabled on the oval and on the parent of the two clips, but nothing seems to make the oval not &#8220;steal focus&#8221; of the rectangle.</p>
<p>Here is the source of the test: <a target="_blank" href="http://blog.justgreat.nl/wp-content/uploads/2008/03/rollout-test.zip">Rollout test (zip)</a></p>
<p>I can think of some workarounds (hitArea, using an invisible button, etc.) but I much rather find a straight way to handle this kind of situation.<br />
Since this was never a problem in as2 I believe there should be a decent solution in as3 as well.</p>
<p>If someone has an answer to this problem or knows about a secret property I haven&#8217;t tried, please let me know&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.powerupmedia.nl/2008/03/26/mouseeventroll_out-troubles/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>WordPress update &amp; plugin troubles&#8230;</title>
		<link>http://blog.powerupmedia.nl/2008/03/09/wordpress-update-plugin-troubles/</link>
		<comments>http://blog.powerupmedia.nl/2008/03/09/wordpress-update-plugin-troubles/#comments</comments>
		<pubDate>Sun, 09 Mar 2008 17:35:49 +0000</pubDate>
		<dc:creator>Arno van Oordt</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Power-up Media]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.justgreat.nl/2008/03/09/wordpress-update-plugin-troubles/</guid>
		<description><![CDATA[Just great! Recently I updated my blog to wordpress 2.3.3 (because of a major security leak) and all of a sudden almost my entire blog crashed . Without any proper warning on the wordpress site when downloading the new blog version, I assumed there should be no problem to update, but that turned out to [...]]]></description>
			<content:encoded><![CDATA[<p>Just great! Recently I updated my blog to wordpress 2.3.3 (because of a major security leak) and all of a sudden almost my entire blog crashed <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  .<br />
Without any proper warning on the wordpress site when downloading the new blog version, I assumed there should be no problem to update, but that turned out to be a big mistake&#8230;<br />
<strong>my entire blog crashed!</strong></p>
<p>It turned out the (old) plugins were the root of the problem and I had to delete them all in order to get my blog up and running again.</p>
<p>Mad as I could be I tried to reinstall new versions of plugins, but since most of the plugins were not yet updated and compatible with the new WordPress version it was still drama and I decided to let it be and leave my blog a big mess (no syntax highlighting, broken tags, etc.).</p>
<p>After a week of snowboard fun I regained the courage to look for new plugins to replace the old ones. And whaddayaknow; I found just the right plugins for my blog. I&#8217;m not sure if it was the time plugin-developers needed to update their plugins or the time I needed to cooldown and start a fresh new search but <strong>I did it</strong> <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  .</p>
<p><strong>SWF and Youtube embedding</strong><br />
To show swf files, youtube videos and other mash-up stuff I now use <a target="_blank" href="http://saltwaterc.net/xhtml-video-embed" title="xhtml-video-embed">xhtml-video-embed</a>. This plugin lets you embed different content using a simple <code>[tag] ... [/tag]</code>-markup&#8230;<br />
No more fucked-up embedcode in your post editor!</p>
<p><strong>Syntax highlighting<br />
</strong>To display my codesnipets in proper format without screwing up the layout of my theme I now use <a target="_blank" href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/" title="wp-codebox">WP-Codebox</a>. It turned out this plugin is even better than my old syntaxhighlighter-plugin!<br />
This plugin uses a <code>&lt;pre lang="LANGUAGE"&gt; ... &lt;pre&gt;</code>-markup and supports a lot of languages (including actionscript). Very nice. <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><strong>Tagging<br />
</strong>For the tags of my post I now use the new tag-feature of WordPress. Since it doesn&#8217;t display tags with posts by default I had to find a way to show them anyway and I found the answer right here: <a target="_blank" href="http://richgilchrest.com/how-to-add-wordpress-23-tags-to-your-current-theme/">http://richgilchrest.com/how-to-add-wordpress-23-tags-to-your-current-theme/</a><br />
In short; you just have to add a line like the one below into the index.php, archive.php,  and/or single.php file of your theme:<br />
<code>&lt;?php the_tags("&lt;b&gt;Tags:&lt;/b&gt; ", ", ", ""); ?&gt;</code><br />
How easy&#8230;</p>
<p>In the end it turned out to be all worth the stress and nail nibbling&#8230; justGREAT!</p>
<p>PS: With my blog back in business I decided to change the header and footer of my theme as well. Hope you appreciate it <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.powerupmedia.nl/2008/03/09/wordpress-update-plugin-troubles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>0.1*3 = 0.30000000000000004</title>
		<link>http://blog.powerupmedia.nl/2007/12/20/013-030000000000000004/</link>
		<comments>http://blog.powerupmedia.nl/2007/12/20/013-030000000000000004/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 14:53:53 +0000</pubDate>
		<dc:creator>Arno van Oordt</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Power-up Media]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[code]]></category>

		<guid isPermaLink="false">http://blog.justgreat.nl/2007/12/20/013-030000000000000004/</guid>
		<description><![CDATA[Isn&#8217;t this just great? I stumbled upon this problem in actionscript a while ago, but at that time I just worked around it and never bothered again&#8230; until today. A colleague came to me with the same problem and I decided to investigate a little more. Apparently it is some weird bug when it comes to [...]]]></description>
			<content:encoded><![CDATA[<p>Isn&#8217;t this just great? I stumbled upon this problem in actionscript a while ago, but at that time I just worked around it and never bothered again&#8230; until today. A <a target="_blank" href="http://blog.idsklijnsma.nl/">colleague</a> came to me with the same problem and I decided to investigate a little more.</p>
<p>Apparently it is some weird bug when it comes to multiplying decimals values by 3. Take this little script for example:</p>

<div class="wp_codebox"><table><tr id="p803"><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code" id="p80code3"><pre class="actionscript" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> j:<span style="color: #0066CC;">Number</span>; 
<span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> i:<span style="color: #0066CC;">int</span>=<span style="color: #cc66cc;">0</span>; i<span style="color: #66cc66;">&amp;</span>lt;<span style="color: #cc66cc;">10</span>; i++<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span> 
	j = i<span style="color: #66cc66;">/</span><span style="color: #cc66cc;">10</span>; 
	<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>j+<span style="color: #ff0000;">&quot;*3 =<span style="color: #000099; font-weight: bold;">\t</span>&quot;</span>+<span style="color: #66cc66;">&#40;</span>j<span style="color: #66cc66;">*</span><span style="color: #cc66cc;">3</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>; 
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>It outputs:<br />
0*3 = 0<br />
0.1*3 = 0.30000000000000004<br />
0.2*3 = 0.6000000000000001<br />
0.3*3 = 0.8999999999999999<br />
0.4*3 = 1.2000000000000002<br />
0.5*3 = 1.5<br />
0.6*3 = 1.7999999999999998<br />
0.7*3 = 2.0999999999999996<br />
0.8*3 = 2.4000000000000004<br />
0.9*3 = 2.7</p>
<p>And it doesn&#8217;t stop just there. The same problems occur when adding a decimal value to the double of it&#8217;s value:</p>

<div class="wp_codebox"><table><tr id="p804"><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code" id="p80code4"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>.1+.2<span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">//0.30000000000000004 </span>
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>.2+.4<span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">//0.6000000000000001 </span>
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>.3+.6<span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">//0.8999999999999999 </span>
<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>.4+.8<span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">//1.2000000000000002</span></pre></td></tr></table></div>

<p>The problem occurres in Javascript as well as in Actionscript (and probably some other languages too) so it&#8217;s probably caused by the way decimal values are treated at byte-level. Because it&#8217;s not likely there will be a fix for this soon, here is a little workaround:<br />
i = int(i *10)/10; //use int() in favour of Math.round() to speed up the code</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.powerupmedia.nl/2007/12/20/013-030000000000000004/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Where is my as2 remoting in Flash 9?</title>
		<link>http://blog.powerupmedia.nl/2007/07/25/where-is-my-as2-remoting-in-flash-9/</link>
		<comments>http://blog.powerupmedia.nl/2007/07/25/where-is-my-as2-remoting-in-flash-9/#comments</comments>
		<pubDate>Wed, 25 Jul 2007 15:14:15 +0000</pubDate>
		<dc:creator>Arno van Oordt</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Power-up Media]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash 9]]></category>
		<category><![CDATA[remoting]]></category>

		<guid isPermaLink="false">http://blog.justgreat.nl/?p=58</guid>
		<description><![CDATA[Just great! I installed Flash 9 and was happy I could finally throw out the old Flash 8 version only to find out that I couldn&#8217;t  compile my old as2 remoting projects in Flash 9. At Adobe they were smart enough to include remoting in as3 but they totally forgot to add it for as2 as well. Checking the (Flash [...]]]></description>
			<content:encoded><![CDATA[<p>Just great! I installed Flash 9 and was happy I could finally throw out the old Flash 8 version only to find out that I couldn&#8217;t  compile my old as2 remoting projects in Flash 9. At Adobe they were smart enough to include remoting in as3 but they totally forgot to add it for as2 as well. Checking the (Flash 9) help led me to the <a target="_blank" href="http://www.adobe.com/support/flashremoting/">site</a> where I can only download the Flash 8 remoting installer which can&#8217;t be installed for Flash 9&#8230;</p>
<p>Very smart Adobe! <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
<p>Fortunately I thought of an easy way to get this problem solved; simply copy the remoting classes from Flash 8 to some other directory and set this directory as one of your default Flash 9 &#8211; as2 &#8211; classpaths. (Copying it into the default classpath with all other default classes didn&#8217;t work for me somehow.)</p>
<p>To make it easy for you I extracted the remoting classes and put them in a zip: <a href="http://blog.powerupmedia.nl/wp-content/uploads/2007/07/as2remotingpackage.zip" title="AS2 Remoting Package">as2RemotingPackage.zip</a></p>
<p>PS: I coudn&#8217;t find <strong>any</strong> info about this on the internet so either nobody ever needed it, nobody ever bothered to try and find a solution or this solution is so simple nobody ever bothered to write about it.<br />
Anyway I bother to write about it for those of you who couldn&#8217;t find a solution or just didn&#8217;t bother to find one.</p>
<p>Hope this will help you&#8230; <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_idea.gif' alt=':idea:' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.powerupmedia.nl/2007/07/25/where-is-my-as2-remoting-in-flash-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I want actual sizes!</title>
		<link>http://blog.powerupmedia.nl/2007/07/05/i-want-actual-sizes/</link>
		<comments>http://blog.powerupmedia.nl/2007/07/05/i-want-actual-sizes/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 09:22:51 +0000</pubDate>
		<dc:creator>Arno van Oordt</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Power-up Media]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://blog.justgreat.nl/?p=54</guid>
		<description><![CDATA[Just great! yet another weird Flash &#8220;feature&#8221;. When I tried to get the width of a rotating MovieClip I got wildly variating values. This surprised me because the MovieClip only contained exact round shape. The circle was 25 px in diameter, but when I started to trace the width in an interval I got values ranging from [...]]]></description>
			<content:encoded><![CDATA[<p>Just great! yet another weird Flash &#8220;feature&#8221;. When I tried to get the width of a rotating MovieClip I got wildly variating values. This surprised me because the MovieClip only contained exact round shape. The circle was 25 px in diameter, but when I started to trace the width in an interval I got values ranging from 25 to 35.4px.</p>
<p>As it turned out, the width and height of the MovieClip only represent the bounding box of the original shape (when it still had a rotation of 0). The only way to get the actual width and height of the MovieClip was to use the <em>getBounds</em>method. This method calculates the boundingbox according to the current shape and orientation of the MovieClip giving the trrue width and height.</p>
<p>To test this create a movieclip width a circle in it and place the code below on the first frame (I&#8217;m no fan of timeline-code but it&#8217;s ideal for testing purpose <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  ).</p>

<div class="wp_codebox"><table><tr id="p546"><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code" id="p54code6"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">onEnterFrame</span> = <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span> 
	<span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">_rotation</span> += <span style="color: #cc66cc;">15</span>; 
	<span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;boundingbox-width: &quot;</span>+<span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">getBounds</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">xMax</span>-<span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">getBounds</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #006600;">xMin</span><span style="color: #66cc66;">&#41;</span>+<span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\t</span><span style="color: #000099; font-weight: bold;">\t</span>width: &quot;</span>+<span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">_width</span><span style="color: #66cc66;">&#41;</span>; 
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p>The sample is as2 but the problem and solution are the same in as3.</p>
<p>I hope this helps some of you who were wondering why a 25px circel suddenly had a 35.4px width <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' />  .</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.powerupmedia.nl/2007/07/05/i-want-actual-sizes/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>allowFulSceen vs. transparent wmode</title>
		<link>http://blog.powerupmedia.nl/2007/06/29/allowfulsceen-vs-transparent-wmode/</link>
		<comments>http://blog.powerupmedia.nl/2007/06/29/allowfulsceen-vs-transparent-wmode/#comments</comments>
		<pubDate>Fri, 29 Jun 2007 10:29:41 +0000</pubDate>
		<dc:creator>Arno van Oordt</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Power-up Media]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as2]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[embedding]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[fullscreen]]></category>
		<category><![CDATA[transparent]]></category>

		<guid isPermaLink="false">http://blog.justgreat.nl/?p=53</guid>
		<description><![CDATA[Just great when you waste half an hour figuring out why you can&#8217;t get your flash to run in fullscreen mode To save you the time and frustration, here is why it didn&#8217;t work: You can&#8217;t use the allowFullScreen = true and wmode = transparent together Somehow the flashplayer is not smart enough to simply [...]]]></description>
			<content:encoded><![CDATA[<p>Just great when you waste half an hour figuring out why you can&#8217;t get your flash to run in fullscreen mode <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
<p>To save you the time and frustration, here is why it didn&#8217;t work:<br />
You can&#8217;t use the <strong>allowFullScreen = true</strong> and <strong>wmode = transparent</strong> together <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_confused.gif' alt=':?' class='wp-smiley' /> </p>
<p>Somehow the flashplayer is not smart enough to simply make the background opaque when you set the player to fullscreen mode.</p>
<p>Lets hope they fix this in the next player update&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.powerupmedia.nl/2007/06/29/allowfulsceen-vs-transparent-wmode/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Buggy Flash 9 IDE</title>
		<link>http://blog.powerupmedia.nl/2007/06/24/buggy-flash-9-ide/</link>
		<comments>http://blog.powerupmedia.nl/2007/06/24/buggy-flash-9-ide/#comments</comments>
		<pubDate>Sun, 24 Jun 2007 13:18:06 +0000</pubDate>
		<dc:creator>Arno van Oordt</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Interaction design]]></category>
		<category><![CDATA[Power-up Media]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash 9]]></category>
		<category><![CDATA[ide]]></category>

		<guid isPermaLink="false">http://blog.justgreat.nl/?p=50</guid>
		<description><![CDATA[Just great how Adobe manage to screw up something that was working just fine. After reading Den Ivanov’s post I wanted to make a comment but it became so big I decided to make a post about it myself; Apart from the bug Den describes there are tons more. I also have troubles with the panels [...]]]></description>
			<content:encoded><![CDATA[<p>Just great how Adobe manage to screw up something that was working just fine. <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
<p>After reading <a target="_blank" href="http://www.cleoag.ru/2007/06/22/adobe-magic-or-where-in-the-world-no-color-button/">Den Ivanov’s post</a> I wanted to make a comment but it became so big I decided to make a post about it myself;</p>
<p>Apart from the bug Den describes there are tons more. I also have troubles with the panels who very often lose their &#8220;titlebar&#8221; in which case it&#8217;s impossible to close them or switch to other tabs in that panel. The only way to restore them is to close and open the panel (hit F4 twice).<br />
There also is a bug in the sizing of the help window as it often resizes to the height of the screen making it impossible to read the complete content. <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>It&#8217;s a shame they release a version that is even more buggy than it&#8217;s alpha version. Flash 9 is almost the same as version 8 (apart from the as3 compiler) and yet they manage to screw up the IDE.<br />
Too bad the alpha version of Flash 9 couldn&#8217;t handle components because it was much more stable than this buggy crap. <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_evil.gif' alt=':evil:' class='wp-smiley' /> </p>
<p>I really hope they fix these bugs (they are definitely not eastereggs like Den said) in the next update&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.powerupmedia.nl/2007/06/24/buggy-flash-9-ide/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Garbage Collector troubles using the Loader class.</title>
		<link>http://blog.powerupmedia.nl/2007/06/18/garbage-collector-troubles-using-the-loader-class/</link>
		<comments>http://blog.powerupmedia.nl/2007/06/18/garbage-collector-troubles-using-the-loader-class/#comments</comments>
		<pubDate>Mon, 18 Jun 2007 19:41:26 +0000</pubDate>
		<dc:creator>Arno van Oordt</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Power-up Media]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash 9]]></category>
		<category><![CDATA[garbage collector]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[loader]]></category>

		<guid isPermaLink="false">http://blog.justgreat.nl/?p=44</guid>
		<description><![CDATA[Just great another weird Garbage Collector issue in AS3: When I load an image using the Loader class and unload it later on. It won&#8217;t be disposed by the garbage collector. There are no references to neither the Loader nor the (weak) eventlisteners. After loading the image a couple of times the memory goes sky [...]]]></description>
			<content:encoded><![CDATA[<p>Just great <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  another weird Garbage Collector issue in AS3:</p>
<p>When I load an image using the Loader class and unload it later on. It won&#8217;t be disposed by the garbage collector.<br />
There are no references to neither the Loader nor the (weak) eventlisteners. After loading the image a couple of times the memory goes sky high <img src='http://blog.powerupmedia.nl/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> .</p>
<p>Here is a (simple) example: <a href="http://blog.powerupmedia.nl/wp-content/uploads/2007/06/loadertest.zip" title="LoaderTest">loadertest.zip</a></p>
<p>Does anyone have an explaination on why the GC doesn&#8217;t clean the loaded content? I would be very grateful!</p>
<p><strong>UPDATE 1 (2007-06-19):</strong><br />
I made the example even less complicated by using the same Loader instance when loading new images.</p>
<p>As I work around I tried to dispose the loaded BitmapData but unfortunately it had no effect.<br />
I assume the leak is somewhere within the Loader (or even deeper in the code) and that the loaded (binary) data is not removed after it&#8217;s converted into a BitmapData.</p>
<p><strong>UPDATE 2 (2007-06-19):<br />
</strong>I found the solution on in this post:<br />
<a href="http://www.webforumz.com/macromedia-flash/42690-memory-leak-when-loading-swf-in.htm">http://www.webforumz.com/macromedia-flash/42690-memory-leak-when-loading-swf-in.htm</a><a href="http://www.webforumz.com/macromedia...ding-swf-in.htm"></a></p>
<p>It seems that the unload() method has a bug when used in the flash IDE. Once I ran the test in a browser there seem to be no more problems and the GC nicely clears the memory&#8230;</p>
<p>Lets hope Adobe fixes this problem in the next Flash 9 update.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.powerupmedia.nl/2007/06/18/garbage-collector-troubles-using-the-loader-class/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

