<?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 an Flash Addict &#187; AIR</title>
	<atom:link href="http://www.funky-monkey.nl/blog/category/air/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>Mon, 06 Sep 2010 12:44:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Playing Chromeless YouTube video&#8217;s in AS3</title>
		<link>http://www.funky-monkey.nl/blog/2010/06/03/playing-chromeless-youtube-videos-in-as3/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=playing-chromeless-youtube-videos-in-as3</link>
		<comments>http://www.funky-monkey.nl/blog/2010/06/03/playing-chromeless-youtube-videos-in-as3/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 15:58:12 +0000</pubDate>
		<dc:creator>Sidney de Koning</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.funky-monkey.nl/blog/?p=405</guid>
		<description><![CDATA[Today me and a colleague spend a considerable amount of time looking for a way to show a chrome less YouTube Video in an AS3 project. We finally found a solution after searching the net for 2 hours Below is the code and zip file with the entire project made in FDT 4. (So you [...]]]></description>
			<content:encoded><![CDATA[<p style="clear: both;">Today me and a colleague spend a considerable amount of time looking for a way to show a chrome less YouTube Video in an AS3 project. We finally found a solution after searching the net for 2 hours <img src='http://www.funky-monkey.nl/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="clear: both;">Below is the code and zip file with the entire project made in FDT 4. (So you can import it directly).</p>
<p style="clear: both;">First you instantiate an new YouTubeLoader instance. Once the load is handled you pass the url bit of the movie on youtube.</p>
<pre class="brush: javascript;">_youTubeLoader = new YouTubeLoader();
_youTubeLoader.addEventListener(YouTubeLoaderEvent.LOADED, handleVideoLoaded, false, 0, true);
_youTubeLoader.addEventListener(YouTubeLoaderEvent.STATE_CHANGE, handleVideoStateChange, false, 0, true);
_youTubeLoader.create();

function handleVideoStateChange(event : YouTubeLoaderEvent) : void {
    switch(_youTubeLoader.getPlayerState( )) {
        case "0":
            _youTubeLoader.seekTo( 0 );
            break;
        }
}

function handleVideoLoaded(event : YouTubeLoaderEvent) : void {
    // This is the YouTube movie ID
    var id : String = "WbJX4RzfJ8E";

    trace( _youTubeLoader.getPlayerState( ) + "state", toString( ) );
    _youTubeLoader.loadVideoById( id );
    _youTubeLoader.setSize( 511, 383 );
    addChild( _youTubeLoader );
    _youTubeLoader.play();
}
</pre>
<p>The only thing left now is ta make sure the ExternalInterface communication with JavaScript works as it should. So you add this to your embed tag</p>
<pre class="brush: javascript;">    //init the youTubeLoader javascript methods
    SWFID = "application";
</pre>
<p>Then you complete embed tag becomes the following;</p>
<pre class="brush: javascript;"><script src="static/js/swfobject.js" type="text/javascript"><!--mce:0--></script>
<script src="static/js/youTubeLoader.js" type="text/javascript"><!--mce:1--></script>
<script type="text/javascript"><!--mce:2--></script>
</pre>
<p><a href="http://www.funky-monkey.nl/blog/wp-content/uploads/2010/05/youtube_video_player.zip">Here is the zip with the complete project.</a></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.funky-monkey.nl/blog/2010/06/03/playing-chromeless-youtube-videos-in-as3/&amp;n=Playing+Chromeless+YouTube+video%27s+in+AS3&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.funky-monkey.nl/blog/2010/06/03/playing-chromeless-youtube-videos-in-as3/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.funky-monkey.nl/blog/2010/06/03/playing-chromeless-youtube-videos-in-as3/&amp;title=Playing+Chromeless+YouTube+video%27s+in+AS3" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.funky-monkey.nl/blog/2010/06/03/playing-chromeless-youtube-videos-in-as3/&amp;title=Playing+Chromeless+YouTube+video%27s+in+AS3" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.funky-monkey.nl/blog/2010/06/03/playing-chromeless-youtube-videos-in-as3/&amp;t=Playing+Chromeless+YouTube+video%27s+in+AS3" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Playing+Chromeless+YouTube+video%27s+in+AS3&amp;body=Link: http://www.funky-monkey.nl/blog/2010/06/03/playing-chromeless-youtube-videos-in-as3/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Today%20me%20and%20a%20colleague%20spend%20a%20considerable%20amount%20of%20time%20looking%20for%20a%20way%20to%20show%20a%20chrome%20less%20YouTube%20Video%20in%20an%20AS3%20project.%20We%20finally%20found%20a%20solution%20after%20searching%20the%20net%20for%202%20hours%20%3A%29%0D%0ABelow%20is%20the%20code%20and%20zip%20file%20with%20the%20entire%20project%20made%20in%20FDT%204.%20%28So%20you%20can%20import%20it%20direct" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.funky-monkey.nl/blog/2010/06/03/playing-chromeless-youtube-videos-in-as3/&amp;title=Playing+Chromeless+YouTube+video%27s+in+AS3" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.funky-monkey.nl/blog/2010/06/03/playing-chromeless-youtube-videos-in-as3/&amp;title=Playing+Chromeless+YouTube+video%27s+in+AS3&amp;summary=Today%20me%20and%20a%20colleague%20spend%20a%20considerable%20amount%20of%20time%20looking%20for%20a%20way%20to%20show%20a%20chrome%20less%20YouTube%20Video%20in%20an%20AS3%20project.%20We%20finally%20found%20a%20solution%20after%20searching%20the%20net%20for%202%20hours%20%3A%29%0D%0ABelow%20is%20the%20code%20and%20zip%20file%20with%20the%20entire%20project%20made%20in%20FDT%204.%20%28So%20you%20can%20import%20it%20direct&amp;source=Confessions of an Flash Addict" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Playing+Chromeless+YouTube+video%27s+in+AS3+-+http://b2l.me/zusbr&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.funky-monkey.nl/blog/2010/06/03/playing-chromeless-youtube-videos-in-as3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR 2.0 (Athena) is here! NATIVE USB SUPPORT!</title>
		<link>http://www.funky-monkey.nl/blog/2009/07/13/air-2-0-athenais-here-native-usb-support/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=air-2-0-athenais-here-native-usb-support</link>
		<comments>http://www.funky-monkey.nl/blog/2009/07/13/air-2-0-athenais-here-native-usb-support/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 22:13:16 +0000</pubDate>
		<dc:creator>Sidney de Koning</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Actionscript 3]]></category>

		<guid isPermaLink="false">http://www.funky-monkey.nl/blog/?p=124</guid>
		<description><![CDATA[Well almost But i can give you a sneak peak. It does include some really nice new features like detecting changes in Mass storage devices. There is a new Class called StorageVolumeChangeEvent which dispatches two different events (STORAGE_VOLUME_MOUNT and STORAGE_VOLUME_UNMOUNT) when an USB device is mounted/unmounted (Think camera, external HDD and USB stick). I cannot [...]]]></description>
			<content:encoded><![CDATA[<p>Well almost <img src='http://www.funky-monkey.nl/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But i can give you a sneak peak.</p>
<p>It does include some really nice new features like detecting changes in Mass storage devices. There is a new Class called <strong>StorageVolumeChangeEvent </strong>which dispatches two different events (<strong>STORAGE_VOLUME_MOUNT</strong> and <strong>STORAGE_VOLUME_UNMOUNT</strong>) when an USB device is mounted/unmounted (Think camera, external HDD and USB stick). I cannot tell you the specifics about it yet, but I&#8217;ve done some tests and it works like a charm!</p>
<p>There will also be some other long awaited extras that will be very VERY funky!<br />
So check out <a href="http://labs.adobe.com/technologies/flash/videos/flashcamp/gourdol/" target="_blank">this video</a> to see all of it!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.funky-monkey.nl/blog/2009/07/13/air-2-0-athenais-here-native-usb-support/&amp;n=AIR+2.0+%28Athena%29+is+here%21+NATIVE+USB+SUPPORT%21&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.funky-monkey.nl/blog/2009/07/13/air-2-0-athenais-here-native-usb-support/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.funky-monkey.nl/blog/2009/07/13/air-2-0-athenais-here-native-usb-support/&amp;title=AIR+2.0+%28Athena%29+is+here%21+NATIVE+USB+SUPPORT%21" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.funky-monkey.nl/blog/2009/07/13/air-2-0-athenais-here-native-usb-support/&amp;title=AIR+2.0+%28Athena%29+is+here%21+NATIVE+USB+SUPPORT%21" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.funky-monkey.nl/blog/2009/07/13/air-2-0-athenais-here-native-usb-support/&amp;t=AIR+2.0+%28Athena%29+is+here%21+NATIVE+USB+SUPPORT%21" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=AIR+2.0+%28Athena%29+is+here%21+NATIVE+USB+SUPPORT%21&amp;body=Link: http://www.funky-monkey.nl/blog/2009/07/13/air-2-0-athenais-here-native-usb-support/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Well%20almost%20%3A%29%0D%0A%0D%0ABut%20i%20can%20give%20you%20a%20sneak%20peak.%0D%0A%0D%0AIt%20does%20include%20some%20really%20nice%20new%20features%20like%20detecting%20changes%20in%20Mass%20storage%20devices.%20There%20is%20a%20new%20Class%20called%20StorageVolumeChangeEvent%20which%20dispatches%20two%20different%20events%20%28STORAGE_VOLUME_MOUNT%20and%20STORAGE_VOLUME_UNMOUNT%29%20when%20an%20USB" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.funky-monkey.nl/blog/2009/07/13/air-2-0-athenais-here-native-usb-support/&amp;title=AIR+2.0+%28Athena%29+is+here%21+NATIVE+USB+SUPPORT%21" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.funky-monkey.nl/blog/2009/07/13/air-2-0-athenais-here-native-usb-support/&amp;title=AIR+2.0+%28Athena%29+is+here%21+NATIVE+USB+SUPPORT%21&amp;summary=Well%20almost%20%3A%29%0D%0A%0D%0ABut%20i%20can%20give%20you%20a%20sneak%20peak.%0D%0A%0D%0AIt%20does%20include%20some%20really%20nice%20new%20features%20like%20detecting%20changes%20in%20Mass%20storage%20devices.%20There%20is%20a%20new%20Class%20called%20StorageVolumeChangeEvent%20which%20dispatches%20two%20different%20events%20%28STORAGE_VOLUME_MOUNT%20and%20STORAGE_VOLUME_UNMOUNT%29%20when%20an%20USB&amp;source=Confessions of an Flash Addict" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=AIR+2.0+%28Athena%29+is+here%21+NATIVE+USB+SUPPORT%21+-+http://b2l.me/xbwvk&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.funky-monkey.nl/blog/2009/07/13/air-2-0-athenais-here-native-usb-support/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FullScreen mode in AS3 and AIR</title>
		<link>http://www.funky-monkey.nl/blog/2009/01/15/fullscreen-mode-in-air/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=fullscreen-mode-in-air</link>
		<comments>http://www.funky-monkey.nl/blog/2009/01/15/fullscreen-mode-in-air/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 13:00:55 +0000</pubDate>
		<dc:creator>Sidney de Koning</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.funky-monkey.nl/blog/?p=76</guid>
		<description><![CDATA[Since the overwhelming response I got when I wrote about full screen mode in AS2, i decided to write a follow up about it in AS3 and AIR. The StageDisplayState Class in Actionscript 3 has two states, NORMAL and FULL_SCREEN the AIR API add one more; FULL_SCREEN_INTERACTIVE. (WARNING! This is only available in AIR.) So [...]]]></description>
			<content:encoded><![CDATA[<p>Since the overwhelming response I got<a href="http://www.funky-monkey.nl/blog/2007/09/10/fullscreen-mode-in-as2/"> when I wrote about full screen mode in AS2</a>, i decided to write a follow up about it in AS3 and AIR.</p>
<p>The StageDisplayState Class in Actionscript 3 has two states, NORMAL and FULL_SCREEN the AIR API add one more; FULL_SCREEN_INTERACTIVE. (<span style="color: #ff0000;">WARNING! This is only available in AIR</span>.)</p>
<p>So that means that we now have two modes for full screen, StageDisplayState.FULL_SCREEN and StageDisplayState.FULL_SCREEN_INTERACTIVE. The first just resizes your application in full screen however you cannot interact with it. All the controls like input fields and buttons are disabled. The last one, StageDisplayState.FULL_SCREEN_INTERACTIVE, does allow the user to interact with your application. This can be very convenient when developing for kiosks, fullscreen video players, image viewers etc. Remember that control bar youtube has when playing video in full screen? Now you can have that too! So on with the code!</p>
<p>What works best for me is that i always set the scaleMode to no_scale, so i know that all my content will be shown at 100% and is not stretched. I set it up like so:</p>
<pre class="brush: javascript;">stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
</pre>
<p>When we click the fullscreen button we need to check in what state we are in and change that to the full screen mode. and we need to be albe to respond to the resize event, so when we switch states our content is sized accordingly. (Also make sure that your content is positioned relatively and not with hard coded values)</p>
<pre class="brush: javascript;">stage.nativeWindow.addEventListener( Event.RESIZE, onResizeApp );
fullscreenButton.addEventListener( MouseEvent.CLICK, onFullscreenClick );

function onResizeApp( event:Event ):void {
// do repositioning of elements here
}

function onFullscreenClick( event:MouseEvent ):void {
if( stage.displayState == StageDisplayState.NORMAL ) {
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
fullscreenButton.label = "Exit Fullscreen";
} else {
stage.displayState = StageDisplayState.NORMAL;
fullscreenButton.label = "Go Fullscreen";
}
}
</pre>
<p>So there you have it, an interactive full screen application. <a href="http://www.funky-monkey.nl/blog/upload/FullScreenInAIR.rar">Source Files</a> are included for you to play with. Have fun <img src='http://www.funky-monkey.nl/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.funky-monkey.nl/blog/2009/01/15/fullscreen-mode-in-air/&amp;n=FullScreen+mode+in+AS3+and+AIR&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.funky-monkey.nl/blog/2009/01/15/fullscreen-mode-in-air/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.funky-monkey.nl/blog/2009/01/15/fullscreen-mode-in-air/&amp;title=FullScreen+mode+in+AS3+and+AIR" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.funky-monkey.nl/blog/2009/01/15/fullscreen-mode-in-air/&amp;title=FullScreen+mode+in+AS3+and+AIR" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.funky-monkey.nl/blog/2009/01/15/fullscreen-mode-in-air/&amp;t=FullScreen+mode+in+AS3+and+AIR" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=FullScreen+mode+in+AS3+and+AIR&amp;body=Link: http://www.funky-monkey.nl/blog/2009/01/15/fullscreen-mode-in-air/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Since%20the%20overwhelming%20response%20I%20got%20when%20I%20wrote%20about%20full%20screen%20mode%20in%20AS2%2C%20i%20decided%20to%20write%20a%20follow%20up%20about%20it%20in%20AS3%20and%20AIR.%0D%0A%0D%0AThe%20StageDisplayState%20Class%20in%20Actionscript%203%20has%20two%20states%2C%20NORMAL%20and%20FULL_SCREEN%20the%20AIR%20API%20add%20one%20more%3B%20FULL_SCREEN_INTERACTIVE.%20%28WARNING%21%20This%20is%20only%20" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.funky-monkey.nl/blog/2009/01/15/fullscreen-mode-in-air/&amp;title=FullScreen+mode+in+AS3+and+AIR" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.funky-monkey.nl/blog/2009/01/15/fullscreen-mode-in-air/&amp;title=FullScreen+mode+in+AS3+and+AIR&amp;summary=Since%20the%20overwhelming%20response%20I%20got%20when%20I%20wrote%20about%20full%20screen%20mode%20in%20AS2%2C%20i%20decided%20to%20write%20a%20follow%20up%20about%20it%20in%20AS3%20and%20AIR.%0D%0A%0D%0AThe%20StageDisplayState%20Class%20in%20Actionscript%203%20has%20two%20states%2C%20NORMAL%20and%20FULL_SCREEN%20the%20AIR%20API%20add%20one%20more%3B%20FULL_SCREEN_INTERACTIVE.%20%28WARNING%21%20This%20is%20only%20&amp;source=Confessions of an Flash Addict" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=FullScreen+mode+in+AS3+and+AIR+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Too many connections&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.funky-monkey.nl/blog/2009/01/15/fullscreen-mode-in-air/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Synchronous vs. Asynchonous explained</title>
		<link>http://www.funky-monkey.nl/blog/2009/01/13/synchronous-vs-asynchonous/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=synchronous-vs-asynchonous</link>
		<comments>http://www.funky-monkey.nl/blog/2009/01/13/synchronous-vs-asynchonous/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 13:00:53 +0000</pubDate>
		<dc:creator>Sidney de Koning</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Actionscript 3]]></category>

		<guid isPermaLink="false">http://www.funky-monkey.nl/blog/?p=107</guid>
		<description><![CDATA[A friend of mine asked me the difference between Synchronous and Asynchronous file operations in AIR. So here I will try to explain for all that are interested. A FileStream object is used to read and write files. Files can be opened synchronously by calling the open() method or asynchronously by calling the openAsync() method. [...]]]></description>
			<content:encoded><![CDATA[<p>A <a href="http://www.1hoog.nl/">friend of mine</a> asked me the difference between Synchronous and Asynchronous file operations in AIR. So here I will try to explain for all that are interested.</p>
<p>A FileStream object is used to read and write files. Files can be opened synchronously by calling the   <strong>open()</strong> method or asynchronously by calling the <strong>openAsync()</strong> method.</p>
<p><strong>Synchronous File operations:</strong><br />
The benefit of using sync file operations is that it uses far less code to complete a file load and should actually only be used on small files. The rule of thumb I use is &lt; 1MB.</p>
<pre class="brush: javascript;">
import flash.filesystem.*;

var file:File = File.documentsDirectory;
file = file.resolvePath("someFile.txt");
var fs:FileStream = new FileStream();
fs.open(file, FileMode.READ);
var data:String = fs.readUTFBytes(fs.bytesAvailable, File.systemCharset);
fs.close();
</pre>
<p>When a file is loaded in in an sync matter the rest of the application is halted/ it freezes until the complete file is loaded in. This is one of the reasons why you should only use this on small files.</p>
<p><strong>Aynchronous File operations:</strong></p>
<p>The advantage of opening files asynchronously is that other code still runs while in the background while the read and write operations are done. When opened asynchronously, progress events are dispatched as operations proceed.</p>
<p>It uses more code to handle a loading of an file:</p>
<pre class="brush: javascript;">
import flash.filesystem.*;

var file:File = File.documentsDirectory;
file = file.resolvePath("someFile.txt");

var fs:FileStream = new FileStream();
fs.addEventListener(Event.COMPLETE, onComplete);
fs.addEventListener(ProgressEvent.PROGRESS, onFileProgress);
fs.addEventListener(ProgressEvent.OUTPUT_PROGRESS, onFileOutputProgress);
fs.open(file, FileMode.READ);

function onComplete( e:Event ):void {
	var data:String = fs.readUTFBytes(fs.bytesAvailable, File.systemCharset);
	fs.close();
}
function onFileProgress( e:ProgressEvent):void {
        // You can show a loader while its still processing
        // Signals the availability of new data on the stream.
	trace(e.bytesLoaded);
}
function onFileOutputProgress( e:ProgressEvent):void {
        // You can show a loader while its still processing
        // Signals that buffered data has been written to the file.
	trace(e.bytesTotal, e.bytesPending);
}
</pre>
<p>For prototyping synchronous is the way to go, because it is fast and not used in real life situations. If you have really big files you are loading in, FLV files that are 500 MB or other huge files, asynchronous is your best option.<br />
I hope this clears things up about the difference in loading files in different manners. Comments are always welcome!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.funky-monkey.nl/blog/2009/01/13/synchronous-vs-asynchonous/&amp;n=Synchronous+vs.+Asynchonous+explained&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.funky-monkey.nl/blog/2009/01/13/synchronous-vs-asynchonous/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.funky-monkey.nl/blog/2009/01/13/synchronous-vs-asynchonous/&amp;title=Synchronous+vs.+Asynchonous+explained" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.funky-monkey.nl/blog/2009/01/13/synchronous-vs-asynchonous/&amp;title=Synchronous+vs.+Asynchonous+explained" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.funky-monkey.nl/blog/2009/01/13/synchronous-vs-asynchonous/&amp;t=Synchronous+vs.+Asynchonous+explained" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Synchronous+vs.+Asynchonous+explained&amp;body=Link: http://www.funky-monkey.nl/blog/2009/01/13/synchronous-vs-asynchonous/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A A%20friend%20of%20mine%20asked%20me%20the%20difference%20between%20Synchronous%20and%20Asynchronous%20file%20operations%20in%20AIR.%20So%20here%20I%20will%20try%20to%20explain%20for%20all%20that%20are%20interested.%0D%0A%0D%0AA%20FileStream%20object%20is%20used%20to%20read%20and%20write%20files.%20Files%20can%20be%20opened%20synchronously%20by%20calling%20the%20%20%20open%28%29%20method%20or%20asynchronously%20" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.funky-monkey.nl/blog/2009/01/13/synchronous-vs-asynchonous/&amp;title=Synchronous+vs.+Asynchonous+explained" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.funky-monkey.nl/blog/2009/01/13/synchronous-vs-asynchonous/&amp;title=Synchronous+vs.+Asynchonous+explained&amp;summary=A%20friend%20of%20mine%20asked%20me%20the%20difference%20between%20Synchronous%20and%20Asynchronous%20file%20operations%20in%20AIR.%20So%20here%20I%20will%20try%20to%20explain%20for%20all%20that%20are%20interested.%0D%0A%0D%0AA%20FileStream%20object%20is%20used%20to%20read%20and%20write%20files.%20Files%20can%20be%20opened%20synchronously%20by%20calling%20the%20%20%20open%28%29%20method%20or%20asynchronously%20&amp;source=Confessions of an Flash Addict" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Synchronous+vs.+Asynchonous+explained+-+http://b2l.me/xrq2r&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.funky-monkey.nl/blog/2009/01/13/synchronous-vs-asynchonous/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>A breath of fresh AIR #3: User Idle time</title>
		<link>http://www.funky-monkey.nl/blog/2008/12/08/a-breath-of-fresh-air-3-user-idle-time/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=a-breath-of-fresh-air-3-user-idle-time</link>
		<comments>http://www.funky-monkey.nl/blog/2008/12/08/a-breath-of-fresh-air-3-user-idle-time/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 11:00:44 +0000</pubDate>
		<dc:creator>Sidney de Koning</dc:creator>
				<category><![CDATA[A Fresh Breath of AIR]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Actionscript 3]]></category>

		<guid isPermaLink="false">http://www.funky-monkey.nl/blog/?p=91</guid>
		<description><![CDATA[In AIR you can check the users idle time, meaning that your application can behave differently when the user is not actively using it. On the other side you can also track the time that the user is actively using your application. But what you ask? Let me give you a couple of examples: - [...]]]></description>
			<content:encoded><![CDATA[<p>In AIR you can check the users idle time, meaning that your application can behave differently when the user is not actively using it. On the other side you can also track the time that the user is actively using your application. But what you ask? Let me give you a couple of examples:</p>
<p>- When you are not idle for a period of time, the application syncs with and online database.<br />
- Complex Screensavers &#8211; Show full screen for how long the user has been away from its desk <img src='http://www.funky-monkey.nl/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
- An Application that warns you when to take breaks because you been sitting way too long behind your computer. The possibilities are endless!</p>
<p>Other fun functions you can use with this is:</p>
<p><strong>timeSinceLastUserInput</strong> &#8212; The time, in seconds, since the last mouse or keyboard input.<br />
and</p>
<p><strong>idleThreshold </strong>&#8211; The number of seconds that must elapse without keyboard or mouse input     before a presenceChange event is dispatched. By default, the idle threshold is 300 seconds (5 minutes).</p>
<pre class="brush: javascript;">
import flash.desktop.NativeApplication;
import nl.funkymonkey.firelog.core.*;
var IDLETIME:int = 5;//Yes that is seconds.

initIdleExampleApp();

function initIdleExampleApp():void
{
	NativeApplication.nativeApplication.idleThreshold = IDLETIME;
	NativeApplication.nativeApplication.addEventListener(Event.USER_IDLE, onUserIdle);
	NativeApplication.nativeApplication.addEventListener(Event.USER_PRESENT, onUserPresence);
	Logger.info("Status: Active - status will change if idle for more than " + IDLETIME + " seconds");
}

function onUserIdle(event:Event):void
{
	Logger.info("User has been Idle for at least " + IDLETIME + " seconds".);
	Logger.info("Here you can do what you want.");
}

function onUserPresence(event:Event):void
{
	Logger.info("User is active again, after being idle for " + IDLETIME + " seconds.");
	Logger.info("Now you can make your app get back to its normal state.");
}
</pre>
<p>What I have noticed with idle time is that the time is an indication and not a real value, it can be a second or two off (this can be caused by the Timer class, as <a href="http://www.bit-101.com/blog/?p=910" target="_blank">Keith Peters describes here</a>). So keep that in mind.</p>
<p>In my code I trace with <a href="http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/" target="_self">FireLog</a>, a simple logger for AIR, and you can <a href="http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/" target="_self">find that here</a>.</p>
<p>Here is an example AIR file:<br />
[airbadge]Idle User,http://www.funky-monkey.nl/air/example/idle_screensaver.air,1.0.2[/airbadge]<br />
Have fun coding you own little play things! <img src='http://www.funky-monkey.nl/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.funky-monkey.nl/blog/2008/12/08/a-breath-of-fresh-air-3-user-idle-time/&amp;n=A+breath+of+fresh+AIR+%233%3A+User+Idle+time&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.funky-monkey.nl/blog/2008/12/08/a-breath-of-fresh-air-3-user-idle-time/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.funky-monkey.nl/blog/2008/12/08/a-breath-of-fresh-air-3-user-idle-time/&amp;title=A+breath+of+fresh+AIR+%233%3A+User+Idle+time" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.funky-monkey.nl/blog/2008/12/08/a-breath-of-fresh-air-3-user-idle-time/&amp;title=A+breath+of+fresh+AIR+%233%3A+User+Idle+time" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.funky-monkey.nl/blog/2008/12/08/a-breath-of-fresh-air-3-user-idle-time/&amp;t=A+breath+of+fresh+AIR+%233%3A+User+Idle+time" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=A+breath+of+fresh+AIR+%233%3A+User+Idle+time&amp;body=Link: http://www.funky-monkey.nl/blog/2008/12/08/a-breath-of-fresh-air-3-user-idle-time/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A In%20AIR%20you%20can%20check%20the%20users%20idle%20time%2C%20meaning%20that%20your%20application%20can%20behave%20differently%20when%20the%20user%20is%20not%20actively%20using%20it.%20On%20the%20other%20side%20you%20can%20also%20track%20the%20time%20that%20the%20user%20is%20actively%20using%20your%20application.%20But%20what%20you%20ask%3F%20Let%20me%20give%20you%20a%20couple%20of%20examples%3A%0D%0A%0D%0A-%20When%20you" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.funky-monkey.nl/blog/2008/12/08/a-breath-of-fresh-air-3-user-idle-time/&amp;title=A+breath+of+fresh+AIR+%233%3A+User+Idle+time" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.funky-monkey.nl/blog/2008/12/08/a-breath-of-fresh-air-3-user-idle-time/&amp;title=A+breath+of+fresh+AIR+%233%3A+User+Idle+time&amp;summary=In%20AIR%20you%20can%20check%20the%20users%20idle%20time%2C%20meaning%20that%20your%20application%20can%20behave%20differently%20when%20the%20user%20is%20not%20actively%20using%20it.%20On%20the%20other%20side%20you%20can%20also%20track%20the%20time%20that%20the%20user%20is%20actively%20using%20your%20application.%20But%20what%20you%20ask%3F%20Let%20me%20give%20you%20a%20couple%20of%20examples%3A%0D%0A%0D%0A-%20When%20you&amp;source=Confessions of an Flash Addict" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=A+breath+of+fresh+AIR+%233%3A+User+Idle+time+-+http://b2l.me/xcx75&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.funky-monkey.nl/blog/2008/12/08/a-breath-of-fresh-air-3-user-idle-time/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The secret to making money with your RIA / AIR application</title>
		<link>http://www.funky-monkey.nl/blog/2008/10/23/the-secret-to-making-money-with-your-ria-air-application/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=the-secret-to-making-money-with-your-ria-air-application</link>
		<comments>http://www.funky-monkey.nl/blog/2008/10/23/the-secret-to-making-money-with-your-ria-air-application/#comments</comments>
		<pubDate>Thu, 23 Oct 2008 13:10:58 +0000</pubDate>
		<dc:creator>Sidney de Koning</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Actionscript 3]]></category>

		<guid isPermaLink="false">http://www.funky-monkey.nl/blog/?p=84</guid>
		<description><![CDATA[What is the secret to making money with your RIA / AIR application? Watch this video and you will know all about it. Great video from Startup School 08. Blog this on Blogger Subscribe to the comments for this post? Share this on del.icio.us Digg this! Share this on Facebook Email this via Gmail Add [...]]]></description>
			<content:encoded><![CDATA[<p>What is the secret to making money with your RIA / AIR application? Watch this video and you will know all about it. Great video from <a title="Startup School 2008" href="http://omnisio.com/startupschool08" target="_blank">Startup School 08</a>.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="520" height="276" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="bgcolor" value="#FFFFFF" /><param name="quality" value="high" /><param name="allowscriptaccess" value="always" /><param name="allowfullscreen" value="true" /><param name="src" value="http://www.omnisio.com/bin/Embed.swf?embedID=dvkTBcd0Sr3yehadbiFy2w" /><embed type="application/x-shockwave-flash" width="520" height="276" src="http://www.omnisio.com/bin/Embed.swf?embedID=dvkTBcd0Sr3yehadbiFy2w" allowfullscreen="true" allowscriptaccess="always" quality="high" bgcolor="#FFFFFF"></embed></object></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.funky-monkey.nl/blog/2008/10/23/the-secret-to-making-money-with-your-ria-air-application/&amp;n=The+secret+to+making+money+with+your+RIA+%2F+AIR+application&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.funky-monkey.nl/blog/2008/10/23/the-secret-to-making-money-with-your-ria-air-application/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.funky-monkey.nl/blog/2008/10/23/the-secret-to-making-money-with-your-ria-air-application/&amp;title=The+secret+to+making+money+with+your+RIA+%2F+AIR+application" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.funky-monkey.nl/blog/2008/10/23/the-secret-to-making-money-with-your-ria-air-application/&amp;title=The+secret+to+making+money+with+your+RIA+%2F+AIR+application" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.funky-monkey.nl/blog/2008/10/23/the-secret-to-making-money-with-your-ria-air-application/&amp;t=The+secret+to+making+money+with+your+RIA+%2F+AIR+application" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=The+secret+to+making+money+with+your+RIA+%2F+AIR+application&amp;body=Link: http://www.funky-monkey.nl/blog/2008/10/23/the-secret-to-making-money-with-your-ria-air-application/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A What%20is%20the%20secret%20to%20making%20money%20with%20your%20RIA%20%2F%20AIR%20application%3F%20Watch%20this%20video%20and%20you%20will%20know%20all%20about%20it.%20Great%20video%20from%20Startup%20School%2008.%0D%0A%0D%0A" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.funky-monkey.nl/blog/2008/10/23/the-secret-to-making-money-with-your-ria-air-application/&amp;title=The+secret+to+making+money+with+your+RIA+%2F+AIR+application" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.funky-monkey.nl/blog/2008/10/23/the-secret-to-making-money-with-your-ria-air-application/&amp;title=The+secret+to+making+money+with+your+RIA+%2F+AIR+application&amp;summary=What%20is%20the%20secret%20to%20making%20money%20with%20your%20RIA%20%2F%20AIR%20application%3F%20Watch%20this%20video%20and%20you%20will%20know%20all%20about%20it.%20Great%20video%20from%20Startup%20School%2008.%0D%0A%0D%0A&amp;source=Confessions of an Flash Addict" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=The+secret+to+making+money+with+your+RIA+%2F+AIR+application+-+http://b2l.me/xcyu9&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.funky-monkey.nl/blog/2008/10/23/the-secret-to-making-money-with-your-ria-air-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thawte finally responds, I got my AIR Code Signing Certificate. WHOHOO!</title>
		<link>http://www.funky-monkey.nl/blog/2008/08/03/thawte-finally-responds-i-got-my-air-code-signing-certificate-whohoo/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=thawte-finally-responds-i-got-my-air-code-signing-certificate-whohoo</link>
		<comments>http://www.funky-monkey.nl/blog/2008/08/03/thawte-finally-responds-i-got-my-air-code-signing-certificate-whohoo/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 13:13:38 +0000</pubDate>
		<dc:creator>Sidney de Koning</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Actionscript 3]]></category>

		<guid isPermaLink="false">http://www.funky-monkey.nl/blog/?p=82</guid>
		<description><![CDATA[After applying for the the Adobe AIR Certificate Offer promotion , and sending all the appropriate documents to Thawte, I finally got my AIR SSL certificate for secure code singing (worth $300). Thawte is not the fastest company when it comes to replying back to the customer or sending notifications when they say they will. [...]]]></description>
			<content:encoded><![CDATA[<p>After applying for the the <a title="Free AIR Certificate" href="http://www.adobe.com/products/air/assets/popup/thawte_popup.html" target="_blank">Adobe AIR Certificate Offer promotion</a> , and sending all the appropriate documents to Thawte, I finally got my AIR SSL certificate for secure code singing (worth $300).</p>
<p>Thawte is not the fastest company when it comes to replying back to the customer or sending notifications when they say they will. It took me almost two months to get it. (Got to love outsourced customer support where every employee is named the same and are based in Africa, Germany and England. Where can I declare the costs of these endless conversations, couldn&#8217;t find it on their site? <img src='http://www.funky-monkey.nl/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  . Glad to got that off my chest <img src='http://www.funky-monkey.nl/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Anyway, I finally have it, and am a very happy camper! Thank you Adobe and Thawte!</p>
<p>Below is a screenshot:</p>
<p><img src="http://www.funky-monkey.nl/blog/upload/cert_funky.jpg" alt="SSL Certificate" /></p>
<p>At the <a href="http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&amp;loc=en_us&amp;extid=1556018" target="_blank">Adobe AIR Marketplace</a> you can <a href="http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&amp;loc=en_us&amp;extid=1556018" target="_blank">download the new version</a> of my <a href="http://www.funky-monkey.nl/blog/2008/04/20/tax-calculator-updated-to-air-version-10/" target="_blank">Funky TAX Calculator</a>. Feature requests, bugs or remarks &#8211; place them in the comments <img src='http://www.funky-monkey.nl/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.funky-monkey.nl/blog/2008/08/03/thawte-finally-responds-i-got-my-air-code-signing-certificate-whohoo/&amp;n=Thawte+finally+responds%2C+I+got+my+AIR+Code+Signing+Certificate.+WHOHOO%21&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.funky-monkey.nl/blog/2008/08/03/thawte-finally-responds-i-got-my-air-code-signing-certificate-whohoo/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.funky-monkey.nl/blog/2008/08/03/thawte-finally-responds-i-got-my-air-code-signing-certificate-whohoo/&amp;title=Thawte+finally+responds%2C+I+got+my+AIR+Code+Signing+Certificate.+WHOHOO%21" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.funky-monkey.nl/blog/2008/08/03/thawte-finally-responds-i-got-my-air-code-signing-certificate-whohoo/&amp;title=Thawte+finally+responds%2C+I+got+my+AIR+Code+Signing+Certificate.+WHOHOO%21" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.funky-monkey.nl/blog/2008/08/03/thawte-finally-responds-i-got-my-air-code-signing-certificate-whohoo/&amp;t=Thawte+finally+responds%2C+I+got+my+AIR+Code+Signing+Certificate.+WHOHOO%21" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Thawte+finally+responds%2C+I+got+my+AIR+Code+Signing+Certificate.+WHOHOO%21&amp;body=Link: http://www.funky-monkey.nl/blog/2008/08/03/thawte-finally-responds-i-got-my-air-code-signing-certificate-whohoo/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A After%20applying%20for%20the%20the%20Adobe%20AIR%20Certificate%20Offer%20promotion%20%2C%20and%20sending%20all%20the%20appropriate%20documents%20to%20Thawte%2C%20I%20finally%20got%20my%20AIR%20SSL%20certificate%20for%20secure%20code%20singing%20%28worth%20%24300%29.%0D%0A%0D%0AThawte%20is%20not%20the%20fastest%20company%20when%20it%20comes%20to%20replying%20back%20to%20the%20customer%20or%20sending%20notificati" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.funky-monkey.nl/blog/2008/08/03/thawte-finally-responds-i-got-my-air-code-signing-certificate-whohoo/&amp;title=Thawte+finally+responds%2C+I+got+my+AIR+Code+Signing+Certificate.+WHOHOO%21" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.funky-monkey.nl/blog/2008/08/03/thawte-finally-responds-i-got-my-air-code-signing-certificate-whohoo/&amp;title=Thawte+finally+responds%2C+I+got+my+AIR+Code+Signing+Certificate.+WHOHOO%21&amp;summary=After%20applying%20for%20the%20the%20Adobe%20AIR%20Certificate%20Offer%20promotion%20%2C%20and%20sending%20all%20the%20appropriate%20documents%20to%20Thawte%2C%20I%20finally%20got%20my%20AIR%20SSL%20certificate%20for%20secure%20code%20singing%20%28worth%20%24300%29.%0D%0A%0D%0AThawte%20is%20not%20the%20fastest%20company%20when%20it%20comes%20to%20replying%20back%20to%20the%20customer%20or%20sending%20notificati&amp;source=Confessions of an Flash Addict" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Thawte+finally+responds%2C+I+got+my+AIR+Code+Signing+Certificate.+WHOHOO%21+-+http://b2l.me/xhab2&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.funky-monkey.nl/blog/2008/08/03/thawte-finally-responds-i-got-my-air-code-signing-certificate-whohoo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AS3 Upload: File Filtering</title>
		<link>http://www.funky-monkey.nl/blog/2008/07/31/as3-upload-file-filtering/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=as3-upload-file-filtering</link>
		<comments>http://www.funky-monkey.nl/blog/2008/07/31/as3-upload-file-filtering/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 11:38:05 +0000</pubDate>
		<dc:creator>Sidney de Koning</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Actionscript 3]]></category>

		<guid isPermaLink="false">http://www.funky-monkey.nl/blog/?p=81</guid>
		<description><![CDATA[The FileFilter class is used to indicate what files on the user&#8217;s system are shown in the file-browsing dialog box that is displayed when FileReference.browse() or FileReferenceList.browse() is called. The FileFilter instances can also be passed to a browse() function. If you use a FileFilter instance, extensions and file types that aren&#8217;t specified in the [...]]]></description>
			<content:encoded><![CDATA[<p>The FileFilter class is used to indicate what files on the user&#8217;s system are shown in the file-browsing dialog box that is displayed when FileReference.browse() or FileReferenceList.browse() is called.</p>
<p>The FileFilter instances can also be passed to a browse() function. If you use a FileFilter instance, extensions and file types that aren&#8217;t specified in the FileFilter instance are filtered out; that is, they are not available to the user to select for uploading. If no FileFilter object is passed to browse(), all files are shown in the dialog box.<br />
You can use FileFilter instances in one of two ways:</p>
<ol>
<li>A description with Windows file extensions only</li>
<li>A description with Windows file extensions and Macintosh file types</li>
</ol>
<p>The two formats are not interchangeable within a single browse() call. You must use one or the other.</p>
<p>You can pass one or more FileFilter instances to FileReference.browse() or FileReferenceList.browse(). The following examples show different ways to create and pass FileFilter instances to a browse() call (for Windows only). The first example creates FileFilter instances outside of the browse() call:</p>
<pre class="brush: javascript;">
var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.gif;*.png");
var docFilter:FileFilter = new FileFilter("Documents", "*.pdf;*.doc;*.txt");
var myFileReference:FileReference = new FileReference();
myFileReference.browse([imagesFilter, docFilter]);
</pre>
<p>The second example creates FileFilter instances within the browse() call:</p>
<pre class="brush: javascript;">
myFileReference.browse( [ new FileFilter("Images", "*.jpg;*.gif;*.png"), new FileFilter("Flash Movies", "*.swf") ] );
</pre>
<p>The list of extensions in the FileFilter.extension property is used to filter the files in Windows, depending on the file selected by the user. It is not actually displayed in the dialog box; to display the file types for users, you must list the file types in the description string as well as in the extension list. The description string is displayed in the dialog box in Windows. (It is not used on the Macintosh.) On the Mac, if you supply a list of file types, that list is used to filter the files. If not, the list of Windows extensions is used.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.funky-monkey.nl/blog/2008/07/31/as3-upload-file-filtering/&amp;n=AS3+Upload%3A+File+Filtering&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.funky-monkey.nl/blog/2008/07/31/as3-upload-file-filtering/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.funky-monkey.nl/blog/2008/07/31/as3-upload-file-filtering/&amp;title=AS3+Upload%3A+File+Filtering" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.funky-monkey.nl/blog/2008/07/31/as3-upload-file-filtering/&amp;title=AS3+Upload%3A+File+Filtering" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.funky-monkey.nl/blog/2008/07/31/as3-upload-file-filtering/&amp;t=AS3+Upload%3A+File+Filtering" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=AS3+Upload%3A+File+Filtering&amp;body=Link: http://www.funky-monkey.nl/blog/2008/07/31/as3-upload-file-filtering/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A The%20FileFilter%20class%20is%20used%20to%20indicate%20what%20files%20on%20the%20user%27s%20system%20are%20shown%20in%20the%20file-browsing%20dialog%20box%20that%20is%20displayed%20when%20FileReference.browse%28%29%20or%20FileReferenceList.browse%28%29%20is%20called.%0D%0A%0D%0AThe%20FileFilter%20instances%20can%20also%20be%20passed%20to%20a%20browse%28%29%20function.%20If%20you%20use%20a%20FileFilter%20ins" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.funky-monkey.nl/blog/2008/07/31/as3-upload-file-filtering/&amp;title=AS3+Upload%3A+File+Filtering" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.funky-monkey.nl/blog/2008/07/31/as3-upload-file-filtering/&amp;title=AS3+Upload%3A+File+Filtering&amp;summary=The%20FileFilter%20class%20is%20used%20to%20indicate%20what%20files%20on%20the%20user%27s%20system%20are%20shown%20in%20the%20file-browsing%20dialog%20box%20that%20is%20displayed%20when%20FileReference.browse%28%29%20or%20FileReferenceList.browse%28%29%20is%20called.%0D%0A%0D%0AThe%20FileFilter%20instances%20can%20also%20be%20passed%20to%20a%20browse%28%29%20function.%20If%20you%20use%20a%20FileFilter%20ins&amp;source=Confessions of an Flash Addict" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=AS3+Upload%3A+File+Filtering+-+http://b2l.me/xbh3f&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.funky-monkey.nl/blog/2008/07/31/as3-upload-file-filtering/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Added to the Adobe AIR Marketplace</title>
		<link>http://www.funky-monkey.nl/blog/2008/05/29/added-to-the-adobe-air-marketplace/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=added-to-the-adobe-air-marketplace</link>
		<comments>http://www.funky-monkey.nl/blog/2008/05/29/added-to-the-adobe-air-marketplace/#comments</comments>
		<pubDate>Thu, 29 May 2008 21:34:10 +0000</pubDate>
		<dc:creator>Sidney de Koning</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Actionscript 3]]></category>

		<guid isPermaLink="false">http://www.funky-monkey.nl/blog/2008/05/29/added-to-the-adobe-air-marketplace/</guid>
		<description><![CDATA[Today I submitted my Funky Calc application to the Adobe AIR Marketplace for other people to enjoy. Almost instantly i got a reply to apply for a Thawte Certificate, so I can sign the applications I develop. Will keep you posted on this one. You can find it here Have fun with it Blog this [...]]]></description>
			<content:encoded><![CDATA[<p>Today I submitted my Funky Calc application to the Adobe AIR Marketplace for other people to enjoy.<br />
Almost instantly i got a reply to apply for a Thawte Certificate, so I can sign the applications I develop. Will keep you posted on this one.</p>
<p>You can <a href="http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&amp;loc=en_us&amp;extid=1556018" target="_blank">find it here</a></p>
<p>Have fun with it <img src='http://www.funky-monkey.nl/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.funky-monkey.nl/blog/2008/05/29/added-to-the-adobe-air-marketplace/&amp;n=Added+to+the+Adobe+AIR+Marketplace&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.funky-monkey.nl/blog/2008/05/29/added-to-the-adobe-air-marketplace/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.funky-monkey.nl/blog/2008/05/29/added-to-the-adobe-air-marketplace/&amp;title=Added+to+the+Adobe+AIR+Marketplace" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.funky-monkey.nl/blog/2008/05/29/added-to-the-adobe-air-marketplace/&amp;title=Added+to+the+Adobe+AIR+Marketplace" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.funky-monkey.nl/blog/2008/05/29/added-to-the-adobe-air-marketplace/&amp;t=Added+to+the+Adobe+AIR+Marketplace" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=Added+to+the+Adobe+AIR+Marketplace&amp;body=Link: http://www.funky-monkey.nl/blog/2008/05/29/added-to-the-adobe-air-marketplace/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Today%20I%20submitted%20my%20Funky%20Calc%20application%20to%20the%20Adobe%20AIR%20Marketplace%20for%20other%20people%20to%20enjoy.%0D%0AAlmost%20instantly%20i%20got%20a%20reply%20to%20apply%20for%20a%20Thawte%20Certificate%2C%20so%20I%20can%20sign%20the%20applications%20I%20develop.%20Will%20keep%20you%20posted%20on%20this%20one.%0D%0A%0D%0AYou%20can%20find%20it%20here%0D%0A%0D%0AHave%20fun%20with%20it%20%3A%29" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.funky-monkey.nl/blog/2008/05/29/added-to-the-adobe-air-marketplace/&amp;title=Added+to+the+Adobe+AIR+Marketplace" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.funky-monkey.nl/blog/2008/05/29/added-to-the-adobe-air-marketplace/&amp;title=Added+to+the+Adobe+AIR+Marketplace&amp;summary=Today%20I%20submitted%20my%20Funky%20Calc%20application%20to%20the%20Adobe%20AIR%20Marketplace%20for%20other%20people%20to%20enjoy.%0D%0AAlmost%20instantly%20i%20got%20a%20reply%20to%20apply%20for%20a%20Thawte%20Certificate%2C%20so%20I%20can%20sign%20the%20applications%20I%20develop.%20Will%20keep%20you%20posted%20on%20this%20one.%0D%0A%0D%0AYou%20can%20find%20it%20here%0D%0A%0D%0AHave%20fun%20with%20it%20%3A%29&amp;source=Confessions of an Flash Addict" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Added+to+the+Adobe+AIR+Marketplace+-+http://b2l.me/xfkyn&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.funky-monkey.nl/blog/2008/05/29/added-to-the-adobe-air-marketplace/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FireLog + AIR Logger v1.0.0</title>
		<link>http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=air-logger-v100</link>
		<comments>http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/#comments</comments>
		<pubDate>Tue, 13 May 2008 20:40:21 +0000</pubDate>
		<dc:creator>Sidney de Koning</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Actionscript 3]]></category>

		<guid isPermaLink="false">http://www.funky-monkey.nl/blog/?p=74</guid>
		<description><![CDATA[Today somebody at the Flashcoders list asked about logging and tracing, so I decided to put my AIR Logger up for download. It&#8217;s a very simple tool and a very simple logger. I use it on a daily basis. It eliminates the use of tracing via the built-in Flash CS3 Debugger. Install the front end [...]]]></description>
			<content:encoded><![CDATA[<p>Today somebody at the Flashcoders list asked about logging and tracing, so I decided to put my AIR Logger up for download. It&#8217;s a very simple tool and a very simple logger. I use it on a daily basis. It eliminates the use of tracing via the built-in Flash CS3 Debugger.</p>
<p>Install the front end with the big button below and <a href="http://www.funky-monkey.nl/air/log/AirLogger.zip" target="_self">download the class file</a> here. Files that are written are saved to the desktop. (so its easier to drag and drop the files in the front end. You can however change this in the class file.)</p>
<p>Place this file either in you global class path or in a project specific class path. You import and set it up it using:</p>
<pre class="brush: javascript;">
import AirLogger;

AirLogger.init("somefile.txt");
AirLogger.log("write some text here");
AirLogger.newLine();
AirLogger.log("write other text here");
</pre>
<p><div id="flashcontent1618" style="width:215px; height:180px;"><strong>Please upgrade your Flash Player</strong> <a href=\\\\\\\"http://www.adobe.com/go/EN_US-H-GET-FLASH\\\\\\\" target=\\\\\\\"_self\\\\\\\"><img scr=\\\\\\\"http://www.adobe.com/images/shared/download_buttons/get_adobe_flash_player.png\\\\\\\" border=\\\\\\\"0\\\\\\\"></a></div><script type="text/javascript">
<!-- // <![CDATA[
var so = new SWFObject("http://www.funky-monkey.nl/blog/wp-content/plugins/air-badge/AIRInstallBadge.swf", "Badge", "215", "180", "9.0.115", "#FFFFFF");
so.useExpressInstall("http://www.funky-monkey.nl/blog/wp-content/plugins/air-badge/expressinstall.swf");
so.addVariable("airversion", "1.0");
so.addVariable("appname", "FireLog");
so.addVariable("appurl", "http://www.funky-monkey.nl/air/log/firelog.air");
so.addVariable("appid", "FireLog");
so.addVariable("pubid", "");
so.addVariable("appversion", "1.0.2");
so.addVariable("imageurl", "http://www.funky-monkey.nl/air/log/firelog_badge.jpg");
so.addVariable("appinstallarg", "installed from web");
so.addVariable("applauncharg", "launched from web");
so.addVariable("helpurl", "help.html");
so.addVariable("hidehelp", "true");
so.addVariable("skiptransition", "false");
so.addVariable("titlecolor", "#00AAFF");
so.addVariable("buttonlabelcolor", "#00AAFF");
so.addVariable("appnamecolor", "#00AAFF");
so.addVariable("str_err_airswf", "<u>Running locally?</u><br/><br/>The AIR proxy swf won't load properly when this is run from the local file system.");
so.write("flashcontent1618");
// ]]&gt; -->
</script>
</p>
<p>Please comment any thoughts or ideas so i can make this logger better. Enjoy! <img src='http://www.funky-monkey.nl/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>NOTE:The logger does not yet trace out objects, working hard on that.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-shr">
<ul class="socials">
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/&amp;n=FireLog+%2B+AIR+Logger+v1.0.0+&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/&amp;title=FireLog+%2B+AIR+Logger+v1.0.0+" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/&amp;title=FireLog+%2B+AIR+Logger+v1.0.0+" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/&amp;t=FireLog+%2B+AIR+Logger+v1.0.0+" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-gmail">
			<a href="https://mail.google.com/mail/?ui=2&amp;view=cm&amp;fs=1&amp;tf=1&amp;su=FireLog+%2B+AIR+Logger+v1.0.0+&amp;body=Link: http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A Today%20somebody%20at%20the%20Flashcoders%20list%20asked%20about%20logging%20and%20tracing%2C%20so%20I%20decided%20to%20put%20my%20AIR%20Logger%20up%20for%20download.%20It%27s%20a%20very%20simple%20tool%20and%20a%20very%20simple%20logger.%20I%20use%20it%20on%20a%20daily%20basis.%20It%20eliminates%20the%20use%20of%20tracing%20via%20the%20built-in%20Flash%20CS3%20Debugger.%0D%0A%0D%0AInstall%20the%20front%20end%20with%20" rel="nofollow" class="external" title="Email this via Gmail">Email this via Gmail</a>
		</li>
		<li class="shr-googlebookmarks">
			<a href="http://www.google.com/bookmarks/mark?op=add&amp;bkmk=http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/&amp;title=FireLog+%2B+AIR+Logger+v1.0.0+" rel="nofollow" class="external" title="Add this to Google Bookmarks">Add this to Google Bookmarks</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/&amp;title=FireLog+%2B+AIR+Logger+v1.0.0+&amp;summary=Today%20somebody%20at%20the%20Flashcoders%20list%20asked%20about%20logging%20and%20tracing%2C%20so%20I%20decided%20to%20put%20my%20AIR%20Logger%20up%20for%20download.%20It%27s%20a%20very%20simple%20tool%20and%20a%20very%20simple%20logger.%20I%20use%20it%20on%20a%20daily%20basis.%20It%20eliminates%20the%20use%20of%20tracing%20via%20the%20built-in%20Flash%20CS3%20Debugger.%0D%0A%0D%0AInstall%20the%20front%20end%20with%20&amp;source=Confessions of an Flash Addict" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=FireLog+%2B+AIR+Logger+v1.0.0++-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (11)&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.funky-monkey.nl/blog/2008/05/13/air-logger-v100/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
