<?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>bjornson's blog</title>
	<atom:link href="http://bjornson.inhb.de/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://bjornson.inhb.de</link>
	<description>this blog is very young, come again to watch it grow</description>
	<pubDate>Thu, 17 Jun 2010 09:49:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<item>
		<title>Freeware Screen Ruler</title>
		<link>http://bjornson.inhb.de/?p=140</link>
		<comments>http://bjornson.inhb.de/?p=140#comments</comments>
		<pubDate>Wed, 09 Jun 2010 17:11:16 +0000</pubDate>
		<dc:creator>bjornson</dc:creator>
		
		<category><![CDATA[Free Downloads]]></category>

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

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

		<category><![CDATA[Screen Ruler]]></category>

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

		<guid isPermaLink="false">http://bjornson.inhb.de/?p=140</guid>
		<description><![CDATA[Because I could not find a screen ruler that did exactly what I wanted (and for fun of playing with Adobe Air) I wrote my own. And of course I felt like sharing it with the community, so here is the download:
bjornsons screen ruler (500KB Air Application)
I built in some options that I felt were [...]]]></description>
			<content:encoded><![CDATA[<p>Because I could not find a screen ruler that did exactly what I wanted (and for fun of playing with Adobe Air) I wrote my own. And of course I felt like sharing it with the community, so here is the download:</p>
<p><a href="http://bjornson.inhb.de/wp-content/uploads/2010/06/BjornsonScreenRuler.air">bjornsons screen ruler (500KB Air Application)</a></p>
<p>I built in some options that I felt were quite useful:</p>
<ul>
<li>option to set the background alpha: so now you can place the ruler on top of your screen or next to the object to be measured, just the way you like</li>
<li>option to set the background color: in combination with the alpha you can always make your ruler appear in contrast to the measured object without distracting too much</li>
<li>resising by dragging the corners: you can easily resize the ruler simply by dragging any corner in the desired direction</li>
<li>hide to dock: hide the ruler to the docking station by choosing &#8220;hide&#8221; from the menu or simply clicking ESC on your keyboard</li>
<li>move/resize single pixels: you can move the ruler with the arrow keys on your keyboard, and resize it with the arrow keys while holding down STRG (or the equivalent for your system)</li>
</ul>
<p>But as we all know, a picture says a lot more than a few words, and a few pictures&#8230; well you get what i mean, so here are some screenshots of the tool:</p>
<p><a href="http://bjornson.inhb.de/wp-content/uploads/2010/06/screen01.png"><img class="alignnone size-full wp-image-143" title="screenRuler01" src="http://bjornson.inhb.de/wp-content/uploads/2010/06/screen01.png" alt="" width="500" height="244" /></a></p>
<p><a href="http://bjornson.inhb.de/wp-content/uploads/2010/06/screen1.png"><img class="alignnone size-full wp-image-142" title="screenruler1" src="http://bjornson.inhb.de/wp-content/uploads/2010/06/screen1.png" alt="" width="500" height="346" /></a></p>
<p><a href="http://bjornson.inhb.de/wp-content/uploads/2010/06/screen2.png"><img class="alignnone size-full wp-image-144" title="screenRuler2" src="http://bjornson.inhb.de/wp-content/uploads/2010/06/screen2.png" alt="" width="500" height="467" /></a></p>
<p><a href="http://bjornson.inhb.de/wp-content/uploads/2010/06/screen3.png"><img class="alignnone size-full wp-image-145" title="screenRuler3" src="http://bjornson.inhb.de/wp-content/uploads/2010/06/screen3.png" alt="" width="500" height="349" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://bjornson.inhb.de/?feed=rss2&amp;p=140</wfw:commentRss>
		</item>
		<item>
		<title>Dear Mr. Jobs (a personal response from a flash developer to Section 3.3.1)</title>
		<link>http://bjornson.inhb.de/?p=129</link>
		<comments>http://bjornson.inhb.de/?p=129#comments</comments>
		<pubDate>Mon, 12 Apr 2010 08:29:55 +0000</pubDate>
		<dc:creator>bjornson</dc:creator>
		
		<category><![CDATA[AS3]]></category>

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

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

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

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

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

		<category><![CDATA[Section 3.3.1]]></category>

		<guid isPermaLink="false">http://bjornson.inhb.de/?p=129</guid>
		<description><![CDATA[This is reply to Apples change of rules for iPhone developers:
To be honest, I never really liked Apple products. I always liked the design, but not the restrictions and the disciples.
When the company I worked for gave all employees an iphone I was very sceptical. But it turned out that I got very used to [...]]]></description>
			<content:encoded><![CDATA[<p>This is reply to Apples change of rules for iPhone developers:</p>
<p>To be honest, I never really liked Apple products. I always liked the design, but not the restrictions and the disciples.</p>
<p>When the company I worked for gave all employees an iphone I was very sceptical. But it turned out that I got very used to this gadget that really does feel very nice. Apart from the fact that it was the end of me listening to music outside, because iTunes tried to take all life out of my PC, I enjoyed playing around with it and surfing the web.</p>
<p>Also the concept of the Appstore seemed amazing to me. An opportunity to sell small programs to a worldwide group of iPhone-users with not too many restrictions sounded better the more I thought about it.</p>
<p>Despite being a flash-developer, I considered looking into Objective-C, but simply up to now did not have the time to do so. Obviously it was great news for me when Adobe announced the iPhone-compiler for the upcoming Flash CS5 last year. Ever since that news I had been looking forward to this release&#8230;</p>
<p>As you well know, three days before the release you changed the rules, making all the work Adobe put into this feature pretty much worthless. To many this felt like a slap in the face of Adobe. Sitting aside, watching someone else work and getting their hopes up, just to crush all hope in the very last stage. This reminds me of a big slow kid in the playground that destroys the sand-castles of the other kids when they&#8217;re almost done.</p>
<p>But this is not only a slap in the face of Adobe, it is a slap in the face of all flash developers. So this is my reply to your actions: F*** you Mr. Jobs! Or in the words of Lee Brimelow: &#8220;Go screw yourself Apple&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://bjornson.inhb.de/?feed=rss2&amp;p=129</wfw:commentRss>
		</item>
		<item>
		<title>Rotate dynamic system fonts with Flash Player 9</title>
		<link>http://bjornson.inhb.de/?p=124</link>
		<comments>http://bjornson.inhb.de/?p=124#comments</comments>
		<pubDate>Thu, 25 Mar 2010 16:08:43 +0000</pubDate>
		<dc:creator>bjornson</dc:creator>
		
		<category><![CDATA[AS3]]></category>

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

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

		<guid isPermaLink="false">http://bjornson.inhb.de/?p=124</guid>
		<description><![CDATA[Using Flash player 10 lets us use the rotationZ paramter of a TextField. But of course some clients require us actionscript developers to support the older player version as well.
An easy way to get around this problem is to draw the TextField into a Bitmap.  I use my own TextUtils class with a static method [...]]]></description>
			<content:encoded><![CDATA[<p>Using Flash player 10 lets us use the <strong>rotationZ</strong> paramter of a TextField. But of course some clients require us actionscript developers to support the older player version as well.</p>
<p>An easy way to get around this problem is to draw the TextField into a Bitmap.  I use my own TextUtils class with a static method like this:</p>
<p>public static function convertTextFieldToBitmap(textField : TextField) : Bitmap</p>
<p>{<br />
&nbsp;&nbsp;&nbsp;&nbsp;var bitmapData : BitmapData = new BitmapData(textField.width, &nbsp;&nbsp;&nbsp;&nbsp;textField.height, true, 0&#215;00000000);<br />
&nbsp;&nbsp;&nbsp;&nbsp;bitmapData.draw(textField);<br />
&nbsp;&nbsp;&nbsp;&nbsp;var bitmap : Bitmap = new Bitmap(bitmapData);<br />
&nbsp;&nbsp;&nbsp;&nbsp;bitmap.smoothing = true;<br />
&nbsp;&nbsp;&nbsp;&nbsp;return bitmap;<br />
}</p>
<p>So rotating and fading the TextField is no problem anymore, also the scaling works much smoother:</p>
<p><code><object type="application/x-shockwave-flash" width="550" height="400">
<param name="movie" value="http://bjornson.inhb.de/wp-content/uploads/2010/03/fontcompare.swf" />
<embed type="application/x-shockwave-flash" width="550" height="400" src="http://bjornson.inhb.de/wp-content/uploads/2010/03/fontcompare.swf" >
</object>
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://bjornson.inhb.de/?feed=rss2&amp;p=124</wfw:commentRss>
		</item>
		<item>
		<title>AS3 + JavaScript = Resizable SWF in HTML</title>
		<link>http://bjornson.inhb.de/?p=75</link>
		<comments>http://bjornson.inhb.de/?p=75#comments</comments>
		<pubDate>Wed, 05 Nov 2008 17:41:18 +0000</pubDate>
		<dc:creator>bjornson</dc:creator>
		
		<category><![CDATA[AS3]]></category>

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

		<category><![CDATA[Free Downloads]]></category>

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

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

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

		<guid isPermaLink="false">http://bjornson.inhb.de/?p=75</guid>
		<description><![CDATA[
I recently needed to resize an swf dynamically within an HTML document and could decided to combine JavaScript with AS3. So here is my solution in three simple steps:

I wrote a simple JavaScript file that allows resizing of elements in an animated fashion.
I embedded the swf in the HTML file in a &#60;div&#62; container with [...]]]></description>
			<content:encoded><![CDATA[<p><script src="http://bjornson.inhb.de/wp-content/uploads/2008/11/sizebyid.js" language="javascript"></script><br />
I recently needed to resize an swf dynamically within an HTML document and could decided to combine JavaScript with AS3. So here is my solution in three simple steps:</p>
<ol>
<li>I wrote a simple JavaScript file that allows resizing of elements in an animated fashion.</li>
<li>I embedded the swf in the HTML file in a &lt;div&gt; container with the style attribute &#8220;overflow:hidden;&#8221; and an id called &#8220;swf_container&#8221;.</li>
<li>To ensure the desired effect I added <em>stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT;</em></li>
<li>Now I added a button in the Flash file that caused <em>navigateToURL(new URLRequest(&#8221;JavaScript:sizeById(&#8217;swf_container&#8217;,500,150,5)&#8221;), &#8220;_self&#8221;);</em> and with this calling the JavaScript function and resizing itself.</li>
</ol>
<p>If you want to try this yourself you can download the JavaScript file <a href="http://bjornson.inhb.de/wp-content/uploads/2008/11/sizebyid.js" target="_blank">sizebyid.js</a> and recreate what I did with it or download the whole <a href="http://bjornson.inhb.de/wp-content/uploads/2008/11/sample.zip">sample.zip</a> including the -.Fla, the -.swf, the -.js and the -.html file.</p>
<p>Of course you can try it out first:</p>
<p>Click the arrow in the top left corner to toggle sizes of the sample.</p>
<div id="swf_container" style="overflow: hidden; top: 0px; left: 0px; height: 150px; width: 500px; z-index: 1;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="1000" height="150" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="id" value="swf" /><param name="align" value="middle" /><param name="allowScriptAccess" value="sameDomain" /><param name="allowFullScreen" value="true" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#ffffff" /><param name="src" value="http://bjornson.inhb.de/wp-content/uploads/2008/11/resize_sample.swf" /><embed id="swf" type="application/x-shockwave-flash" width="1000" height="150" src="http://bjornson.inhb.de/wp-content/uploads/2008/11/resize_sample.swf" bgcolor="#ffffff" wmode="transparent" quality="high" menu="false" allowfullscreen="true" allowscriptaccess="sameDomain" align="middle"></embed></object></div>
<p>You can also use the following html form that calls the same JavaScript function</p>
<form>
<table border="0">
<tbody>
<tr>
<td style="text-align: right;">
<select id="value1"><option>100</option><option>200</option><option selected="selected">500</option><option>1000</option></select>
</td>
<td>px width</td>
</tr>
<tr>
<td style="text-align: right;">
<select id="value2"><option selected="selected">10</option><option>50</option><option>100</option><option>500</option></select>
</td>
<td style="text-align: left;">px height</td>
</tr>
<tr>
<td style="text-align: right;">
<select id="value3"><option>1</option><option selected="selected">10</option><option>30</option><option>100</option></select>
</td>
<td style="text-align: left;">steps (fewer steps=faster)</td>
</tr>
</tbody>
</table>
<input onclick="cal()" type="button" value="submit" /> </form>
<p><script type="text/javascript"><!--
function cal(){
sizeById("swf_container",document.getElementById("value1").value,document.getElementById("value2").value,document.getElementById("value3").value)
}
// --></script></p>
]]></content:encoded>
			<wfw:commentRss>http://bjornson.inhb.de/?feed=rss2&amp;p=75</wfw:commentRss>
		</item>
		<item>
		<title>Mental rotation training</title>
		<link>http://bjornson.inhb.de/?p=55</link>
		<comments>http://bjornson.inhb.de/?p=55#comments</comments>
		<pubDate>Mon, 22 Sep 2008 18:22:06 +0000</pubDate>
		<dc:creator>bjornson</dc:creator>
		
		<category><![CDATA[Flash]]></category>

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

		<category><![CDATA[Mental training]]></category>

		<guid isPermaLink="false">http://bjornson.inhb.de/?p=55</guid>
		<description><![CDATA[With this application you can train or simply test your mental rotation skills.  One of the few skills that supposedly show a real difference between men and women as well as between students of natural sciences and students of the arts. But the ability to improve, especially a poor skill, has been shown.
So try it [...]]]></description>
			<content:encoded><![CDATA[<p>With this application you can train or simply test your mental rotation skills.  One of the few skills that supposedly show a real difference between men and women as well as between students of natural sciences and students of the arts. But the ability to improve, especially a poor skill, has been shown.</p>
<p>So try it out, after 10 exercises you will see your results.</p>
<p><code><object type="application/x-shockwave-flash" width="550" height="400">
<param name="movie" value="http://bjornson.inhb.de/wp-content/uploads/2008/09/braintrain.swf" />
<embed type="application/x-shockwave-flash" width="550" height="400" src="http://bjornson.inhb.de/wp-content/uploads/2008/09/braintrain.swf" >
</object>
</code></p>
<p><code><object type="application/x-shockwave-flash" width="550" height="225">
<param name="movie" value="http://bjornson.inhb.de/wp-content/uploads/2010/03/stat_results.swf" />
<embed type="application/x-shockwave-flash" width="550" height="225" src="http://bjornson.inhb.de/wp-content/uploads/2010/03/stat_results.swf" >
</object>
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://bjornson.inhb.de/?feed=rss2&amp;p=55</wfw:commentRss>
		</item>
		<item>
		<title>Air volume under water - Flash dive simulation</title>
		<link>http://bjornson.inhb.de/?p=41</link>
		<comments>http://bjornson.inhb.de/?p=41#comments</comments>
		<pubDate>Sun, 14 Sep 2008 18:03:12 +0000</pubDate>
		<dc:creator>bjornson</dc:creator>
		
		<category><![CDATA[Diving]]></category>

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

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

		<guid isPermaLink="false">http://bjornson.inhb.de/?p=41</guid>
		<description><![CDATA[This application demonstrates the effect of pressure changes when diving:





]]></description>
			<content:encoded><![CDATA[<p>This application demonstrates the effect of pressure changes when diving:</p>
<p><code><object type="application/x-shockwave-flash" width="500" height="500">
<param name="movie" value="http://bjornson.inhb.de/wp-content/uploads/2008/09/dive01fla.swf" />
<embed type="application/x-shockwave-flash" width="500" height="500" src="http://bjornson.inhb.de/wp-content/uploads/2008/09/dive01fla.swf" >
</object>
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://bjornson.inhb.de/?feed=rss2&amp;p=41</wfw:commentRss>
		</item>
		<item>
		<title>Visualisation of heuristics to solve the Travelling Salesman Problem (TSP) in Flash</title>
		<link>http://bjornson.inhb.de/?p=26</link>
		<comments>http://bjornson.inhb.de/?p=26#comments</comments>
		<pubDate>Fri, 12 Sep 2008 06:41:17 +0000</pubDate>
		<dc:creator>bjornson</dc:creator>
		
		<category><![CDATA[Flash]]></category>

		<category><![CDATA[Heuristic algorithms]]></category>

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

		<category><![CDATA[Travelling Salesman Problem]]></category>

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

		<guid isPermaLink="false">http://bjornson.inhb.de/?p=26</guid>
		<description><![CDATA[This little Flash application implements four heuristics to solve the Travelling Salesman Problem:





How to use this application:
Type in the number of nodes and press build to set them up randomly (now max. 300 nodes).
Then you can test the different heuristics by clicking on the buttons in the top area. To hide a solution you can [...]]]></description>
			<content:encoded><![CDATA[<p>This little Flash application implements four heuristics to solve the Travelling Salesman Problem:</p>
<p><code><object type="application/x-shockwave-flash" width="700" height="800">
<param name="movie" value="http://bjornson.inhb.de/wp-content/uploads/2008/09/sas_TSP_AS3.swf" />
<embed type="application/x-shockwave-flash" width="700" height="800" src="http://bjornson.inhb.de/wp-content/uploads/2008/09/sas_TSP_AS3.swf" >
</object>
</code></p>
<p>How to use this application:</p>
<p>Type in the number of nodes and press build to set them up randomly (now max. 300 nodes).</p>
<p>Then you can test the different heuristics by clicking on the buttons in the top area. To hide a solution you can click the button again.</p>
<p>To set the nodes up differently, press build again.</p>
<p>NEW functionalities: Now you can edit the nodes and add new ones. Snap to grid and let the application show each step of the process.</p>
<p>Please comment if you are interested in some additional functionalities.</p>
<p>Download the AS3 Class now <a href="http://bjornson.inhb.de/wp-content/uploads/2008/10/bjornson.zip">here</a>. It is licensed under the <a href="http://creativecommons.org/licenses/by/3.0/" target="_blank">Creative Commons Attribution 3.0 License</a>. This allows you to use this class in personal and commercial products but you need to leave my name and link in the class, which is actually not seen by anyone after you publish the file. It would be nice to receive an html link, but it is not required.</p>
<p>To use this class do the following:</p>
<p>Unzip the class into the your class root folder (usually you can use the folder your .FLA file resides in). In your FLA import the class, create an object of the TSP class with an adjacency matrix. Call one of the four heuristics to receive a route array. Add the withHistory flag as true to receive the unfinished routes as well.</p>
<ol>
<li>import bjornson.Algos.TSP;</li>
<li>var myTSP:TSP = new TSP(matrix);</li>
<li>var nextNeighbour:Array = myTSP.returnNextNeighbour();</li>
<li>var nearestInsertion:Array = myTSP.returnNearestInsertion();</li>
<li>var farthestInsertion:Array = myTSP.returnFarthestInsertion();</li>
<li>var cheapestInsertion:Array = myTSP.returnCheapestInsertion();</li>
</ol>
<p>Now you can use the found path in any way you like. For example simply trace one:</p>
<p>trace(&#8221;Route found by cheapest insertion heuristic: &#8220;+cheapestInsertion.toString());</p>
<p>An adjacency matrix is simply a two-dimensional array containing the distances from each node to every other node. For example a small matrix containing only three nodes can look like this:</p>
<p>var matrix:Array = new Array( new Array( 0 , 1 , 2 ), new Array( 1,  0 , 3 ), new Array( 2 , 3 , 0 ));</p>
<p>At the moment only symmetric matrices can be used.</p>
]]></content:encoded>
			<wfw:commentRss>http://bjornson.inhb.de/?feed=rss2&amp;p=26</wfw:commentRss>
		</item>
		<item>
		<title>A simple Magnifying Class for AS3</title>
		<link>http://bjornson.inhb.de/?p=9</link>
		<comments>http://bjornson.inhb.de/?p=9#comments</comments>
		<pubDate>Thu, 11 Sep 2008 16:05:38 +0000</pubDate>
		<dc:creator>bjornson</dc:creator>
		
		<category><![CDATA[AS3]]></category>

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

		<category><![CDATA[Free Downloads]]></category>

		<guid isPermaLink="false">http://bjornson.inhb.de/?p=9</guid>
		<description><![CDATA[It has been a while that I first programmed a magnifier glass in Actionscrtip 2. But since several friends asked over time how to do it I rewrote it in AS 3.
You can download the entire class for free here: magnify.as
There are no license attachments whatsoever. So you can modify it, reuse it, sell it, [...]]]></description>
			<content:encoded><![CDATA[<p>It has been a while that I first programmed a magnifier glass in Actionscrtip 2. But since several friends asked over time how to do it I rewrote it in AS 3.</p>
<p>You can download the entire class for free here: <a href="http://bjornson.inhb.de/wp-content/uploads/2008/09/bjornson.zip">magnify.as</a></p>
<p>There are no license attachments whatsoever. So you can modify it, reuse it, sell it, whatever you like. But of course I would like to receive some feedback. You can also place links in the comments here to your site if you used this class.</p>
<p>The main important part is the following calculation:</p>
<p>_mc_mask.x=mouseX;<br />
_mc_mask.y=mouseY;<br />
_loaderMc.x=(-_loaderMc2.mouseX)+_loaderMc2.mouseX/_scaleRatio;<br />
_loaderMc.y=(-_loaderMc2.mouseY)+_loaderMc2.mouseY/_scaleRatio;</p>
<p>First the image is loaded twice and then it positions the image that is only partially visible in the right spot over the smaller image so that it seems to be the same image.</p>
<p><code><object type="application/x-shockwave-flash" width="400" height="300">
<param name="movie" value="http://bjornson.inhb.de/wp-content/uploads/2008/09/magnify.swf" />
<embed type="application/x-shockwave-flash" width="400" height="300" src="http://bjornson.inhb.de/wp-content/uploads/2008/09/magnify.swf" >
</object>
</code></p>
<p>To include the class in your own project all you need to is:</p>
<ol>
<li>unzip bjornson.zip into the same directory your FLA-file is in</li>
<li>write code similar to this in your actions dialogue of your FLA (this is the very minimum you need):</li>
<li><em>import bjornson.Magnify.Magnify;</em><br />
<em> var m:Magnify = new Magnify(&#8221;a.jpg&#8221;); </em>//this should be a relative path to a .jpg or .png<br />
<em> addChild(m);</em></li>
<li>Publish the file, done!</li>
</ol>
<div>You can also specify more to customise the magnifier:</div>
<div>the variables are</div>
<div>
<ol>
<li>scr:String - this is the relative path to your image</li>
<li>w:Number - this is the maximum width of the preview image</li>
<li>h:Number - this is the maximum height of the preview image (it will be adjusted automatically to fit while keeping the correct aspect ratio)</li>
<li>s:Boolean - this is to switch from a rectangular magnifier to a round magnifier</li>
<li>r:Number - this is the radius of a round magnifier or the height of a rectangular magnifier</li>
<li>rw:Number - this is the width of a rectangular magnifier</li>
<li>m:Boolean - this defines if the Mouse-Pointer is visible when it moves over the image or not</li>
</ol>
<div>So you could use it with the maximum amount of customisation like this:</div>
<div><em><span style="white-space:pre"> </span>var m:Magnify = new Magnify(&#8221;a.jpg&#8221;,600,400,false,50,50,false);</em></div>
<div>and it would create a preview picture from a.jpg with the maximum dimensions of 600&#215;400 with a rectangular magnifying glass of 50&#215;50 pixels and the mouse would not be visible when it moves over the image.</div>
</div>
<div>before adding it to the stage or any MovieClip on the stage you can position it more like this:</div>
<div><em><span style="white-space:pre"> </span>m.x=50;</em></div>
<div><em><span style="white-space:pre"> </span>m.y=100;</em></div>
<div>//and then add it:</div>
<div><em><span style="white-space:pre"> </span>addChild(m);</em></div>
<div>This would add the magnifier to the stage at x:y 50:100.</div>
]]></content:encoded>
			<wfw:commentRss>http://bjornson.inhb.de/?feed=rss2&amp;p=9</wfw:commentRss>
		</item>
		<item>
		<title>Hi</title>
		<link>http://bjornson.inhb.de/?p=1</link>
		<comments>http://bjornson.inhb.de/?p=1#comments</comments>
		<pubDate>Wed, 27 Aug 2008 18:30:31 +0000</pubDate>
		<dc:creator>bjornson</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://bjornson.inhb.de/?p=1</guid>
		<description><![CDATA[This is my new blog. You can still check out my galleries on the HfK Bremen server.
]]></description>
			<content:encoded><![CDATA[<p>This is my new blog. You can still check out my galleries on the HfK Bremen server.</p>
]]></content:encoded>
			<wfw:commentRss>http://bjornson.inhb.de/?feed=rss2&amp;p=1</wfw:commentRss>
		</item>
	</channel>
</rss>
