<?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>Chuck Freedman &#187; AIR</title>
	<atom:link href="http://www.chuckstar.com/blog/category/technology/apollo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chuckstar.com/blog</link>
	<description>excerpts from the mind of a platform evangelist</description>
	<lastBuildDate>Sun, 29 Jan 2012 09:05:57 +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>AIR/Flex for iOS &amp; Android app deployment notes</title>
		<link>http://www.chuckstar.com/blog/technology/airflex-for-ios-android-app-deployment-notes/</link>
		<comments>http://www.chuckstar.com/blog/technology/airflex-for-ios-android-app-deployment-notes/#comments</comments>
		<pubDate>Fri, 03 Jun 2011 14:23:08 +0000</pubDate>
		<dc:creator>chuckstar</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.chuckstar.com/blog/?p=1224</guid>
		<description><![CDATA[It&#8217;s been 2 years since I wrote a native iPhone app and successfully launched it to the App store. I have been working with native Android off and on since July of 2010. Learning (really playing) with these respective platform technologies has been challenging and fun. In researching some new platform strategies for litl, I [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Fairflex-for-ios-android-app-deployment-notes%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Fairflex-for-ios-android-app-deployment-notes%2F&amp;source=chuckstar&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>It&#8217;s been 2 years since I wrote a native iPhone app and <a href="http://itunes.apple.com/us/app/rock-the-rim/id325892192?mt=8">successfully launched it to the App store</a>. I have been working with native Android off and on since July of 2010. Learning (really playing) with these respective platform technologies has been challenging and fun. In researching some new platform strategies for litl, I needed to start checking out some &#8216;write once&#8217; technologies. I started looking at <a href="http://www.anscamobile.com/corona/">Corona</a> and <a href="http://www.adobe.com/devnet/air.html">AIR</a> especially. Ultimately, my familiarity and access to AIR led me to dive into reusing my Flash chops.. for now. The results, so far, have been staggeringly easy and exciting.</p>
<p><iframe src="http://player.vimeo.com/video/24479232?portrait=0" width="500" height="300" frameborder="0"></iframe></p>
<p>This demo app is pretty simple, using Touch events, some Flex Spark effects for animation and sound playback. The example is less than 100 lines of code. The devices you see are the iPad2 and the yet-to-be-released <a href="http://news.cnet.com/8301-17938_105-20066964-1/samsung-galaxy-tab-10.1-google-i-o-edition-review-thin-light-and-spinnable/">Samsung 10.1 Tab distributed at GoogleIO</a>.</p>
<p>Overall, the performance on both devices is impressive. I&#8217;ve noticed a few more bugs on the Android side, mostly resulting in quirky touch handling and disappearing sprites. Also, the sound takes a little longer to load on the Android tablet. Aside from these issues, it&#8217;s been great showing these results to colleagues. I&#8217;m hoping to build out the demo app into an actual game. Also, I&#8217;d love to get my hands on some other devices (the Playbook and Nook Color) to test this process out more.</p>
<p>Here is an account of the steps I took to complete this experiment, along with approx times. Note the quickness getting this on my Android tablet vs the lengthy process of setting up my MBP to deploy to the iPad2:</p>
<table width=500>
<tr>
<th width=25></th>
<th width=375>Step</th>
<th width=100>Time (mins)</th>
</tr>
<tr>
<td>1.</td>
<td>
Downloaded latest FlashBuilder 4.5 with AIR 2.7
</td>
<td>~45</td>
</tr>
<tr>
<td>2.</td>
<td>
Coded initial demo<br />
- Setup Flex Mobile project<br />
- Coding app, mostly remembering how to do simple things in AS3 and Flex<br />
- Launched AIR simulator/emulator to test app
</td>
<td>~60</td>
</tr>
<tr>
<td>3.</td>
<td>
Setup Macbook Pro for app deployment to iPad<br />
- Update xCode version<br />
- Update Mac OS version<br />
- Create certificate<br />
- Provision device
</td>
<td>~120</td>
</tr>
<tr>
<td>4.</td>
<td>
Actually deploy app to iPad2 via Organizer in Xcode
</td>
<td>~5</td>
</tr>
<tr>
<td>5.</td>
<td>
Setup Macbook for app deployment to Android
</td>
<td>0</td>
</tr>
<tr>
<td>6.</td>
<td>
Actually deploy app to Samsung 10.1 Tab via FlashBuilder
</td>
<td>~1</td>
</tr>
</table>
<hr />
You&#8217;ll find the following links essential to figuring this all out:</p>
<p>Packaging apps for Android (from FlashBuilder):<br />
<a href="http://www.adobe.com/devnet/air/articles/packaging-air-apps-android.html">http://www.adobe.com/devnet/air/articles/packaging-air-apps-android.html</a></p>
<p>Packaging apps for iOS (from FlashBuilder):<br />
<a href="http://www.adobe.com/devnet/air/articles/packaging-air-apps-ios.html">http://www.adobe.com/devnet/air/articles/packaging-air-apps-ios.html</a></p>
<p>The provisioning and certificate steps from Apple&#8217;s iOS dev center:<br />
<a href="http://developer.apple.com/devcenter/ios/">http://developer.apple.com/devcenter/ios/</a> [account required]</p>
<p>AS3 Touch Event handling:<br />
<a href="http://help.adobe.com/en_US/as3/dev/WS1ca064e08d7aa93023c59dfc1257b16a3d6-7ffe.html">http://help.adobe.com/en_US/as3/dev/WS1ca064e08d7aa93023c59dfc1257b16a3d6-7ffe.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chuckstar.com/blog/technology/airflex-for-ios-android-app-deployment-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video: Review and demo of AIR for TV</title>
		<link>http://www.chuckstar.com/blog/technology/review-and-demo-of-air-for-tv/</link>
		<comments>http://www.chuckstar.com/blog/technology/review-and-demo-of-air-for-tv/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 17:07:57 +0000</pubDate>
		<dc:creator>chuckstar</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[GoogleTV]]></category>
		<category><![CDATA[LG]]></category>
		<category><![CDATA[Samsung]]></category>
		<category><![CDATA[Sony]]></category>
		<category><![CDATA[TheZSpace]]></category>
		<category><![CDATA[TV]]></category>

		<guid isPermaLink="false">http://www.chuckstar.com/blog/?p=1199</guid>
		<description><![CDATA[In this video, I review Adobe&#8217;s AIR for TV Developer Kit and discuss where it could have great potential for developers getting content and apps on TVs. Also demoed is a 3D Flash game Kevin Suttle and I originally created for litl&#8217;s accelerometer-driven set top box prototype. The ported version of the game relies on [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Freview-and-demo-of-air-for-tv%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Freview-and-demo-of-air-for-tv%2F&amp;source=chuckstar&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In this video, I review Adobe&#8217;s AIR for TV Developer Kit and discuss where it could have great potential for developers getting content and apps on TVs. Also demoed is a 3D Flash game <a href="http://commentedout.posterous.com/">Kevin Suttle</a> and I originally created for litl&#8217;s accelerometer-driven set top box prototype. The ported version of the game relies on <a href="http://blogs.adobe.com/actionscriptdocs/2011/02/remote-control-input-handling-in-air-for-tv-apps.html">AIR for TV&#8217;s simplified d-pad control</a>. </p>
<p><iframe src="http://player.vimeo.com/video/20116378?portrait=0" width="500" height="281" frameborder="0"></iframe><br />
<a href="http://www.vimeo.com/20116378">Watch the video on Vimeo</a>.</p>
<p>Since CES, I&#8217;ve been following the TV App space very closely. I launched a new blog back in January called <a href="http://thezspace.com">TheZSpace.com</a> which allows me to cover the various TV developer platforms as they emerge. ["The Z Space" refers to the <a href="http://www.thezspace.com/about/">depth of interaction between the user and the TV</a>.] Even with <a href="http://devblog.litl.com/news/an-update-about-our-developer-program/">litl no longer launching the TV set top box</a>, I&#8217;ve remained very interested in how Google TV and the major TV brands (Samsung, Panasonic, LG, etc) are building their own SDKs to attract developers and apps. As I mention in the video, AIR for TV may have excellent potential in this space as the individual TV brands represent a very fragmented opportunity to developers &#8212; much more so than mobile or tablets.</p>
<p>Also mentioned in the video is my agenda for presentations on the topic. I&#8217;ll be presenting at <a href="http://www.rmaug.com">Rocky Mountain Adobe User Group</a> tonight. Then, in June, I&#8217;ll be presenting at the exciting <a href="http://flashandthecity.com">Flash And The City</a>.</p>
<p>If this topic interests you and you&#8217;re excited about developer opportunities on TV, check out our blog at <a href="http://thezspace.com">http://thezspace.com</a> and follow us <a href="http://twitter.com/thezspace">@thezspace</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chuckstar.com/blog/technology/review-and-demo-of-air-for-tv/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>litl SDK Available, Developers get webbook for $199</title>
		<link>http://www.chuckstar.com/blog/technology/litl-sdk-available-developers-get-webbook-for-199/</link>
		<comments>http://www.chuckstar.com/blog/technology/litl-sdk-available-developers-get-webbook-for-199/#comments</comments>
		<pubDate>Wed, 19 May 2010 18:21:47 +0000</pubDate>
		<dc:creator>chuckstar</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[litl]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.chuckstar.com/blog/?p=853</guid>
		<description><![CDATA[At FlashAndTheCity, we officially launched our Developer Center at http://developer.litl.com. You can now sign up for the SDK, which is in private beta. To date, we&#8217;ve approved 75% of developer signups based on Flash experience, and more importantly, ideas for channels developers want to build. The latter is important to ensure we dedicate support early [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Flitl-sdk-available-developers-get-webbook-for-199%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Flitl-sdk-available-developers-get-webbook-for-199%2F&amp;source=chuckstar&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>At FlashAndTheCity, we officially launched our Developer Center at <a href="http://developer.litl.com">http://developer.litl.com</a>. You can now sign up for the SDK, which is in private beta. To date, we&#8217;ve approved 75% of developer signups based on Flash experience, and more importantly, ideas for channels developers want to build. The latter is important to ensure we dedicate support early on to those developers most interested in building compelling channels for our users.</p>
<p>We have decided that while coding with the AIR-based Simulator included with the SDK package is sufficient, having a webbook to test and play with is much more fun. Upon signing up for the SDK, developers can get a litl webbook (plus FREE remote) for a subsidized/discounted price of $199.</p>
<p>Visit <a href="http://developer.litl.com">http://developer.litl.com</a> to sign up, learn more, get your discounted webbook and start building fun channels for our users.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chuckstar.com/blog/technology/litl-sdk-available-developers-get-webbook-for-199/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter making its own apps concerns developers</title>
		<link>http://www.chuckstar.com/blog/technology/twitter-making-its-own-apps-concerns-developers/</link>
		<comments>http://www.chuckstar.com/blog/technology/twitter-making-its-own-apps-concerns-developers/#comments</comments>
		<pubDate>Fri, 07 May 2010 17:18:11 +0000</pubDate>
		<dc:creator>chuckstar</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Platform]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.chuckstar.com/blog/?p=836</guid>
		<description><![CDATA[My HTC Intredible shipped with a Twitter app built-in called Peep. It was cool, but lacked some polish I enjoy with Seesmic&#8217;s Twhirl AIR app on my desktop. Being new to Android, I didn&#8217;t realize that features like taskbar notifications were available to other apps &#8212; so I was really impressed when I saw a [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Ftwitter-making-its-own-apps-concerns-developers%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Ftwitter-making-its-own-apps-concerns-developers%2F&amp;source=chuckstar&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.pyramydair.com/blog/2005/09/what-is-field-target.html"><img src="http://www.pyramydair.com/blog/images/field-target-web.jpg" alt="bird target" border="0" /></a></p>
<p>My HTC Intredible shipped with a Twitter app built-in called Peep. It was cool, but lacked some polish I enjoy with Seesmic&#8217;s Twhirl AIR app on my desktop. Being new to Android, I didn&#8217;t realize that features like taskbar notifications were available to other apps &#8212; so I was really impressed when I saw a little &#8216;birdie&#8217; icon whenever someone replied/dm&#8217;d/or included me in their tweet.</p>
<p>Days after I got my Incredible, I learned that Twitter, themselves, had launched their own Android app. I downloaded and fell in love. Not only did it beat Peep in terms of usability, navigation and &#8216;Android&#8217; integration, it also surpasses Twhirl. It&#8217;s got me wondering now, when will Twitter put out its own desktop-integrated app (not counting the web site) as an alternative to existing 3rd party apps. And if they do, what will the makers of Twhirl, Tweetdeck and many others have to say about it.</p>
<p>Turns out, Twitter is already fostering some bad blood among its own developer community. Up until now, I think developers integrating Twitter APIs felt they had the franchise on building 3rd party, OS/Desktop/Mobile integrated apps. To see the service company now build/acquire apps and offer them as their own is sending the wrong message to developers. It says, &#8220;we appreciate you doing what you did and helping grow our user base to millions. Now let us take it from here&#8230;&#8221;. This is a dangerous message for a service providing company with an abundant platform like Twitter to send. </p>
<p>Members of the developer community have been voicing their opinions starting around Twitter&#8217;s developer event &#8220;Chirp&#8221; (see<br />
&#8220;<a href="http://www.nytimes.com/2010/04/12/technology/12twitter.html">Tensions Rise for Twitter and App Developers</a>&#8221; and &#8220;<a href="http://dvice.com/archives/2010/04/why-is-twitter.php">Why is Twitter suddenly making its own apps?</a>&#8220;) and you can see there&#8217;s something interesting brewing here. I&#8217;m interested to see how this pans out. While the &#8216;mashup&#8217; scene has all but faded over the past few years, building apps around 3rd party APIs remains hot. Other companies who have no intention to compete with their developers, as Twitter seems to be doing, will need to make it super clear to avoid potentially negative comparison.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chuckstar.com/blog/technology/twitter-making-its-own-apps-concerns-developers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIR mobile and the mystery that awaits us!</title>
		<link>http://www.chuckstar.com/blog/technology/air-mobile-and-the-mystery-that-awaits-us/</link>
		<comments>http://www.chuckstar.com/blog/technology/air-mobile-and-the-mystery-that-awaits-us/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 02:45:16 +0000</pubDate>
		<dc:creator>chuckstar</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.chuckstar.com/blog/?p=719</guid>
		<description><![CDATA[I started writing a lengthy comment in response to brother Kevin Suttle&#8216;s very concise and well-written celebration post on the announcement of AIR for Android and Mobile. Please read that first here: http://kevinsuttle.com/2010/02/15/air-mobile-will-spark-the-era-of-contextual-applications/ In response to that post and many other announcements today, I have a lot of thoughts and questions I&#8217;d like to air [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Fair-mobile-and-the-mystery-that-awaits-us%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Fair-mobile-and-the-mystery-that-awaits-us%2F&amp;source=chuckstar&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://www.chuckstar.com/blog/wp-content/uploads/2010/02/wonka.jpg" alt="Wonka river of chocolate" title="Wonka river of chocolate" width="420" height="335" class="alignnone size-full wp-image-720" /></p>
<p>I started writing a lengthy comment in response to brother <a href="http://kevinsuttle.com">Kevin Suttle</a>&#8216;s very concise and well-written celebration post on the announcement of AIR for Android and Mobile. Please read that first here: <a href="http://kevinsuttle.com/2010/02/15/air-mobile-will-spark-the-era-of-contextual-applications/">http://kevinsuttle.com/2010/02/15/air-mobile-will-spark-the-era-of-contextual-applications/</a></p>
<p>In response to that post and many other announcements today, I have a lot of thoughts and questions I&#8217;d like to <del>air out</del> post. Before I get into this, I feel the need to state now that I love AIR. I&#8217;ve loved building AIR apps, coding with both CS4 and FlashBuilder. I am thrilled that Adobe is pushing this further into the mobile realm and hope the adoption skyrockets! I think it is the future of the Flash platform.</p>
<p>And now, some of my thoughts/questions and issues:</p>
<p>A. Aside from the use of a common language and platform in Flash, how can/will building AIR mobile apps be a unified advantage over building native apps on the device? As Ryan Stewart noted, <a href="http://blog.digitalbackcountry.com/2010/02/air-and-flash-player-coming-for-android-and-mobile-devices/">&#8220;Depending on the device, you may want to make some small modifications, but you’ll be able to reuse your assets and a bulk of the code to quickly create cross-platform mobile applications with AIR mobile.&#8221;</a> As we know some of the pave-over pitfalls of building AIR apps across Mac and Windows, there are some conditionals required to handle things like docking and alerts. My hope is that Adobe can continue to offer more seamless pave-over/common solutions that will let us tap into unique device platform features with a unified code approach.</p>
<p>B. It&#8217;s hard for me to envision how the same windowing, alert and docking functionality I&#8217;ve implemented in a desktop-based AIR app will appear/function on a mobile platform and smaller screen size. Assuming the mobile device/platform implementation of AIR supports this, will they work in a familiar way so the user knows how to handle them? Example: Twhirl. On Android, will the identical AIR app (if supported verbatim) actually load multiple windows for each of my Twitter accounts and lists? Will the app&#8217;s taskbar/docked icon (or mobile equivalent, if there is one) blink or bounce when I have a new tweet? Will a notification window popup over whatever app I&#8217;m using (or if/when I&#8217;m on a phone call) with new tweets? Hard stuff to imagine, but very exciting possibilities.</p>
<p>C. How will the AIR API proxy unique device functionalities like GPS, Accelerometer, orientation (landscape/portrait), touch/mult-touch, etc? Will we see separate classes for each, or something similar to the Flash Lite implementation of System.Capabilities.hasStylus? Furthermore, if I write such functionality into an app, will AIR ignore or intercept such calls if the same app is installed on a device without that functionality? </p>
<p>D. Most important (to me, anyway) of all, is the issue of distribution. There was an exchange earlier today between <a href="http://twitter.com/__ted__/status/9145249929">Ted and Scott</a> about distribution and monetization. If AIR-built apps are to be listed in respective &#8216;app&#8217; stores on different device platforms, will that require the developer to build/package the app for each device they wish to distribute too? Will there be a unified certificate or similar approach to protect source and assets from onedevice/store/platform to the next?</p>
<p>I&#8217;ve got more questions, but I&#8217;ll leave that for another post. Forgive me as I know the announcement is super fresh, and I&#8217;m sure many of these questions will be answered soon. My excitement has me desiring many answers and discussion now. If you have any thoughts or answers, similar or on other aspects, please post them and let&#8217;s get a dialogue going here. (Feel free to direct responses/comments to <a href="http://kevinsuttle.com/2010/02/15/air-mobile-will-spark-the-era-of-contextual-applications/">brother Kevin Suttle&#8217;s post</a>.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chuckstar.com/blog/technology/air-mobile-and-the-mystery-that-awaits-us/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Flex Example: Populating Value Objects with web service XML</title>
		<link>http://www.chuckstar.com/blog/technology/flex-sample-populating-value-objects-with-web-service-xml/</link>
		<comments>http://www.chuckstar.com/blog/technology/flex-sample-populating-value-objects-with-web-service-xml/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 03:44:18 +0000</pubDate>
		<dc:creator>chuckstar</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.chuckstar.com/blog/?p=617</guid>
		<description><![CDATA[I am working on a little AIR application that stores data both locally (SQLlite) and on a web service (PHP/MySQL) that I&#8217;m building in parallel. When the app starts, it requests initial data to populate a pair of DataGrids in the AIR app. I&#8217;m sending a URLRequest against a URLLoader with simple params and getting [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Fflex-sample-populating-value-objects-with-web-service-xml%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Fflex-sample-populating-value-objects-with-web-service-xml%2F&amp;source=chuckstar&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I am working on a little AIR application that stores data both locally (SQLlite) and on a web service (PHP/MySQL) that I&#8217;m building in parallel. When the app starts, it requests initial data to populate a pair of DataGrids in the AIR app. I&#8217;m sending a URLRequest against a URLLoader with simple params and getting back XML. I am then looping through the items in the returned XML and adding them to an ArrayColletion that acts as the data provider for each DataGrid in the UI.</p>
<p>To bridge the data, I&#8217;m storing each item in a value object, so it is easier to reference the item&#8217;s properties when viewing and modifying data chosen (and moved around) in the DataGrid. I&#8217;m using a nifty trick which seems to be working great for mapping the XML child&#8217;s value right to the value object property. Take a look and see if this works for you:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre></td><td class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> resultHandler<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span>
<span style="color: #000000;">&#123;</span>
	<span style="color: #6699cc; font-weight: bold;">var</span> resultXML<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">XML</span> = <span style="color: #004993;">XML</span><span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">target</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">data</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #6699cc; font-weight: bold;">var</span> items<span style="color: #000066; font-weight: bold;">:</span>ArrayCollection = <span style="color: #0033ff; font-weight: bold;">new</span> ArrayCollection<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #6699cc; font-weight: bold;">var</span> item<span style="color: #000066; font-weight: bold;">:</span>itemVO<span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #009900; font-style: italic;">// Convert XML to ArrayCollection</span>
	<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #0033ff; font-weight: bold;">each</span><span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> itemXML<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">XML</span> <span style="color: #0033ff; font-weight: bold;">in</span> resultXML<span style="color: #000066; font-weight: bold;">.</span>item<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span>
		item = <span style="color: #0033ff; font-weight: bold;">new</span> itemsVO<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #0033ff; font-weight: bold;">each</span> <span style="color: #000000;">&#40;</span><span style="color: #6699cc; font-weight: bold;">var</span> itemProp<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">XML</span> <span style="color: #0033ff; font-weight: bold;">in</span> itemXML<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">children</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
			<span style="color: #009900; font-style: italic;">//Use XML node name to reference matching property in value object				</span>
			item<span style="color: #000000;">&#91;</span>itemProp<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">name</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#93;</span> = itemProp<span style="color: #000066; font-weight: bold;">;</span>
		<span style="color: #000000;">&#125;</span>
		items<span style="color: #000066; font-weight: bold;">.</span>addItem<span style="color: #000000;">&#40;</span>item<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
	<span style="color: #000000;">&#125;</span>		
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>Of course, this only works if you create properties in your value object that match the xml nodes you are returned (or that are being returned) from the web service&#8217;s XML.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chuckstar.com/blog/technology/flex-sample-populating-value-objects-with-web-service-xml/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Presenting to a packed house at FOTB</title>
		<link>http://www.chuckstar.com/blog/technology/presenting-to-a-packed-house-at-fotb/</link>
		<comments>http://www.chuckstar.com/blog/technology/presenting-to-a-packed-house-at-fotb/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 14:48:04 +0000</pubDate>
		<dc:creator>chuckstar</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.chuckstar.com/blog/?p=444</guid>
		<description><![CDATA[I&#8217;ve heard rumors that over a hundred were turned away from my session today at FOTB. I&#8217;m happy to say that my debut presentation at Flash on the Beach was super fun and very successful. The stereo microphone demonstrations were flawless. All in all, the questions and audience participation were the best I&#8217;ve ever experienced. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Fpresenting-to-a-packed-house-at-fotb%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Fpresenting-to-a-packed-house-at-fotb%2F&amp;source=chuckstar&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;ve heard rumors that over a hundred were turned away from my <a href="http://www.flashonthebeach.com/sessions/index.php?pageid=2198">session today at FOTB</a>. I&#8217;m happy to say that my debut presentation at <a href="http://www.flashonthebeach.com">Flash on the Beach</a> was super fun and very successful. The stereo microphone demonstrations were flawless. All in all, the questions and audience participation were the best I&#8217;ve ever experienced. Tons of <a href="http://twitter.com/PixelGrease/status/4150102927">positive feedback</a>!</p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=6682148&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=6682148&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/6682148">Presenting at FOTB Brighton</a> from <a href="http://vimeo.com/user851418">Chuck Freedman</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>Even after I was done, nearly 20 folks lined up to meet me, ask deeper questions and talk some more on stereo microphone usage and ideas. Thankfully, I had a bunch of Ribbit shirts and Moleskins to give away.</p>
<p>I also noticed a bunch of very respected community members in the audience. To a speaker at any level, it&#8217;s always great to see other <a href="http://twitter.com/peterelst/status/4146446330">fellow speakers interested in what you&#8217;re doing</a>.</p>
<p>In light of the fact that so many people had to miss my sesison due to limited space, I hope to have a bigger room next year. But, as FOTB organizer <strong>John Davey</strong> pointed out, the intimacy between speaker and audience that the FOTB Pavilion provides is often a very coveted thing. I loved it and hope to experience it for years to come. </p>
<p><a href="http://www.flickr.com/photos/55674594@N00/3941281894/" title="Packed house at FOTB by chuckstar22, on Flickr"><img src="http://farm4.static.flickr.com/3446/3941281894_3b5d6d82a4.jpg" width="500" height="375" alt="Packed house at FOTB" /></a></p>
<p>FOTB is living up to it&#8217;s amazing reputation, and per 2 Adobe attendees I&#8217;ve talked to, it&#8217;s now considered the best in the world!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chuckstar.com/blog/technology/presenting-to-a-packed-house-at-fotb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Coding iPhone and Flash Mobile, back to back</title>
		<link>http://www.chuckstar.com/blog/technology/coding-iphone-and-flash-mobile-back-to-back/</link>
		<comments>http://www.chuckstar.com/blog/technology/coding-iphone-and-flash-mobile-back-to-back/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 19:54:47 +0000</pubDate>
		<dc:creator>chuckstar</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Platform]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.chuckstar.com/blog/?p=406</guid>
		<description><![CDATA[After spending the bulk of my &#8216;personal coding time&#8217; over the last 6 weeks on building my first iPhone game/application, I&#8217;ve moved on to another mobile coding platform. After 6 weeks of learning Objective C and Xcode (also my first time coding on a Mac), I&#8217;ve jumped back in time to a mobile platform called [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Fcoding-iphone-and-flash-mobile-back-to-back%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Fcoding-iphone-and-flash-mobile-back-to-back%2F&amp;source=chuckstar&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://farm3.static.flickr.com/2568/3819157493_f50d80bf6e.jpg"><img src="http://farm3.static.flickr.com/2568/3819157493_f50d80bf6e.jpg" alt="pool slide" /></a></p>
<p>After spending the bulk of my &#8216;personal coding time&#8217; over the last 6 weeks on building my first iPhone game/application, I&#8217;ve moved on to another mobile coding platform. After 6 weeks of learning Objective C and Xcode (also my first time coding on a Mac), I&#8217;ve jumped back in time to a mobile platform called Flash Lite. Pretty insane. It&#8217;s a mobile coding mind bender. The developer&#8217;s equivalent to a gender transformation.</p>
<p>These are completely different platforms, and the approach, &#8216;vibe&#8217; around them, and outcome couldn&#8217;t be anymore different.</p>
<p>With the iPhone, with each compile &#038; build, seeing and feeling the app load on a my sleek iPod Touch, I felt like I was an Olympic swimmer, making a sleek dive off a precision diving board into a crystal clear pool surrounded by people sunning themselves and drinking vibrant cocktails.</p>
<p>On the other side, cracking open Flash Professional, coding archaic ActionScript 2 and compiling into the Flash Lite simulator they call Device Central, the experience was much different. It feels like you&#8217;re climbing up those wet and slimy stairs of a pool slide, making your way down the insufficiently watered and windy curves, somewhat burning your skin on the sides of the dry plastic, before getting dumped into a pool of a few senior citizens floating on foam noodles and sort of applauding at me.</p>
<p>Strangely&#8230; I still really love the latter experience. Why? Because it feels unique and un-crowded. The stuff I&#8217;m doing <em>seems</em> far more untouched, less shiny, yet way more revolutionary. And the stuff I build with the latter process can be published to a comparatively infinite number of brands and devices. The same Flash Lite (FP6 level) .swf I coded co-exists on both a Chumby, as well as my <a href="http://www.adobe.com/devnet/devices/psp.html">Sony PSP</a>. (Pause for a second and imagine that. Two companies, produce two devices, meant for a much different purpose and market. Yet, they are bound by a common mobile platform that tells me, the developer, that I can WRITE ONCE!] I haven&#8217;t even tried my Flash Lite app on actual mobile phones yet. The thing is&#8230; I don&#8217;t need to. I know what I&#8217;ve done and accomplished. Feels good.</p>
<p>The app I built will be demo&#8217;d at http://developer.ribbit.com/blog in the near future.</p>
<p>While the process still needs a lot of help, I can see how Flash Lite (soon to be much grandeur Flash Mobile development) still has a huge place in this mobile application movement. And now that I&#8217;ve had my moment with Flash mobile coding, it&#8217;s back to iPhone to build another app that I hope thousands will enjoy &#8212; at Apple&#8217;s discretion, of course!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chuckstar.com/blog/technology/coding-iphone-and-flash-mobile-back-to-back/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Going under Flash and Flex, Ribbit to release RESTful API</title>
		<link>http://www.chuckstar.com/blog/technology/going-under-flash-and-flex-ribbit-to-release-restful-api/</link>
		<comments>http://www.chuckstar.com/blog/technology/going-under-flash-and-flex-ribbit-to-release-restful-api/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 19:15:18 +0000</pubDate>
		<dc:creator>chuckstar</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.chuckstar.com/blog/?p=254</guid>
		<description><![CDATA[Internally, much of the company has been chanting &#8220;we are going beyond Flash and Flex&#8221;, but I don&#8217;t think the word &#8216;beyond&#8217; is right to say. Maybe &#8216;to the side&#8217;. Definitely not &#8216;over&#8217;. Probably not &#8216;in a tangent&#8217;. However I can get myself to say it, Ribbit is about to offer the global developer community [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Fgoing-under-flash-and-flex-ribbit-to-release-restful-api%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Fgoing-under-flash-and-flex-ribbit-to-release-restful-api%2F&amp;source=chuckstar&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img src="http://www.chuckstar.com/blog/images/chuck_mask1.jpg" alt="" /></p>
<p>Internally, much of the company has been chanting &#8220;we are going beyond Flash and Flex&#8221;, but I don&#8217;t think the word &#8216;beyond&#8217; is right to say. Maybe &#8216;to the side&#8217;. Definitely not &#8216;over&#8217;. Probably not &#8216;in a tangent&#8217;. However I can get myself to say it, Ribbit is about to offer the global developer community the ability to code our communications platform into their applications in more ways than just Flash and Flex. And this is a very good thing&#8230;</p>
<p>Since launching the initial SWC (now called our Flex SDK) back in August of 2007, the platform has enjoyed an incredible run as the leading provider of telephony, voice, messaging and user management services to developers. Our community of over 11,000 developers has built some amazing apps, many of which are hot contenders for our <a href="http://developer.ribbit.com">$100K Killer App Challenge</a>, which culminates this week!</p>
<p>The RESTful API release is really an evolution for the platform as a whole. Unlike Flash Platform, developers will now be able to code machine to machine, schedule calls, perform advanced user management, create user tokens and so much more. The real gem presented in the RESTful API approach is that deploying this as a core platform API gives us the means to tightly wrap almost any other programming language (in demand) around it. </p>
<p><img src="http://www.chuckstar.com/blog/images/chuck_mask2.jpg" alt="" /></p>
<p>Essentially, you are going to see Ribbit offered to developers in languages like PHP, Javascript, Obj C, .Net, AS2 (for Flash lite development), Java, and pretty much whatever the community wants. The true potential for reaching the global community is unlimited and the wide array of language offerings means Ribbit apps can be built on almost any platform out there. And the RESTful API is going to go literally right under our <a href="http://developer.ribbit.com">Flash and Flex</a> offerings, since those APIs can now leverage a much tighter data delivery protocol. </p>
<p>So, what does this mean for a lead evangelist (me, me) who wakes up and goes to bed dreaming of Flash Platform Apps? Well&#8230; if the Ribbit Platform was a chest of toys, I certainly have a much wider variety of things to learn, play with and show off to others! It also means I have access to another side of a web technology I still (sincerely) regard as the most innovative I&#8217;ve ever seen, touched or heard!</p>
<p><img src="http://www.chuckstar.com/blog/images/chuck_mask3.jpg" alt="" /></p>
<p>This news will officially come out from Ribbit while we&#8217;re at SxSw. There will be a special site launched (url to be announced soon) where developers can even go &#8216;vote&#8217; on which language they want to see Ribbit release the most! And as for evangelism, I make my first non-Flash conference appearance in a week. It&#8217;ll be in <a href="http://2009.visitmix.com/">Las Vegas</a>. Sounds like MAX, &#8216;cept not spelled the same way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chuckstar.com/blog/technology/going-under-flash-and-flex-ribbit-to-release-restful-api/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Flex Example: simple slide out menu using effects</title>
		<link>http://www.chuckstar.com/blog/technology/flex-example-simple-slide-out-menu-using-effects/</link>
		<comments>http://www.chuckstar.com/blog/technology/flex-example-simple-slide-out-menu-using-effects/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 16:17:17 +0000</pubDate>
		<dc:creator>chuckstar</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.chuckstar.com/blog/?p=247</guid>
		<description><![CDATA[A lot of Flex developers resort to Flex &#8216;states&#8217; when adding interactivity and transitions to their applications. I built the sample below to show a colleague that using Flex &#8216;effects&#8217; are some times easier and involve less code than &#8216;states&#8217;. This simple example (very beginner) shows how you could build a slide out menu bar [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Fflex-example-simple-slide-out-menu-using-effects%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.chuckstar.com%2Fblog%2Ftechnology%2Fflex-example-simple-slide-out-menu-using-effects%2F&amp;source=chuckstar&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A lot of Flex developers resort to Flex &#8216;states&#8217; when adding interactivity and transitions to their applications. I built the sample below to show a colleague that using Flex &#8216;effects&#8217; are some times easier and involve less code than &#8216;states&#8217;. This simple example (very beginner) shows how you could build a slide out menu bar without the use of states, which I consider a bit difficult to maintain and skin. The code is available for you just below the working sample.</p>
<p>Click the button on the yellow panel to see it slide out like a shelf.</p>
<p><embed src="http://www.chuckstar.com/blog/flash/slideOut_01.swf" quality="high" bgcolor="#000000" width="550" height="400" name="slideOut" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></p>
<p>You can cut and paste this code into your FlexBuilder project and test it out. Feel free to use this in any project or app you are working on.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
</pre></td><td class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Application</span> xmlns:mx=<span style="color: #ff0000;">&quot;http://www.adobe.com/2006/mxml&quot;</span> layout=<span style="color: #ff0000;">&quot;absolute&quot;</span> creationComplete=<span style="color: #ff0000;">&quot;init()&quot;</span><span style="color: #7400FF;">&gt;</span></span>
	<span style="color: #339933;">&lt;mx:Script&gt;</span>
<span style="color: #339933;">		&lt;![CDATA[</span>
&nbsp;
<span style="color: #339933;">			[Bindable]</span>
<span style="color: #339933;">			private var bPanelStartX:Number = 0;</span>
<span style="color: #339933;">			private var bPanelEndX:Number = 0;</span>
&nbsp;
<span style="color: #339933;">			//set position values for back panel</span>
<span style="color: #339933;">			private function init():void</span>
<span style="color: #339933;">			{</span>
<span style="color: #339933;">				bPanelStartX = frontPanel.x - 25;</span>
<span style="color: #339933;">				bPanelEndX = frontPanel.x - 100;				</span>
<span style="color: #339933;">			}</span>
&nbsp;
<span style="color: #339933;">			public function movePanel():void</span>
<span style="color: #339933;">			{</span>
<span style="color: #339933;">				//set target of move transition</span>
<span style="color: #339933;">				panelMover.target = backPanel;				</span>
<span style="color: #339933;">				//determine direction of panel based on position</span>
<span style="color: #339933;">				if (backPanel.x == bPanelStartX) {</span>
<span style="color: #339933;">					panelMover.xFrom = bPanelStartX;</span>
<span style="color: #339933;">					panelMover.xTo = bPanelEndX;</span>
<span style="color: #339933;">				} else {</span>
<span style="color: #339933;">					panelMover.xFrom = bPanelEndX;</span>
<span style="color: #339933;">					panelMover.xTo = bPanelStartX;					</span>
<span style="color: #339933;">				}</span>
<span style="color: #339933;">				//play transition</span>
<span style="color: #339933;">				panelMover.play();				</span>
<span style="color: #339933;">			}</span>
&nbsp;
<span style="color: #339933;">		]]&gt;</span>
<span style="color: #339933;">	&lt;/mx:Script&gt;</span>
&nbsp;
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Canvas</span> id=<span style="color: #ff0000;">&quot;backPanel&quot;</span> width=<span style="color: #ff0000;">&quot;250&quot;</span> height=<span style="color: #ff0000;">&quot;250&quot;</span> x=<span style="color: #ff0000;">&quot;{bPanelStartX}&quot;</span> verticalCenter=<span style="color: #ff0000;">&quot;0&quot;</span> backgroundColor=<span style="color: #ff0000;">&quot;#FFFF00&quot;</span> backgroundAlpha=<span style="color: #ff0000;">&quot;1.0&quot;</span><span style="color: #7400FF;">&gt;</span></span>
		<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Button</span> click=<span style="color: #ff0000;">&quot;movePanel()&quot;</span> x=<span style="color: #ff0000;">&quot;0&quot;</span> verticalCenter=<span style="color: #ff0000;">&quot;0&quot;</span> width=<span style="color: #ff0000;">&quot;25&quot;</span><span style="color: #7400FF;">/&gt;</span></span>
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Canvas</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Canvas</span> id=<span style="color: #ff0000;">&quot;frontPanel&quot;</span> width=<span style="color: #ff0000;">&quot;250&quot;</span> height=<span style="color: #ff0000;">&quot;250&quot;</span> horizontalCenter=<span style="color: #ff0000;">&quot;0&quot;</span> verticalCenter=<span style="color: #ff0000;">&quot;0&quot;</span> backgroundColor=<span style="color: #ff0000;">&quot;#FF0000&quot;</span> backgroundAlpha=<span style="color: #ff0000;">&quot;1.0&quot;</span><span style="color: #7400FF;">&gt;</span></span>
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Canvas</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
	<span style="color: #000000;"><span style="color: #7400FF;">&lt;mx:Move</span> id=<span style="color: #ff0000;">&quot;panelMover&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>	
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/mx:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></td></tr></table></div>

<p>If you know or a more simple way to do this, please feel free to post it on your blog and comment the URL here. If you&#8217;ve got other examples of using transitions without states, feel free to post those as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chuckstar.com/blog/technology/flex-example-simple-slide-out-menu-using-effects/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

