<?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>Geek.blog &#187; AS3</title>
	<atom:link href="http://blog.728media.com/category/as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.728media.com</link>
	<description>Advanced Flash and Actionscript 3 by Andrew Christensen</description>
	<lastBuildDate>Wed, 12 Aug 2009 04:30:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Load External Images in Actionscript 3.0</title>
		<link>http://blog.728media.com/2009/03/11/how-to-load-external-images-in-actionscript-30/</link>
		<comments>http://blog.728media.com/2009/03/11/how-to-load-external-images-in-actionscript-30/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 03:37:12 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[actionscript 3.0]]></category>
		<category><![CDATA[external images]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://blog.728media.com/?p=222</guid>
		<description><![CDATA[
Using the flash.display.Loader class in AS3, you can load in external image files to display in flash. The loader class supports loading in JPG, SWF, PNG, or GIF file types. The Loader class sounds more like a loading manager that watches load progress, rather than a display object. Fact is, the Loader is treated as [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-225" title="loadingimage" src="http://blog.728media.com/wp-content/uploads/2009/03/loadingimage.jpg" alt="loadingimage" width="650" height="280" /></p>
<p>Using the <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Loader.html">flash.display.Loader</a> class in AS3, you can load in external image files to display in flash. The loader class supports loading in JPG, SWF, PNG, or GIF file types. The Loader class sounds more like a loading manager that watches load progress, rather than a display object. Fact is, the Loader is treated as a <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/DisplayObject.html">DisplayObject</a>, so when it&#8217;s ready you just add it to the stage. Pretty simple, so let&#8217;s get started!</p>
<p><span id="more-222"></span></p>
<p>First, you will need to create an instance of the loader class and add a couple event listeners to it. One to watch load progress, and one to watch for when the loading is complete.</p>
<div class="codecolorer-container actionscript3 vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6699cc; font-weight: bold;">var</span> myLoader<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=loader%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:loader.html"><span style="color: #004993;">Loader</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=loader%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:loader.html"><span style="color: #004993;">Loader</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
myLoader<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">contentLoaderInfo</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=progressevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:progressevent.html"><span style="color: #004993;">ProgressEvent</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">PROGRESS</span><span style="color: #000066; font-weight: bold;">,</span> onLoaderProgress<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
myLoader<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">contentLoaderInfo</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">COMPLETE</span><span style="color: #000066; font-weight: bold;">,</span> onLoaderComplete<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div></td></tr></tbody></table></div>
<p>You&#8217;ll notice that I&#8217;m not adding the event listener to the loader instance (myLoader), but instead adding them to a property of myLoader called <strong><a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Loader.html#contentLoaderInfo">contentLoaderInfo</a>. </strong>The Loader class has a special property that controls all the loading events. This property is an instance of the <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/LoaderInfo.html">LoaderInfo</a> class, so we will listen to it for events, rather than our Loader instance.</p>
<p>Next, we will call the <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/Loader.html#load()">Loader.load()</a> method to initiate the loading sequence. You will need to create a new variable that will be an instance of the <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/URLRequest.html">URLRequest</a> class. This new variable will be passed to the load() method.</p>
<div class="codecolorer-container actionscript3 vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6699cc; font-weight: bold;">var</span> myLoader<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=loader%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:loader.html"><span style="color: #004993;">Loader</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=loader%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:loader.html"><span style="color: #004993;">Loader</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
myLoader<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">contentLoaderInfo</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=progressevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:progressevent.html"><span style="color: #004993;">ProgressEvent</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">PROGRESS</span><span style="color: #000066; font-weight: bold;">,</span> onProgressStatus<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
myLoader<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">contentLoaderInfo</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">COMPLETE</span><span style="color: #000066; font-weight: bold;">,</span> onLoaderReady<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<br />
<span style="color: #6699cc; font-weight: bold;">var</span> fileRequest<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;myImage.jpg&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
myLoader<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span>fileRequest<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div></td></tr></tbody></table></div>
<p>Ok, so that&#8217;s pretty much it. All that is left is to create our callback methods for each of our eventListeners. Our final code should look like this:</p>
<div class="codecolorer-container actionscript3 vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6699cc; font-weight: bold;">var</span> myLoader<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=loader%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:loader.html"><span style="color: #004993;">Loader</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=loader%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:loader.html"><span style="color: #004993;">Loader</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
myLoader<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">contentLoaderInfo</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=progressevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:progressevent.html"><span style="color: #004993;">ProgressEvent</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">PROGRESS</span><span style="color: #000066; font-weight: bold;">,</span> onProgressStatus<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
myLoader<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">contentLoaderInfo</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">COMPLETE</span><span style="color: #000066; font-weight: bold;">,</span> onLoaderReady<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<br />
<span style="color: #6699cc; font-weight: bold;">var</span> fileRequest<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlrequest.html"><span style="color: #004993;">URLRequest</span></a><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;myImage.jpg&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
myLoader<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span>fileRequest<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<br />
<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> onProgressStatus<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=progressevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:progressevent.html"><span style="color: #004993;">ProgressEvent</span></a><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>   <br />
  &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// this is where progress will be monitored     </span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #004993;">trace</span><span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">bytesLoaded</span><span style="color: #000066; font-weight: bold;">,</span> e<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">bytesTotal</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span> <br />
<span style="color: #000000;">&#125;</span><br />
<br />
<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> onLoaderReady<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:event.html"><span style="color: #004993;">Event</span></a><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>     <br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900; font-style: italic;">// the image is now loaded, so let's add it to the display tree!     </span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>myLoader<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #000000;">&#125;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2009/03/11/how-to-load-external-images-in-actionscript-30/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Actionscript 3 Webcam Configure</title>
		<link>http://blog.728media.com/2009/02/24/actionscript-3-webcam-configure/</link>
		<comments>http://blog.728media.com/2009/02/24/actionscript-3-webcam-configure/#comments</comments>
		<pubDate>Wed, 25 Feb 2009 04:34:52 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash player]]></category>
		<category><![CDATA[flash webcam]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://blog.728media.com/?p=200</guid>
		<description><![CDATA[
Setting up a webcam in Flash has always been pretty simple. I feel there are two cases in flash that you would use the webcam in a project: Streaming video for video chat or using it as a tool to take a photo. These two cases have completely different purposes and thus you want your [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-217" title="webcamconfig" src="http://blog.728media.com/wp-content/uploads/2009/02/webcamconfig.jpg" alt="webcamconfig" width="650" height="280" /></p>
<p>Setting up a webcam in Flash has always been pretty simple. I feel there are two cases in flash that you would use the webcam in a project: Streaming video for video chat or using it as a tool to take a photo. These two cases have completely different purposes and thus you want your camera setup properly for each.</p>
<p><span id="more-200"></span></p>
<p><strong>Setup Your Camera</strong><br />
<span style="font-weight: normal;">First, let&#8217;s setup your camera and a video instance for playback. This code will setup a default camera and default video instance. Both will be setup for 320&#215;240 playback.</span></p>
<div class="codecolorer-container actionscript3 vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6699cc; font-weight: bold;">var</span> camera<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=camera%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:camera.html"><span style="color: #004993;">Camera</span></a> = <a href="http://www.google.com/search?q=camera%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:camera.html"><span style="color: #004993;">Camera</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">getCamera</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #6699cc; font-weight: bold;">var</span> video<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=video%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:video.html"><span style="color: #004993;">Video</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=video%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:video.html"><span style="color: #004993;">Video</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span> <br />
video<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">attachCamera</span><span style="color: #000000;">&#40;</span>camera<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>video<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div></td></tr></tbody></table></div>
<p> </p>
<p><strong>Setup Camera for Streaming Video Chat<br />
</strong>Setting up your camera for streaming video chat involves a little more work and planning than just using it to take a photo within the player. Streaming video will require you to sacrifice video quality for speed, especially if you need to sync the video with audio. There are two methods of the Camera class that we will use to balance video quality and frame rate with bandwidth: <a href="http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/media/Camera.html#setQuality()">Camera.setQuality()</a> and <a href="http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/media/Camera.html#setMode()">Camera.setMode()</a>. setQuality() is used to specify bandwidth and overall image quality of the Camera&#8217;s output video.  Adobe&#8217;s Help Documentation has this to say:</p>
<blockquote>
<ul>
<li>To indicate that bandwidth use takes precedence, pass a value for bandwidth and 0 for quality . Flash Player transmits video at the highest quality possible within the specified bandwidth. If necessary, Flash Player reduces picture quality to avoid exceeding the specified bandwidth. In general, as motion increases, quality decreases.</li>
<li>To indicate that quality takes precedence, pass 0 for bandwidth and a numeric value for quality . Flash Player uses as much bandwidth as required to maintain the specified quality. If necessary, Flash Player reduces the frame rate to maintain picture quality. In general, as motion increases, bandwidth use also increases.</li>
<li>To specify that both bandwidth and quality are equally important, pass numeric values for both parameters. Flash Player transmits video that achieves the specified quality and that doesn&#8217;t exceed the specified bandwidth. If necessary, Flash Player reduces the frame rate to maintain picture quality without exceeding the specified bandwidth.</li>
</ul>
</blockquote>
<p>Lets setup our code to have medium compressed quality and a frame rate of 15.</p>
<div class="codecolorer-container actionscript3 vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">bandwidth</span><span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=int%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:int.html"><span style="color: #004993;">int</span></a> = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">// Specifies the maximum amount of bandwidth that the current outgoing video feed can use, in bytes per second. To specify that Flash Player video can use as much bandwidth as needed to maintain the value of quality , pass 0 for bandwidth . The default value is 16384.</span><br />
<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">quality</span><span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=int%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:int.html"><span style="color: #004993;">int</span></a> = <span style="color: #000000; font-weight:bold;">50</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">// this value is 0-100 with 1 being the lowest quality. Pass 0 if you want the quality to vary to keep better framerates</span><br />
<span style="color: #6699cc; font-weight: bold;">var</span> camera<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=camera%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:camera.html"><span style="color: #004993;">Camera</span></a> = <a href="http://www.google.com/search?q=camera%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:camera.html"><span style="color: #004993;">Camera</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">getCamera</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
camera<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">setQuality</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">bandwidth</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">quality</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
camera<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">setMode</span><span style="color: #000000;">&#40;</span>320<span style="color: #000066; font-weight: bold;">,</span>240<span style="color: #000066; font-weight: bold;">,</span>15<span style="color: #000066; font-weight: bold;">,</span><span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">// setMode(videoWidth, videoHeight, video fps, favor area)</span><br />
<br />
<span style="color: #009900; font-style: italic;">// Now attach the webcam stream to a video object.</span><br />
<span style="color: #6699cc; font-weight: bold;">var</span> video<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=video%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:video.html"><span style="color: #004993;">Video</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=video%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:video.html"><span style="color: #004993;">Video</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
video<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">attachCamera</span><span style="color: #000000;">&#40;</span>camera<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>video<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div></td></tr></tbody></table></div>
<p>Depending on your project, you can change bandwidth, quality, and frame-rate settings to find the best combination. I would suggest setting the video capture size smaller, then stretching it up. This will allow for a higher frame rate since you are sending smaller video that is stretched. The video is a littler blurry, but if you plan on having lots of movement, having a higher frame-rate will be more important.</p>
<p> </p>
<p><strong>Setup Camera to take a photo<br />
</strong>This type of configuration isn&#8217;t a whole lot different the the code example above. The main difference is that we aren&#8217;t passing constant amounts of data to a streaming server each second. Instead, we just need to get the camera&#8217;s data once. So, we can up the quality and frame rate to our hearts content (granted the user&#8217;s hardware allows for the settings).</p>
<p>Here is the above example, but with maxed out configuration for high photo quality.</p>
<p> </p>
<div class="codecolorer-container actionscript3 vibrant" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">bandwidth</span><span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=int%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:int.html"><span style="color: #004993;">int</span></a> = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">// Specifies the maximum amount of bandwidth that the current outgoing video feed can use, in bytes per second. To specify that Flash Player video can use as much bandwidth as needed to maintain the value of quality , pass 0 for bandwidth . The default value is 16384.</span><br />
<span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">quality</span><span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=int%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:int.html"><span style="color: #004993;">int</span></a> = <span style="color: #000000; font-weight:bold;">100</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">// this value is 0-100 with 1 being the lowest quality. Pass 0 if you want the quality to vary to keep better framerates</span><br />
<span style="color: #6699cc; font-weight: bold;">var</span> camera<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=camera%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:camera.html"><span style="color: #004993;">Camera</span></a> = <a href="http://www.google.com/search?q=camera%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:camera.html"><span style="color: #004993;">Camera</span></a><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">getCamera</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
camera<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">setQuality</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">bandwidth</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #004993;">quality</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
camera<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">setMode</span><span style="color: #000000;">&#40;</span>320<span style="color: #000066; font-weight: bold;">,</span>240<span style="color: #000066; font-weight: bold;">,</span>30<span style="color: #000066; font-weight: bold;">,</span><span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span> <span style="color: #009900; font-style: italic;">// setMode(videoWidth, videoHeight, video fps, favor area)</span><br />
<span style="color: #6699cc; font-weight: bold;">var</span> video<span style="color: #000066; font-weight: bold;">:</span><a href="http://www.google.com/search?q=video%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:video.html"><span style="color: #004993;">Video</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=video%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:video.html"><span style="color: #004993;">Video</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
video<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">attachCamera</span><span style="color: #000000;">&#40;</span>camera<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>video<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span></div></td></tr></tbody></table></div>
<p>Feel free to comment with any questions. Check out <a href="http://blog.728media.com/2008/11/13/flash-media-server-quirks-and-tips/">my other post</a> for more AS3 Camera quirks and tips.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2009/02/24/actionscript-3-webcam-configure/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>GTween improved squencing support</title>
		<link>http://blog.728media.com/2009/01/26/gtween-improved-squencing-support/</link>
		<comments>http://blog.728media.com/2009/01/26/gtween-improved-squencing-support/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 17:03:14 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[GTween]]></category>
		<category><![CDATA[tweening]]></category>

		<guid isPermaLink="false">http://blog.728media.com/?p=206</guid>
		<description><![CDATA[As some of you may know, Grant Skinner has been working on his own tweening library called GTween. The project is still in beta stages with a promise to be delivered public in the next couple weeks.
gskinner.com: gBlog: Preview: GTween beta 5, Now With More Sequencing.

]]></description>
			<content:encoded><![CDATA[<p>As some of you may know,<a href="http://www.gskinner.com/blog/"> Grant Skinner</a> has been working on his own tweening library called GTween. The project is still in beta stages with a promise to be delivered public in the next couple weeks.</p>
<p><a href="http://www.gskinner.com/blog/archives/2009/01/preview_gtween.html">gskinner.com: gBlog: Preview: GTween beta 5, Now With More Sequencing.<br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2009/01/26/gtween-improved-squencing-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tweensy Goes Public!</title>
		<link>http://blog.728media.com/2009/01/06/tweensy-goes-public/</link>
		<comments>http://blog.728media.com/2009/01/06/tweensy-goes-public/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 07:04:14 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[lost in actionscript]]></category>
		<category><![CDATA[shane mccartney]]></category>
		<category><![CDATA[tweener]]></category>
		<category><![CDATA[tweening library]]></category>
		<category><![CDATA[tweensy]]></category>

		<guid isPermaLink="false">http://blog.728media.com/?p=184</guid>
		<description><![CDATA[Tweensy Goes Public! Read on to find out what you have been missing and so rightfully deserve.]]></description>
			<content:encoded><![CDATA[<p> </p>
<p><img class="alignnone size-full wp-image-188" title="tweensy_love" src="http://blog.728media.com/wp-content/uploads/2009/01/tweensy_love.jpg" alt="tweensy_love" width="350" height="222" /></p>
<p>As you may have read in my <a href="http://blog.728media.com/2008/12/23/tweensy-adds-much-needed-effects-support/">last post</a>, I was lucky enough to get my hands on a beta version of &#8220;<a href="http://www.lostinactionscript.com/blog/index.php/2009/01/05/tweensy-goes-public/">Tweensy</a>&#8220;. Tweensy is an actionscript 3 tweening library from Shane over at <a href="http://www.lostinactionscript.com">Lost In Actionscript</a>. Within the short time that I have been able to use the library I have been amazed at the speed and simplicity of it&#8217;s use. As of today, Tweensy has officially gone public!</p>
<p>There are two main libraries available plus an FX expansion package: <em>Tweensy Original</em> and <em>Tweensy Zero.</em> In Shane&#8217;s <a href="http://www.lostinactionscript.com/blog/index.php/2009/01/05/tweensy-goes-public/">latest post</a> he describes why Tweensy is better than any other as3 tweening engine. To sum it up, he uses Object Pooling and utilizes DoubleLinked lists rather than a Dictionary or Array. I could try and go into more detail, but Shane does a better job at explaining.</p>
<p>Ease of use is the main seller for me. Yes performance is great to have when you are working on high profile, bleeding edge projects. However I am often working on more basic projects that need to be completed on a tight deadline. Currently I use Tweener. It is so simple to setup and use. There are a couple of extra steps that you will need to take with Tweensy to accomplish the same ol&#8217; tween as Tweener. <em>Tweensy Zero</em> should make it more worth my while though on the smaller projects. The entire library is compressed down to 2.9kb! I&#8217;m not sure to what extend this version is limited, but it will be great to help spiffy up some boring banners!</p>
<p>Of course what I&#8217;m most excited about is the effects package that Shane has created that pairs with Tweensy well. It currently is somewhat limited to creating emitters and glowing blurry objects (as you can tell in <a href="http://blog.728media.com/2008/12/23/tweensy-adds-much-needed-effects-support/">my first demo</a> and many of <a href="http://www.lostinactionscript.com/blog/index.php/2008/08/31/as3-tween-engine-tweensy-preview/">Shane&#8217;s</a>), but he has also used it to create a cool <a href="http://www.flashdynamix.com/examples/Tweensy/0.2/bumpMapFX.html">BumpMap</a> and <a href="http://www.flashdynamix.com/examples/Tweensy/0.2/bulgeFX.html">Bulge</a> demos. Also, Shane claims it&#8217;s easy to create better tweens that <a href="http://code.google.com/p/tweensy/wiki/MotionGuides">animate on complicated motion guides</a> with Tweensy.</p>
<p>Now I&#8217;m off to download the <a href="http://code.google.com/p/tweensy/">latest source from Google Code</a>! Be sure to snag your copy and post your demos!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2009/01/06/tweensy-goes-public/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tweensy adds much needed effects support</title>
		<link>http://blog.728media.com/2008/12/23/tweensy-adds-much-needed-effects-support/</link>
		<comments>http://blog.728media.com/2008/12/23/tweensy-adds-much-needed-effects-support/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 16:38:12 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Labs]]></category>
		<category><![CDATA[tweening]]></category>
		<category><![CDATA[tweensy]]></category>

		<guid isPermaLink="false">http://blog.728media.com/?p=181</guid>
		<description><![CDATA[
I was lucky enough to recently acquire a beta version of the Tweensy library from Shane McCartney over at Lost In Actionscript. I&#8217;ve taken my first crack at using the engine and I have to say I&#8217;m very excited to see what is still in store for this promising library. Currently I use Tweener for [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-182" title="tweensyaudio" src="http://blog.728media.com/wp-content/uploads/2008/12/tweensyaudio.jpg" alt="tweensyaudio" width="637" height="281" /></p>
<p>I was lucky enough to recently acquire a beta version of the <a href="http://www.lostinactionscript.com/blog/index.php/2008/08/31/as3-tween-engine-tweensy-preview/">Tweensy </a>library from<a href="http://www.lostinactionscript.com/"> Shane McCartney</a> over at Lost In Actionscript. I&#8217;ve taken my first crack at using the engine and I have to say I&#8217;m very excited to see what is still in store for this promising library. Currently I use <a href="http://code.google.com/p/tweener/">Tweener </a>for all my projects. It is quick, painless and very simple to use. It doesn&#8217;t support filters and uses mainly static methods. Tweensy on the other hand has support for many different types of effects that all developers yearn for (BitmapLayer is my favorite). Tweensy is broken down in easier to manage pieces that help keep the file size down. Be sure to check back often for more demos as I expand my knowledge of this great new piece of work. Oh, and I almost forgot to mention&#8230;Tweensy has support to &#8220;yo yo&#8221; a tween!</p>
<p><a href="http://labs.728media.com/tweensy/audio">View The Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2008/12/23/tweensy-adds-much-needed-effects-support/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Drop.io AS3 Library Update</title>
		<link>http://blog.728media.com/2008/12/15/dropio-as3-library-update/</link>
		<comments>http://blog.728media.com/2008/12/15/dropio-as3-library-update/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 01:46:31 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Labs]]></category>
		<category><![CDATA[as3 lib]]></category>
		<category><![CDATA[drop.io]]></category>
		<category><![CDATA[library]]></category>

		<guid isPermaLink="false">http://blog.728media.com/?p=179</guid>
		<description><![CDATA[UPDATE: I have posted what there is for files on Google Code. The code currently is considered as-is with no support.
So as I mentioned in this post, I have been working on an AS3 library for interfacing with the new Drop.io API. Since my announcement, I&#8217;ve been getting some great support from both developers and [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE: <a href="http://code.google.com/p/dropio-as3-library/">I have posted what there is for files on Google Code</a>. The code currently is considered as-is with no support.</strong></p>
<p>So as I mentioned in <a href="http://blog.728media.com/2008/12/01/dropio-as3-library/">this post</a>, I have been working on an AS3 library for interfacing with the new <a href="http://api.drop.io">Drop.io API</a>. Since my announcement, I&#8217;ve been getting some great support from both developers and the <a href="http://drop.io">Drop.io</a> team. It has been a while and I wanted to let you know I&#8217;m still working on the library. I&#8217;ve got some free time coming up soon, so I hope to use that time to get something ready for a beta stage.</p>
<p>Keep checking back for more updates! My goal is to have it complete by the end of the year.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2008/12/15/dropio-as3-library-update/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>The New Drop.io API: Drop.io Desktop Manager</title>
		<link>http://blog.728media.com/2008/11/29/the-new-dropio-api-dropio-desktop-manager/</link>
		<comments>http://blog.728media.com/2008/11/29/the-new-dropio-api-dropio-desktop-manager/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 19:32:34 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Labs]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[drop.io]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://blog.728media.com/?p=170</guid>
		<description><![CDATA[
UPDATE: This application has been altered. The finished product is called Droplet and be viewed HERE
Over a year ago I had the pleasure of working on the team that created Drop.io. I had built the original Flash uploaders. Since then, the Drop.io team has been hard at work and just last week released a new version of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" src="http://api.drop.io/images/dropio_logo_newschool_on_white.gif" alt="" width="126" height="39" /></p>
<p><strong>UPDATE:</strong> This application has been altered. The finished product is called <em>Droplet</em> and be viewed <a href="http://blog.728media.com/2009/03/14/droplet-quick-dropio-desktop-air-app/">HERE</a></p>
<p>Over a year ago I had the pleasure of working on the team that created <a href="http://drop.io">Drop.io</a>. I had built the original Flash uploaders. Since then, the Drop.io team has been hard at work and just last week released a new version of the site with a TON of great new features. My absolute favorite is the new <a href="http://api.drop.io/">Drop.io API</a>. Getting a <strong><span style="color: #ab0c2f;">FREE</span></strong> key is simple and very quick (possibly faster than getting a <strong><span style="color: #ab0c2f;">FREE</span></strong> drop)! With only an hour into it, I&#8217;ve already managed to move, delete, and add assets quickly and painlessly. I can&#8217;t wait to get some more time into this and build out a drop manager in Adobe AIR.</p>
<p>Keep checking back for more status updates, I hope to have the <strong>Drop.io Desktop Manager</strong> available soon!</p>
<p>Until then, check out some of my other AIR apps&#8230;<br />
<strong><a href="http://blog.728media.com/2008/10/29/super-duper-flv-player-for-adobe-air/">Super Duper Desktop FLV Player<br />
</a><span style="font-weight: normal;"><a href="http://blog.728media.com/2008/10/27/file-furnace-app-added-to-softpedia/">The File Furnace</a></span></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2008/11/29/the-new-dropio-api-dropio-desktop-manager/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>AS3 Camera Class Quirks and Tips</title>
		<link>http://blog.728media.com/2008/11/13/flash-media-server-quirks-and-tips/</link>
		<comments>http://blog.728media.com/2008/11/13/flash-media-server-quirks-and-tips/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 21:22:19 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[flash media server]]></category>
		<category><![CDATA[fms]]></category>

		<guid isPermaLink="false">http://blog.728media.com/2008/11/13/flash-media-server-quirks-and-tips/</guid>
		<description><![CDATA[Shane from Lost In Actionscript has a great writeup on some tips and tricks for working with the Camera class in AS3. One that I never thought about was:
Tip #2
When recording to a Flash Media Server make sure the camera has activity via the Activity Status Event before publishing the stream. Otherwise you may get [...]]]></description>
			<content:encoded><![CDATA[<p>Shane from Lost In Actionscript has a great writeup on some tips and tricks for working with the Camera class in AS3. One that I never thought about was:</p>
<blockquote><p><strong><em>Tip #2</em></strong></p>
<p><em>When recording to a Flash Media Server make sure the camera has activity via the Activity Status Event before publishing the stream. Otherwise you may get a static or black frame at the beginning of the recorded stream.</em></p></blockquote>
<p><a href="http://www.lostinactionscript.com/blog/index.php/2008/06/16/camera-class-quirks-with-fms/">Camera Class Quirks with FMS » Lost In Actionscript &#8211; Shane McCartney</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2008/11/13/flash-media-server-quirks-and-tips/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Papervision and Geocoding</title>
		<link>http://blog.728media.com/2008/11/04/papervision-and-geocoding/</link>
		<comments>http://blog.728media.com/2008/11/04/papervision-and-geocoding/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 22:50:22 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[geocode]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[Papervision]]></category>

		<guid isPermaLink="false">http://blog.728media.com/?p=144</guid>
		<description><![CDATA[
The June 2008 edition of Adobe EDGE has a great article on geocoding. Geocoding is getting popular with the release of Yahoo Maps, Mapquest, and Google Maps APIs. Suddenly any user can apply for one of those keys and start mapping locations on their site or even using those APIs to get geo location data [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.728media.com/wp-content/uploads/2008/11/globe.jpg"><img class="alignnone size-full wp-image-145" title="globe" src="http://blog.728media.com/wp-content/uploads/2008/11/globe.jpg" alt="" width="492" height="229" /></a></p>
<p>The June 2008 edition of <a href="http://www.adobe.com/newsletters/edge/">Adobe EDGE</a> has a great article on <a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FGeocoding&amp;ei=wM8QSerRO6b8wwGXu5GYCw&amp;usg=AFQjCNG703HciSfy0JKZjDIvTrQYuezIZg&amp;sig2=h6O6du6mONrFBmax25rK0w">geocoding</a>. Geocoding is getting popular with the release of <a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.mapquest.com%2Fopenapi&amp;ei=5c8QSY6hDZrswwGqkPSrCw&amp;usg=AFQjCNF25HRpHwry_xxbXYoXxi5pHLXC8g&amp;sig2=9WJla-3FMzob6QNCiHWUnQ"></a><a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fdeveloper.yahoo.com%2Fmaps%2F&amp;ei=9c8QSbGnIIqOwQHN29SuCw&amp;usg=AFQjCNH6kikID8e15DJgfyTawm0O8GxQ1w&amp;sig2=JQRKEvHt9_THsvkbcauUpQ">Yahoo Maps,</a> <a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.mapquest.com%2Fopenapi&amp;ei=5c8QSY6hDZrswwGqkPSrCw&amp;usg=AFQjCNF25HRpHwry_xxbXYoXxi5pHLXC8g&amp;sig2=9WJla-3FMzob6QNCiHWUnQ">Mapquest</a>, and <a href="http://www.google.com/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fcode.google.com%2Fapis%2Fmaps%2F&amp;ei=CtAQSZbbJY2owQGwsNCmCw&amp;usg=AFQjCNFlheLSwRtcQSUWQHN0Doxq7hyI4A&amp;sig2=-1TgyOVwrDdk9hZvgRY_Dw">Google Maps</a> APIs. Suddenly any user can apply for one of those keys and start mapping locations on their site or even using those APIs to get geo location data to then use within their own mapping engine. That is where this example comes in. Adobe has written up a great article on getting started with using the Yahoo Maps API to get the longitude and latitude of a location, then converting that to 3D coordinates to place on a globe built in Papervision. The example is simple, but feels good and responsive.</p>
<p><a href="http://www.adobe.com/newsletters/edge/june2008/articles/article2/index.html?trackingid=DEKYF.">Read the article<br />
</a><a href="http://www.adobe.com/newsletters/edge/june2008/articles/article2/download/GeoGlobe.html">View the Demo</a></p>
<p><span id="more-144"></span></p>
<p>A couple more Flash Geocoding Examples and Demos</p>
<p><a href="http://next.yahoo.net/download/newsglobe">Yahoo News Globe</a><br />
<a href="http://code.google.com/p/spinnyglobe/">Spinny Globe<br />
</a><a href="http://senocular.com/flash/source.php?id=1.201">Senocular 3D Globe (Flash Player 10)<br />
</a><a href="http://freeearth.poly9.com/">FreeEarth (Javascript)</a><a href="http://senocular.com/flash/source.php?id=1.201"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2008/11/04/papervision-and-geocoding/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WiiFlash + Papervision = Coolness</title>
		<link>http://blog.728media.com/2008/11/04/wiiflash-papervision-coolness/</link>
		<comments>http://blog.728media.com/2008/11/04/wiiflash-papervision-coolness/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 18:31:57 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Papervision]]></category>
		<category><![CDATA[phidgets]]></category>

		<guid isPermaLink="false">http://blog.728media.com/2008/11/04/wiiflash-papervision-coolness/</guid>
		<description><![CDATA[Jeff Winder has taken the WiiFlash library and an WiiMote to rotate a papervision cube using the accelerometers of the Wiimote. To top it off, he has a Phidgets Servomotor that spins also to matech the papervision cube.
seedylifestyle: WiiFlash with Papervision3D and Phidgets Servomotor.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.blogger.com/profile/04959577455062671185">Jeff Winder</a> has taken the <a href="http://code.google.com/p/wiiflash/">WiiFlash</a> library and an WiiMote to rotate a papervision cube using the accelerometers of the Wiimote. To top it off, he has a <a href="http://www.phidgets.com/">Phidgets</a> Servomotor that spins also to matech the papervision cube.</p>
<p><a href="http://seedylifestyle.blogspot.com/2008/05/wiiflash-with-papervision3d-and.html">seedylifestyle: WiiFlash with Papervision3D and Phidgets Servomotor</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2008/11/04/wiiflash-papervision-coolness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Super Duper Desktop FLV Player for Adobe AIR</title>
		<link>http://blog.728media.com/2008/10/29/super-duper-flv-player-for-adobe-air/</link>
		<comments>http://blog.728media.com/2008/10/29/super-duper-flv-player-for-adobe-air/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 21:01:10 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[flv]]></category>

		<guid isPermaLink="false">http://blog.728media.com/2008/10/29/super-duper-flv-player-for-adobe-air/</guid>
		<description><![CDATA[
I had started creating AIR apps since the first beta release and I love how easy it is to create a simple customized tool quickly to help with day to day activities. Until now I&#8217;ve been using the WimpyFLV Player with limited success. It was ok, but would have issues playing back files on the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" src="http://upload.macromedia.com/exchange/airmp/previews/screenshot13.jpg" alt="" /></p>
<p>I had started creating AIR apps since the first beta release and I love how easy it is to create a simple customized tool quickly to help with day to day activities. Until now I&#8217;ve been using the <a href="http://www.wimpyplayer.com/products/wimpy_standalone_flv_player.html">WimpyFLV Player</a> with limited success. It was ok, but would have issues playing back files on the network. So I developed my own player that is simple and straight to the point. For development purposes I have the dimensions of the video file in the upper right hand corner and the length of the video in seconds. This helps since you can&#8217;t just view the properties of an FLV to get this information. Check out the link below to download the .air file.</p>
<p><a href="http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&amp;loc=en_us&amp;extid=1698179">Adobe &#8211; Adobe AIR Marketplace Photo &amp; Video</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2008/10/29/super-duper-flv-player-for-adobe-air/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Flash Player 10 Fabric Demo</title>
		<link>http://blog.728media.com/2008/10/28/flash-player-10-fabric-demo/</link>
		<comments>http://blog.728media.com/2008/10/28/flash-player-10-fabric-demo/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 20:38:36 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[APE]]></category>
		<category><![CDATA[flash player]]></category>
		<category><![CDATA[fp10]]></category>
		<category><![CDATA[physics]]></category>

		<guid isPermaLink="false">http://blog.728media.com/2008/10/28/flash-player-10-fabric-demo/</guid>
		<description><![CDATA[
Justin Everett-Church, Senior Adobe Flash Player Product Manager, just posted a new demo showing off Flash Player 10&#8217;s new 3D capabilities. It&#8217;s a fabric demo that uses APE (Actionscript Physics Engine) to simulate the physics. This demo may look familiar to a previous papervision demo (which no longer seems to be live, sorry).
Justin&#8217;s Flash Blog
]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" src="http://justin.everett-church.com//wp-images/clothDemo.jpg" alt="" /></p>
<p><a href="http://justin.everett-church.com/">Justin Everett-Church</a>, Senior Adobe Flash Player Product Manager, just posted a new demo showing off Flash Player 10&#8217;s new 3D capabilities. It&#8217;s a fabric demo that uses <a href="http://www.cove.org/ape/">APE (Actionscript Physics Engine) </a>to simulate the physics. This demo may look familiar to a previous papervision demo (which no longer seems to be live, sorry).</p>
<p><a href="http://justin.everett-church.com/index.php/2008/10/23/flash-player-10-experiment-1-cloth-texture-mapping/">Justin&#8217;s Flash Blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2008/10/28/flash-player-10-fabric-demo/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Tips on how to write efficient AS3 » Lost In Actionscript</title>
		<link>http://blog.728media.com/2008/10/10/tips-on-how-to-write-efficient-as3-%c2%bb-lost-in-actionscript/</link>
		<comments>http://blog.728media.com/2008/10/10/tips-on-how-to-write-efficient-as3-%c2%bb-lost-in-actionscript/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 20:59:47 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://blog.728media.com/2008/10/10/tips-on-how-to-write-efficient-as3-%c2%bb-lost-in-actionscript/</guid>
		<description><![CDATA[Most of these are new to me, great writeup!
Tips on how to write efficient AS3 » Lost In Actionscript &#8211; Shane McCartney
]]></description>
			<content:encoded><![CDATA[<p>Most of these are new to me, great writeup!</p>
<p><a href="http://www.lostinactionscript.com/blog/index.php/2008/09/28/tips-on-how-to-write-efficient-as3/">Tips on how to write efficient AS3 » Lost In Actionscript &#8211; Shane McCartney</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2008/10/10/tips-on-how-to-write-efficient-as3-%c2%bb-lost-in-actionscript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gotoandlearn.com &#8211; Flash CS4 Feature Tour</title>
		<link>http://blog.728media.com/2008/09/25/gotoandlearncom-flash-cs4-feature-tour/</link>
		<comments>http://blog.728media.com/2008/09/25/gotoandlearncom-flash-cs4-feature-tour/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 20:31:16 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[cs4]]></category>
		<category><![CDATA[lee brimlow]]></category>

		<guid isPermaLink="false">http://blog.728media.com/2008/09/25/gotoandlearncom-flash-cs4-feature-tour/</guid>
		<description><![CDATA[Lee Brimlow has added another great video tutorial to gotoAndLearn that leads through some of the great new features in the new Flash CS4.
gotoandlearn.com &#8211; Flash CS4 Feature Tour
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.theflashblog.com">Lee Brimlow</a> has added another great video tutorial to <a href="http://www.gotoAndLearn.com">gotoAndLearn </a>that leads through some of the great new features in the new Flash CS4.</p>
<p><a href="http://www.gotoandlearn.com/play?id=87">gotoandlearn.com &#8211; Flash CS4 Feature Tour</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2008/09/25/gotoandlearncom-flash-cs4-feature-tour/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>False 3D in Flash: Displacement Maps</title>
		<link>http://blog.728media.com/2008/09/18/false-3d-in-flash-displacement-maps/</link>
		<comments>http://blog.728media.com/2008/09/18/false-3d-in-flash-displacement-maps/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 17:21:49 +0000</pubDate>
		<dc:creator>Andrew Christensen</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[Labs]]></category>
		<category><![CDATA[3D]]></category>
		<category><![CDATA[displacement map]]></category>
		<category><![CDATA[faux 3d]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[Joel Gillman]]></category>

		<guid isPermaLink="false">http://blog.728media.com/2008/09/18/false-3d-in-flash-displacement-maps/</guid>
		<description><![CDATA[
We recently had one of our interns slave over getting a Displacement Map Filter project off the ground and displaying a flat image in faux 3D. After long hours of slavery, his hard work paid off and we recieved this great tutorial that blows most out of the water. Great work Joel, now get me [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" src="http://lab.joelgillman.com/thepress/wp-content/uploads/2008/09/displacement_breakthrough.png" alt="" /></p>
<p>We recently had one of our interns slave over getting a Displacement Map Filter project off the ground and displaying a flat image in faux 3D. After long hours of slavery, his hard work paid off and we recieved this great tutorial that blows most out of the water. Great work Joel, now get me a damn cup of coffee!</p>
<p><a href="http://lab.joelgillman.com/archives/30_false-3d-in-flash-displacement-maps">lab.joelGillman.com › False 3D in Flash: Displacement Maps</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.728media.com/2008/09/18/false-3d-in-flash-displacement-maps/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
