<?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>Confessions of a Flash Addict &#187; Featured</title>
	<atom:link href="http://www.funky-monkey.nl/blog/category/featured/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.funky-monkey.nl/blog</link>
	<description>&#34;forgive me father for I have flashed&#34;</description>
	<lastBuildDate>Sat, 14 Jan 2012 15:47:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>New Projects! iDEAL and ASCoords</title>
		<link>http://www.funky-monkey.nl/blog/2007/12/10/new-projects-ideal-and-ascoords/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=new-projects-ideal-and-ascoords</link>
		<comments>http://www.funky-monkey.nl/blog/2007/12/10/new-projects-ideal-and-ascoords/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 08:40:00 +0000</pubDate>
		<dc:creator>Sidney de Koning</dc:creator>
				<category><![CDATA[Actionscript 2]]></category>
		<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.funky-monkey.nl/blog/2007/12/10/new-projects-ideal-and-ascoords/</guid>
		<description><![CDATA[I&#8217;m currently working on several new projects is want to donate to the opensource community; The first one is an Actionscript 2.0 API for iDEAL (iDEAL is an e-banking application for commerce sites). The second is ASCoords; A rewrite from Jonathan Stott&#8217;s JSCoord Javascript Class. JScoord is a JavaScript script that provides functions for handling [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently working on several new projects is want to donate to the opensource community;<br />
The first one is an Actionscript 2.0 API for <a href="http://www.mollie.nl/geavanceerd/ideal/" target="_blank" title="iDEAL API">iDEAL</a> (iDEAL is an e-banking application for commerce sites).<br />
The second is ASCoords; A rewrite from <a href="http://www.jstott.me.uk/jscoord/" title="JSCoord" target="_blank">Jonathan Stott&#8217;s JSCoord Javascript Class</a>. JScoord is a JavaScript script that provides functions for handling various co-ordinate systems and converting between them. Currently, OSGB (Ordnance Survey of Great Britain) grid references, UTM (Universal Transverse Mercator) references and latitude/longitude are supported. A function is also provided to find the surface distance between two points of latitude and longitude. Good to use for mapping apis like <a href="http://developer.yahoo.com/maps/flash/asGettingStarted.html" title="Yahoo Maps API" target="_blank">Yahoo Maps API</a></p>
<p>So good stuff coming your way as soon as possible!</p>
<p class="buymebeer"><form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post"><input type="hidden" name="cmd" value="_xclick" /><input type="hidden" name="business" value="sidney@funky-monkey.nl" /><input type="hidden" name="return" value="" /><input type="hidden" name="item_name" value="Have my posts helped (or at least entertained) you in some way? Please consider to buying me a coffee. for New Projects! iDEAL and ASCoords" /><input type="hidden" name="currency_code" value="EUR" /><input type="hidden" name="amount" value="5" /><input type="image" src="http://www.funky-monkey.nl/blog/wp-content/plugins/buy-me-beer/icon_cafe.gif" align="left" alt="Coffee!" title="Coffee!" hspace="3" /></form><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=sidney@funky-monkey.nl&amp;currency_code=EUR&amp;amount=5&amp;return=&amp;item_name=Have+my+posts+helped+(or+at+least+entertained)+you+in+some+way?+Please+consider+to+buying+me+a+coffee.+for+New+Projects!+iDEAL+and+ASCoords" target="paypal">Please consider to buying me a coffee.</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.funky-monkey.nl/blog/2007/12/10/new-projects-ideal-and-ascoords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>forceSmoothing property</title>
		<link>http://www.funky-monkey.nl/blog/2007/10/09/forcesmoothing-property/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=forcesmoothing-property</link>
		<comments>http://www.funky-monkey.nl/blog/2007/10/09/forcesmoothing-property/#comments</comments>
		<pubDate>Tue, 09 Oct 2007 15:28:00 +0000</pubDate>
		<dc:creator>Sidney de Koning</dc:creator>
				<category><![CDATA[Actionscript 2]]></category>
		<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.funky-monkey.nl/blog/2007/10/09/forcesmoothing-property/</guid>
		<description><![CDATA[To smooth dynamically loaded bitmaps: [cc lang="actionscript"] var mcl:MovieClipLoader = new MovieClipLoader(); var mclObj:Object = new Object(); mcl.addListener(mclObj); mcl.loadClip(&#8220;path/to/image&#8221;, clipToLoadImageIn); mclObj.onLoadInit = onLoadInit; function onLoadInit(theLoadedImage:MovieClip) { theLoadedImage.forceSmoothing = true; } [/cc] Please consider to buying me a coffee.]]></description>
			<content:encoded><![CDATA[<p>To smooth dynamically loaded bitmaps:<br />
[cc lang="actionscript"]<br />
var mcl:MovieClipLoader = new MovieClipLoader();<br />
var mclObj:Object = new Object();</p>
<p>mcl.addListener(mclObj);<br />
mcl.loadClip(&#8220;path/to/image&#8221;, clipToLoadImageIn);</p>
<p>mclObj.onLoadInit = onLoadInit;</p>
<p>function onLoadInit(theLoadedImage:MovieClip)<br />
{<br />
       theLoadedImage.forceSmoothing = true;<br />
}<br />
[/cc]</p>
<p class="buymebeer"><form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post"><input type="hidden" name="cmd" value="_xclick" /><input type="hidden" name="business" value="sidney@funky-monkey.nl" /><input type="hidden" name="return" value="" /><input type="hidden" name="item_name" value="Have my posts helped (or at least entertained) you in some way? Please consider to buying me a coffee. for forceSmoothing property" /><input type="hidden" name="currency_code" value="EUR" /><input type="hidden" name="amount" value="5" /><input type="image" src="http://www.funky-monkey.nl/blog/wp-content/plugins/buy-me-beer/icon_cafe.gif" align="left" alt="Coffee!" title="Coffee!" hspace="3" /></form><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=sidney@funky-monkey.nl&amp;currency_code=EUR&amp;amount=5&amp;return=&amp;item_name=Have+my+posts+helped+(or+at+least+entertained)+you+in+some+way?+Please+consider+to+buying+me+a+coffee.+for+forceSmoothing+property" target="paypal">Please consider to buying me a coffee.</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.funky-monkey.nl/blog/2007/10/09/forcesmoothing-property/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FullScreen mode in AS2</title>
		<link>http://www.funky-monkey.nl/blog/2007/09/10/fullscreen-mode-in-as2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fullscreen-mode-in-as2</link>
		<comments>http://www.funky-monkey.nl/blog/2007/09/10/fullscreen-mode-in-as2/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 14:58:00 +0000</pubDate>
		<dc:creator>Sidney de Koning</dc:creator>
				<category><![CDATA[Actionscript 2]]></category>
		<category><![CDATA[Featured]]></category>

		<guid isPermaLink="false">http://www.funky-monkey.nl/blog/2007/09/10/fullscreen-mode-in-as2/</guid>
		<description><![CDATA[UPDATE: Source files are added and code is now in-post. Here is also a follow up on this article for AS3 and AIR A client asked if it was possible to go FullScreen in AS2 and i said: &#8220;No, only from AS3, FlashPlayer 9&#8243;. However i recently found out that this is possible to do [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;">UPDATE: Source files are added and code is now in-post. <a href="http://www.funky-monkey.nl/blog/2009/01/15/fullscreen-mode-in-air/">Here is also a follow up on this article for AS3 and AIR</a><br />
</span></p>
<p>A client asked if it was possible to go FullScreen in AS2 and i said: &#8220;No, only from AS3, FlashPlayer 9&#8243;.</p>
<p>However i recently found out that this is possible to do it in AS2 , so below is a little code that will do this.</p>
<p>You do have to keep a couple of things in mind and put this into practice. Below is a little list:</p>
<ul>
<li>To enable full-screen mode, add the <strong>allowFullScreen</strong> parameter in the object and embed tags in the HTML page that contains the reference to the SWF file, with <strong>allowFullScreen</strong> set to &#8220;<strong>true</strong>&#8220;, as shown in the following example:<strong>&lt;param name=&#8221;allowFullScreen&#8221; value=&#8221;true&#8221; /&gt;</strong><br />
&#8230;<br />
<strong>&lt;embed xsrc=&#8221;example.swf&#8221; allowFullScreen=&#8221;true&#8221; &#8230; &gt;</strong></li>
<li><strong><span style="color: #ff0000;">The fullScreen setting is not supported for &#8220;windowless&#8221; (transparent windowless or opaque windowless) playback. If you have wmode set to opaque or transparent in the HTML page hosting the SWF file, the user will not be able to switch Flash Player to full-screen mode.</span></strong></li>
<li>Full-screen mode is initiated in response to a mouse click or key press by the user; <strong>the movie cannot change Stage.displayState without user input.</strong> While Flash Player is in full-screen mode, all keyboard input is disabled (except keyboard shortcuts that take the user out of full-screen mode). A Flash Player dialog box appears over the movie when users enter full-screen mode to inform the users they are in full-screen mode and that they can press the Escape key to end full-screen mode.</li>
</ul>
<p><strong> Attached is the code and you can check the <a href="http://www.funky-monkey.nl/blog/upload/File/FullScreenTest.html" target="_blank">example HTML</a> here.</strong></p>
<p>And the sourcefiles are for <a href="http://www.funky-monkey.nl/blog/upload/FullScreenTest.zip">download here</a></p>
<p>Code used in this example:</p>
<pre class="brush: javascript;">
var myButton:mx.controls.Button;

Stage.scaleMode = "noScale";
myButton_btn.label = "Toggle Fullscreen";
myButton_btn.setSize(150,22);
var buttonListener:Object = new Object();

buttonListener.click = function(evt:Object) {
    Stage.displayState = Stage.displayState == "normal" ? "fullScreen" : "normal";
}

myButton_btn.addEventListener("click", buttonListener);
</pre>
<p class="buymebeer"><form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post"><input type="hidden" name="cmd" value="_xclick" /><input type="hidden" name="business" value="sidney@funky-monkey.nl" /><input type="hidden" name="return" value="" /><input type="hidden" name="item_name" value="Have my posts helped (or at least entertained) you in some way? Please consider to buying me a coffee. for FullScreen mode in AS2" /><input type="hidden" name="currency_code" value="EUR" /><input type="hidden" name="amount" value="5" /><input type="image" src="http://www.funky-monkey.nl/blog/wp-content/plugins/buy-me-beer/icon_cafe.gif" align="left" alt="Coffee!" title="Coffee!" hspace="3" /></form><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=sidney@funky-monkey.nl&amp;currency_code=EUR&amp;amount=5&amp;return=&amp;item_name=Have+my+posts+helped+(or+at+least+entertained)+you+in+some+way?+Please+consider+to+buying+me+a+coffee.+for+FullScreen+mode+in+AS2" target="paypal">Please consider to buying me a coffee.</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.funky-monkey.nl/blog/2007/09/10/fullscreen-mode-in-as2/feed/</wfw:commentRss>
		<slash:comments>41</slash:comments>
		</item>
	</channel>
</rss>

