<?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>Randy Troppmann</title>
	<atom:link href="http://www.randytroppmann.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.randytroppmann.com</link>
	<description>Interactive designer / developer • Web • Mobile • Desktop</description>
	<lastBuildDate>Thu, 26 Jan 2012 21:41:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>If HTML5 is a shield, then Flex is the sword.</title>
		<link>http://www.randytroppmann.com/2012/01/18/if-html5-is-a-shield-then-flex-is-the-sword/</link>
		<comments>http://www.randytroppmann.com/2012/01/18/if-html5-is-a-shield-then-flex-is-the-sword/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 17:09:54 +0000</pubDate>
		<dc:creator>Randy</dc:creator>
				<category><![CDATA[Flash development]]></category>

		<guid isPermaLink="false">http://www.randytroppmann.com/?p=1002</guid>
		<description><![CDATA[There is plenty of activity going on in the Apache Flex incubation and one current initiative is the development of a new logo. In true open source fashion, there is a contest going on (yesterday was the last day for submissions) and soon there will be a vote. You can see all the submissions here. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.randytroppmann.com/flex-logo/flex-logo-01-randy-troppmann.png" alt="Proposed Flex Logo." /></p>
<p>There is plenty of activity going on in the <a href="http://incubator.apache.org/flex/">Apache Flex incubation</a> and one current initiative is the development of a new logo. In true open source fashion, there is a contest going on (yesterday was the last day for submissions) and soon there will be a vote. You can see all the submissions <a href="http://incubator.apache.org/flex/logo-contest.html" title="Apache Flex Logo contest">here</a>.</p>
<p>Above is my submission. I had a lot of fun thinking about what I wanted to say in a logo. My initial goal was to create a logo that, in terms of visual impact, would hold its own with the HTML5 shield if they were both to appear in a document. That&#8217;s important visually and symbolically. The idea that a sword complements a shield just naturally flowed from that. I don&#8217;t see this as a &#8220;versus&#8221; approach. A sword and a shield work together. This design is brash and whimsical.</p>
<p>I remember the HTML5 shield getting a lot of criticism when introduced, yet look how well it works. It was 30 feet high on the screen at the Max keynote and looked amazing. Imagine this logo beside it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randytroppmann.com/2012/01/18/if-html5-is-a-shield-then-flex-is-the-sword/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Flash Builder for PHP install workaround</title>
		<link>http://www.randytroppmann.com/2011/11/07/flash-builder-for-php-install-workaround/</link>
		<comments>http://www.randytroppmann.com/2011/11/07/flash-builder-for-php-install-workaround/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 17:52:25 +0000</pubDate>
		<dc:creator>Randy</dc:creator>
				<category><![CDATA[Flash development]]></category>

		<guid isPermaLink="false">http://www.randytroppmann.com/?p=993</guid>
		<description><![CDATA[I have a quick project that might benefit from the workflow offered by Adobe Flash Builder for PHP so I thought I would download the trial and see what it is all about. The Zend framework combined with AMF looks interesting. Unfortunately there were some unexpected road blocks. I believe FB-PHP is designed to install [...]]]></description>
			<content:encoded><![CDATA[<p>I have a quick project that might benefit from the workflow offered by <strong>Adobe Flash Builder for PHP</strong> so I thought I would download the trial and see what it is all about. The <a href="http://framework.zend.com/download/amf">Zend framework combined with AMF</a> looks interesting. Unfortunately there were some unexpected road blocks.</p>
<p>I believe FB-PHP is designed to install and run beside your existing Flash Builder install. At this time I&#8217;m  still not sure. The installer refused to complete the process because of a &#8220;beta version&#8221; of Flash Builder already installed. I uninstalled Flash Builder and ran the installer again which completed the process successfully. When I ran FB-PHP it complained about a conflict with my current CS5 license and requested that I deactivate and enter a compatible license key.</p>
<p>I found out from Adobe that there is indeed a conflict with the CS5.5 licensing scheme which is a bug. Their instuctions are to (temporarily) deactivate CS5.5. Launch and activate FB-PHP with a S/N you can get from here: <a href="https://freeriatools.adobe.com/fbphptrial/">https://freeriatools.adobe.com/fbphptrial/</a> and then reactivate CS5.5. See this <a href="http://kb2.adobe.com/cps/908/cpsid_90822.html">technote</a> for more information.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randytroppmann.com/2011/11/07/flash-builder-for-php-install-workaround/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR 3 enables hardware decoding of H.264 video in iOS apps</title>
		<link>http://www.randytroppmann.com/2011/10/07/air-3-enables-hardware-decoding-of-h-264-video-in-ios-apps/</link>
		<comments>http://www.randytroppmann.com/2011/10/07/air-3-enables-hardware-decoding-of-h-264-video-in-ios-apps/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 16:46:10 +0000</pubDate>
		<dc:creator>Randy</dc:creator>
				<category><![CDATA[Flash development]]></category>

		<guid isPermaLink="false">http://www.randytroppmann.com/?p=974</guid>
		<description><![CDATA[Previously it was not possible to achieve hardware decoding of streaming H.264 video in AIR-made apps on iOS, perhaps served in a multi-bitrate manner . I KNOW, huh? It is, in fact, a very specific requirement for achieving quality video playback on devices. And it is now possible because of AIR 3 and a few [...]]]></description>
			<content:encoded><![CDATA[<p>Previously it was not possible to achieve hardware decoding of streaming H.264 video in AIR-made apps on iOS, perhaps served in a multi-bitrate manner . I KNOW, huh? It is, in fact, a very specific requirement for achieving quality video playback on devices. And it is now possible because of AIR 3 and a few other technologies that have been released recently by Adobe.</p>
<p>First of all there is <a href="http://blogs.adobe.com/osmf/2011/09/announcing-osmf-and-strobe-media-playback-1-6.html">OSMF 1.6</a> which was release a couple weeks ago. As far as iOS is concerned, the most important feature here is the seamless support of StageVideo. This enables close-to-metal high-performance hardware-decoded hardware-rendered video. Within the context of an AIR application there are a couple boilerplate items, in addition to using OSMF ver1.6 to playback your video, that you need to add to your AS3 or Flex project in order to enable this performance.</p>
<ol>
<li>add this compiler argument to ensure it targets Flash Player 11:
<pre>-swf-version=13</pre>
</li>
<li>set the rendermode item in the app descriptor file to &#8220;gpu&#8221; or &#8220;direct&#8221;
<pre>&lt;renderMode&gt;gpu&lt;/renderMode &gt;</pre>
</li>
</ol>
<p>Secondly, and it&#8217;s a biggie, is that you need to point to a streaming service using the recently released <a href="http://blogs.adobe.com/ktowes/2011/09/announcing-adobe-flash-media-server-4-5.html">FMS 4.5</a>. It is the support for Apple&#8217;s <a href="http://en.wikipedia.org/wiki/HTTP_Live_Streaming">HLS</a> (HTTP Live Streaming) support that is required. (By the way, the &#8220;Live&#8221;, as in rhyming with &#8220;hive&#8221;, refers to VOD as well as Live. I like to think of it as that which rhymes with &#8220;give&#8221; and I am less confused). And since you have access to the latest greatest FMS technology you may as well use a manifest file and several versions of the video  encoded at different bit rates to take advantage of the dynamic-mutlibitrate-switching support made possible by various parts of this technology stack. OSMF makes this easy by accepting a URL pointing to the manifest file and everything is taken care of.</p>
<p>The final ingredient is <a href="http://blogs.adobe.com/flashplatform/2011/09/announcing-flash-player-11-and-air-3.html">AIR 3</a>. FMS 4.5 can be used to stream video directly to iOS using mobile safari which is a great solution, but the user is presented with the default iOS video player. Perhaps you want to provide a customized video experience and an app made with AIR is just what you need. AIR version 3 to be more precise. With the Flash api at your disposal, so much is possible. AIR 3, released this week, is the final enabling piece of the puzzle in achieving in-app video nirvana on an iPad. Use AS3-only or Flex Mobile projects with Flash Builder to build an awesome and unique video service, and AIR 3 to package it up and sell it on the app-store.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randytroppmann.com/2011/10/07/air-3-enables-hardware-decoding-of-h-264-video-in-ios-apps/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Determining playback bitrate in an OSMF video player</title>
		<link>http://www.randytroppmann.com/2011/09/21/determining-playback-bitrate-in-an-osmf-video-player/</link>
		<comments>http://www.randytroppmann.com/2011/09/21/determining-playback-bitrate-in-an-osmf-video-player/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 19:12:36 +0000</pubDate>
		<dc:creator>Randy</dc:creator>
				<category><![CDATA[Flash development]]></category>

		<guid isPermaLink="false">http://www.randytroppmann.com/?p=958</guid>
		<description><![CDATA[NAIT has been using my custom video player for years which has seen several updates and redevelopments over time. A year and a half ago I completely rebuilt the player using Adobe&#8217;s OSMF library and it has worked flawlessly. The recent release of OSFM 1.6 spurred me on to revisit the player to bring it [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.nait.ca/">NAIT</a> has been using my custom video player for years which has seen several updates and redevelopments over time. A year and a half ago I completely rebuilt the player using Adobe&#8217;s <a href="http://www.osmf.org/">OSMF</a> library and it has worked flawlessly. The recent release of <a href="http://blogs.adobe.com/osmf/2011/09/announcing-osmf-and-strobe-media-playback-1-6.html">OSFM 1.6</a> spurred me on to revisit the player to bring it up to date. A lot has changed in the last year and a half, the most significant item being StageVideo.</p>
<p>I was really happy to see that merely swapping out the OSMF.swc library and recompiling was all I needed to do. No errors. This alone made the work around incorporating OSMF worth it. The only consequence of this update is the minimum Flash Player version required is now 10.1.</p>
<p>One item I finally figured out was how to determine total bitrate during video playback. <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.html">NetStream</a> has a <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStreamInfo.html">NetStreamInfo</a> property (called info) which contains all sorts of juicy info, but OSMF does not have any public API for getting access to the NetStream instance. With a lot of googling I found that the not-documented MediaTraitType.LOAD trait has a reference to the NetStream object and can be accessed this way:</p>
<pre>
var mediaLoadTrait:Object = mediaPlayer.media.getTrait(MediaTraitType.LOAD);
var netStreamInfo:NetStreamInfo = mediaLoadTrait.netStream.info;
</pre>
<p>NetStreamInfo has a property of <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStreamInfo.html#playbackBytesPerSecond">playbackBytesPerSecond</a> which is what I needed. We use this information for monitoring quality of service. Note that this is <strong>bytes per second</strong> and most people talk about bitrate as <strong>kilobits per second</strong>. According to google you need to multiply this number by 0.0078125 to determine the kbps bitrate.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randytroppmann.com/2011/09/21/determining-playback-bitrate-in-an-osmf-video-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linking to local files in StageWebView</title>
		<link>http://www.randytroppmann.com/2011/09/20/linking-to-local-files-in-stagewebview/</link>
		<comments>http://www.randytroppmann.com/2011/09/20/linking-to-local-files-in-stagewebview/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 20:32:23 +0000</pubDate>
		<dc:creator>Randy</dc:creator>
				<category><![CDATA[Flash development]]></category>

		<guid isPermaLink="false">http://www.randytroppmann.com/?p=947</guid>
		<description><![CDATA[I have been working with StageWebView in a Flex Mobile AIR project recently. StageWebView uses the native web view on whatever device the AIR app is running. This means the text scrolling is very responsive and you inherit a bunch of functionality that an AS3 based component does not offer. For example, on Android you [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working with <strong><a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/StageWebView.html">StageWebView</a></strong> in a Flex Mobile AIR project recently. StageWebView uses the native web view on whatever device the AIR app is running. This means the text scrolling is very responsive and you inherit a bunch of functionality that an AS3 based component does not offer. For example, on Android you get pinch zoom and auto text-reflow. I need the text to have simple formatting which includes hyperlinks that link to other “pages”. It just so happens that storing the files in individual html files and loading them into a StageWebView instance solves this use case nicely.</p>
<p>It&#8217;s not so simple though. A hyperlink touch fails to load the local page since the StageWebView tries to go out to the web to load the URL supplied by the anchor tag. I found the solution was to hijack the page load on the LocationChangeEvent.LOCATION_CHANGING event and replace it with content loaded from the local html file using an URLLoader. You can see my code example here: <a href="http://github.com/randytroppmann/StageWebView---linking-local-files/blob/master/src/GreyRectangleStageWebViewBug.as" title="github">http://github.com/randytroppmann/StageWebView&#8212;linking-local-files/blob/master/src/GreyRectangleStageWebViewBug.as</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randytroppmann.com/2011/09/20/linking-to-local-files-in-stagewebview/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Adobe AIR App Challenge, Sponsored by Sony!</title>
		<link>http://www.randytroppmann.com/2011/07/19/adobe-air-app-challenge-sponsored-by-sony/</link>
		<comments>http://www.randytroppmann.com/2011/07/19/adobe-air-app-challenge-sponsored-by-sony/#comments</comments>
		<pubDate>Tue, 19 Jul 2011 23:46:20 +0000</pubDate>
		<dc:creator>Randy</dc:creator>
				<category><![CDATA[Flash development]]></category>

		<guid isPermaLink="false">http://www.randytroppmann.com/?p=933</guid>
		<description><![CDATA[I would love to participate in this contest but Canadians are not eligible so your chances are that much better to win! Here is a message from Adobe: Join Adobe and Sony for a webinar to learn about the exciting opportunities to bring innovative apps to Sony Tablet devices, including the just announced Adobe® AIR®App [...]]]></description>
			<content:encoded><![CDATA[<p>I would love to participate in this contest but Canadians are not eligible <img src='http://www.randytroppmann.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  so your chances are that much better to win! Here is a message from Adobe:</p>
<p><br/></p>
<blockquote><p>
Join Adobe and Sony for a webinar to learn about the exciting opportunities to bring innovative apps to Sony Tablet devices, including the just announced Adobe® AIR®App Challenge, Sponsored by Sony <a href="http://www.airappchallenge.com/" title="Adobe AIR App Challenge" target="_blank">www.airappchallenge.com</a>. Adobe and Sony are challenging developers, agencies, and content creators to build breakthrough apps for the upcoming &#8220;Sony Tablet&#8221; devices using Adobe AIR 3 and Adobe® Flash® tools for a chance to win <strong>$200,000 in total cash prizes</strong>, premium promotion on Sony Tablet devices, conference passes and paid travel to Adobe MAX, and more prizes.  In the webinar you’ll learn about the unique features of the Sony Tablet S1 and Sony Tablet S2, as well as how you can be one of the first to gain prerelease access to the tablets, the latest version of Adobe AIR runtime and tools and other benefits. Encourage your peers to attend the webinar and enter the Challenge &#8211; you or someone you know can be one of the first selected as a Finalist by submitting an app or app project now! </p>
<p>Join us on Wednesday July 20, 2011 at 11:00AM – 12:00PM PDT  or 7:00PM – 8:00PM PDT</p>
<p><a href="http://www.adobe.com/cfusion/event/index.cfm?event=detail&#038;id=1851799&#038;loc=en_us" target="_blank">http://www.adobe.com/cfusion/event/index.cfm?event=detail&#038;id=1851799&#038;loc=en_us</a></p>
</blockquote>
<p><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.randytroppmann.com/2011/07/19/adobe-air-app-challenge-sponsored-by-sony/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>StageVideo in Flex mini-gotchya</title>
		<link>http://www.randytroppmann.com/2011/07/11/stagevideo-in-flex-mini-gotchya/</link>
		<comments>http://www.randytroppmann.com/2011/07/11/stagevideo-in-flex-mini-gotchya/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 20:29:49 +0000</pubDate>
		<dc:creator>Randy</dc:creator>
				<category><![CDATA[Flash development]]></category>
		<category><![CDATA[Flex development]]></category>

		<guid isPermaLink="false">http://www.randytroppmann.com/?p=924</guid>
		<description><![CDATA[I was playing around with the new Flash-based stage video api using Thibault Imbert&#8217;s tutorial. I used Flex to build my proof of concept and tried to stream video from our FMS server via RTMP. It all seemed pretty straight forward but for the life of me I couldn&#8217;t figure out why I could only [...]]]></description>
			<content:encoded><![CDATA[<p>I was playing around with the new Flash-based stage video api using <a href="http://www.adobe.com/devnet/author_bios/thibault_imbert.html">Thibault Imbert&#8217;s</a> <a href="http://www.adobe.com/devnet/flashplayer/articles/stage_video.html">tutorial</a>. I used Flex to build my proof of concept and tried to stream video from our FMS server via RTMP. It all seemed pretty straight forward but for the life of me I couldn&#8217;t figure out why I could only <strong>hear</strong> and not <strong>see</strong> the video. Of course! Stage video sits behind everything on the display list and all I had to do was set my base application to have an background alpha of 0. I love simple solutions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randytroppmann.com/2011/07/11/stagevideo-in-flex-mini-gotchya/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex Mobile for iOS has arrived</title>
		<link>http://www.randytroppmann.com/2011/06/20/flex-mobile-for-ios-has-arrived/</link>
		<comments>http://www.randytroppmann.com/2011/06/20/flex-mobile-for-ios-has-arrived/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 16:51:56 +0000</pubDate>
		<dc:creator>Randy</dc:creator>
				<category><![CDATA[Flash development]]></category>
		<category><![CDATA[Flex development]]></category>
		<category><![CDATA[iphone development]]></category>

		<guid isPermaLink="false">http://www.randytroppmann.com/?p=911</guid>
		<description><![CDATA[Things are moving so fast. Last fall I released an app for Android using Flash Builder and Adobe AIR. I remember thinking how great it would be if I could package up the same app for iOS. AIR for iOS? Will never happen. (I was wrong. More about that in a bit). After all, it [...]]]></description>
			<content:encoded><![CDATA[<p>Things are moving so fast. Last fall I released an app for Android using Flash Builder and Adobe AIR. I remember thinking how great it would be if I could package up the same app for iOS. AIR for iOS? Will never happen. (I was wrong. More about that in a bit). After all, it had only been a month or so since Apple modified their terms of service once again allowing cross-compiled apps onto the app store. Adobe had pretty much abandoned their iOS efforts and AIR had progressed significantly over the previous 6 months.</p>
<p>In fall 2010 Adobe reintroduced the &#8220;packager&#8221; for iOS on their Labs site which allowed developers to cross compile Flash and AS3 projects to apps that ran on iOS. Spring 2011 Flash Builder 4.5 was released which included a version of ADT that included the iOS packager and enabled the FB build process (no command line mess) to create iOS apps from AS3-only projects. Missing from FB 4.5, however, was the ability to create a Flex-based mobile projects targeted for iOS. It was still possible to use the command line to craft a command to get ADT to build an iOS app out of your Flex Mobile project. But running this app on an iPad showed that Flex Mobile via AIR on iOS was not quite ready for primetime; the performance was not great.</p>
<p>The <a href="http://blogs.adobe.com/flashplayer/2011/06/adobe-air-2-7-now-available-ios-apps-4x-faster.html">recent release of AIR 2.7</a> has changed all that. With this release Flex mobile apps run with &#8220;native&#8221; performance on iOS. The difference is astounding! It&#8217;s just magical. I have no idea how they did it, but kudos to the Adobe engineers.</p>
<p>This has paved the way for Flash Builder 4.5.1 to now support iOS in the Flex Mobile AIR project wizard. You will now see three target platforms: Apple iOS, Blackberry Tablet OS and Google Android. How sweet is that? It&#8217;s only going to get better.</p>
<p>The version of AIR in FB 4.5.1 release is confusing, however. Officially, FB 4.5.1 uses and supports AIR 2.6. However if you build an iOS app it will indeed use AIR 2.7 to build it. This is confusing! You would think that Adobe would sync the release of AIR 2.7 with their FB 4.5.1 release but it looks like that did not happen. I&#8217;m sure that the next update to FB will fix this.</p>
<p>Flash Builder 4.5.1 is available as an <a href="http://www.adobe.com/support/flex/downloads_updaters.html">updater patch</a> for FB 4.5. If you don&#8217;t have FB 4.5 installed you can download a 60 day trial from <a href="http://www.adobe.com/cfusion/tdrc/thankyou_2.0.cfm?product=flash_builder&#038;loc=en_us">here</a>.<br />
<a href="http://www.randytroppmann.com/wp-content/uploads/2011/06/flexmobile-ios.png"><img src="http://www.randytroppmann.com/wp-content/uploads/2011/06/flexmobile-ios.png" alt="" title="Flash Builder wizard for Flex Mobile Projects " width="590" height="677" class="alignnone size-full wp-image-913" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.randytroppmann.com/2011/06/20/flex-mobile-for-ios-has-arrived/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Purely mobile AS3 workflow with Flash Builder 4.5</title>
		<link>http://www.randytroppmann.com/2011/04/12/pure-as3-workflow-with-flex-builder-4-5/</link>
		<comments>http://www.randytroppmann.com/2011/04/12/pure-as3-workflow-with-flex-builder-4-5/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 15:36:15 +0000</pubDate>
		<dc:creator>Randy</dc:creator>
				<category><![CDATA[Flash development]]></category>
		<category><![CDATA[Flex development]]></category>

		<guid isPermaLink="false">http://www.randytroppmann.com/?p=865</guid>
		<description><![CDATA[I like building apps with &#8220;pure as3&#8243; because it makes me feel like I am programming closer to the metal. A pure AS3 project uses only ActionScript and does not use the Flex framework in any way but still uses mxmlc, the Flex compiler, to create the final swf. The result is a very compact [...]]]></description>
			<content:encoded><![CDATA[<p>I like building apps with &#8220;pure as3&#8243; because it makes me feel like I am programming closer to the metal. A pure AS3 project uses only ActionScript and does not use the Flex framework in any way but still uses mxmlc, the Flex compiler, to create the  final swf. The result is a very compact swf that contains just the code it needs to do the job. There is, however, a price to pay. There is no data-binding, layout manager or mxml and it generally takes a lot more effort to make a polished app.</p>
<p>Flash Builder 4.5  provides a new workflow for building mobile applications making it much easier to develop and test apps. A new project wizard called &#8220;ActionScript Mobile Project&#8221; takes a lot of the pain out of setting up your mobile project and points you in the right direction. The dialog guides you through specific decisions up front so that in the end the project will compile a package for the targeted platform with little fuss. (That is if you avoid the iOS platform, which will require a bunch more fuss.)</p>
<div id="attachment_863" class="wp-caption alignnone" style="width: 540px"><img src="http://www.randytroppmann.com/wp-content/uploads/2011/04/fb4dot5_1.png" alt="Mobile Permissions in Flex Builder 4.5 " title="fb4dot5_1" width="480" height="610" class="size-full wp-image-863" /><p class="wp-caption-text">Mobile Permissions in Flash Builder 4.5 &quot;Actionscript Mobile Project&quot; wizard</p></div>
<p>A new &#8220;ActionScript Mobile Project&#8221; has one class that contains two important lines of boilerplate code:</p>
<p><code style="padding-left:10px"><a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/StageAlign.html">stage.align = StageAlign.TOP_LEFT;</a></code><br />
<code style="padding-left:10px"><a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/StageScaleMode.html">stage.scaleMode = StageScaleMode.NO_SCALE</a>;</code></p>
<p>The absense of these lines is a gotchya for those new to AS3-only development and needs only to be declared once. If you intend to utilize multi-touch you will need to set the input mode:</p>
<p><code style="padding-left:10px"><a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/ui/MultitouchInputMode.html">Multitouch.inputMode =  MultitouchInputMode.TOUCH_POINT;</code></a></p>
<p>Also consider setting the StageDisplayState:</p>
<p><code style="padding-left:10px"><a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/StageDisplayState.html">stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;</a></code></p>
<p>Now you are ready to code up some app magic. </p>
<p>On-device testing is much easier now. Simply connect your Android device via USB and you can run or debug your app directly from Flash Builder. This feature was not available when I developed <a href="https://market.android.com/details?id=air.com.runningmap.Trackometer">RunningMap Trackometer</a> last summer and I find it to be a huge help. If you are running in debug mode, traces show up in the Flash Builder console. </p>
<div id="attachment_864" class="wp-caption alignnone" style="width: 528px"><img src="http://www.randytroppmann.com/wp-content/uploads/2011/04/fb4dot5_2.png" alt="Run Configurations" title="fb4dot5_2" width="518" height="480" class="size-full wp-image-864" /><p class="wp-caption-text">The &quot;Run Configuration&quot; dialog lets you specify where to run the application when testing: on your desktop or on a connected device.</p></div>
<p>Use &#8220;Export Release Build&#8221; to prepare the final binary or package that can be submitted to the appropriate app store. Be forewarned: each app store has it&#8217;s own peculiarities, agreements, requirements and hurdles. FB does it&#8217;s best to get you over the hurdles &#8230; but it can only do so much.</p>
<p>So there you have it: end-to-end creation of platform agnostic apps with ActionScript and Flash Builder. Since mxmlc is used to build the swf, Flash Professional is not required in this workflow. But don&#8217;t count it out out! I still lean on Flash Pro and Adobe Illustrator heavily to create visual assets that get embedded into my AS3-only projects. And &#8230; Flash Pro has it&#8217;s own end-to-end workflow for building apps if that&#8217;s how you roll. The Flash Pro code editor has been improved and is now somewhat tolerable to use. Just feels a little further from the metal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.randytroppmann.com/2011/04/12/pure-as3-workflow-with-flex-builder-4-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Keith Peters on JavaScript</title>
		<link>http://www.randytroppmann.com/2011/04/06/keith-peters-on-javascript/</link>
		<comments>http://www.randytroppmann.com/2011/04/06/keith-peters-on-javascript/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 16:35:47 +0000</pubDate>
		<dc:creator>Randy</dc:creator>
				<category><![CDATA[Flash development]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.randytroppmann.com/?p=852</guid>
		<description><![CDATA[Keith Peters had an EPIC MONTH of writing. Each day of March he published a blog post on JavaScript. I want to read and digest them all along with the comments (blogging FTW). So I made my own post that conveniently links to each article. Thanks for your passion Keith! March is JavaScript Month. And… [...]]]></description>
			<content:encoded><![CDATA[<p>Keith Peters had an <strong>EPIC MONTH</strong> of writing. Each day of March he published a blog post on JavaScript. I want to read and digest them all along with the comments (blogging FTW). So I made my own post that conveniently links to each article. Thanks for your passion Keith!</p>
<p><a href="http://www.bit-101.com/blog/?p=3030">March is JavaScript Month. And… Introducing WireLibJS</a><br />
<a href="http://www.bit-101.com/blog/?p=3057">JavaScript Day 2</a><br />
<a href="http://www.bit-101.com/blog/?p=3069">JavaScript Day 3</a><br />
<a href="http://www.bit-101.com/blog/?p=3074">JavaScript Day 4 : Canvas Basics</a><br />
<a href="http://www.bit-101.com/blog/?p=3094">JavaScript Day 5: Writing Code</a><br />
<a href="http://www.bit-101.com/blog/?p=3096">JavaScript Day 6: WireLibJS internals</a><br />
<a href="http://www.bit-101.com/blog/?p=3098">JavaScript Day 7: Animation</a><br />
<a href="http://www.bit-101.com/blog/?p=3103">JavaScript Day 8: More WireLibJS Internals</a><br />
<a href="http://www.bit-101.com/blog/?p=3105">JavaScript Day 9: Wrapping up WireLibJS internals</a><br />
<a href="http://www.bit-101.com/blog/?p=3112">JavaScript Day 10: Tools, Part 1</a></p>
<p><a href="http://www.bit-101.com/blog/?p=3114">JavaScript Day 11: Tools Part 2: Minification!</a><br />
<a href="http://www.bit-101.com/blog/?p=3120">JavaScript Day 12: Links!</a><br />
<a href="http://www.bit-101.com/blog/?p=3129">JavaScript Day 13: Rewriting WireLibJS</a><br />
<a href="http://www.bit-101.com/blog/?p=3140">JavaScript Day 14: prototype</a><br />
<a href="http://www.bit-101.com/blog/?p=3148">JavaScript Day 15: Particles</a><br />
<a href="http://www.bit-101.com/blog/?p=3150">JavaScript Day 16: More Particles</a><br />
<a href="http://www.bit-101.com/blog/?p=3155">JavaScript Day 17: Color</a><br />
<a href="http://www.bit-101.com/blog/?p=3164">JavaScript Day 18: Linked List</a><br />
<a href="http://www.bit-101.com/blog/?p=3168">JavaScript Day 19: Images</a><br />
<a href="http://www.bit-101.com/blog/?p=3184">JavaScript Day 20: SpriteSheets</a></p>
<p><a href="http://www.bit-101.com/blog/?p=3193">JavaScript Day 21: Text on Canvas</a><br />
<a href="http://www.bit-101.com/blog/?p=3197">JavaScript Day 22: Transformation</a><br />
<a href="http://www.bit-101.com/blog/?p=3207">JavaScript Day 23: Shadows</a><br />
<a href="http://www.bit-101.com/blog/?p=3210">JavaScript Day 24: Curves</a><br />
<a href="http://www.bit-101.com/blog/?p=3214">JavaScript Day 25: More Art</a><br />
<a href="http://www.bit-101.com/blog/?p=3219">JavaScript Day 26: Mouse Part I</a><br />
<a href="http://www.bit-101.com/blog/?p=3228">JavaScript Day 27: Mouse Part II</a><br />
<a href="http://www.bit-101.com/blog/?p=3233">JavaScript Day 28: Creating a UI Component</a><br />
<a href="http://www.bit-101.com/blog/?p=3249">JavaScript Day 29: Pixels</a><br />
<a href="http://www.bit-101.com/blog/?p=3251">JavaScript Day 30: More pixels</a><br />
<a href="http://www.bit-101.com/blog/?p=3256">JavaScript Day 31: The End</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.randytroppmann.com/2011/04/06/keith-peters-on-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

