<?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>Alastair&#039;s Axioms &#187; Flash</title>
	<atom:link href="http://blog.alastairdawson.com/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.alastairdawson.com</link>
	<description>Let us toast your non-idiocy</description>
	<lastBuildDate>Thu, 11 Aug 2011 23:13:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Getting a blank screen when using Adobe&#8217;s Flash Packager for iPhone?</title>
		<link>http://blog.alastairdawson.com/2010/10/27/getting-a-blank-screen-when-using-adobes-flash-packager-for-iphone/</link>
		<comments>http://blog.alastairdawson.com/2010/10/27/getting-a-blank-screen-when-using-adobes-flash-packager-for-iphone/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 20:27:40 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://blog.alastairdawson.com/?p=226</guid>
		<description><![CDATA[Chris Cantrell released an iPhone packager refresher a few weeks back but when I packaged up my AIR app I was getting a blank white screen (as were a few others). However I got it to work after I made a few changes to my Application descriptor file &#8211; the XML file created with your [...]]]></description>
			<content:encoded><![CDATA[<p>Chris Cantrell released an <a href="http://blogs.adobe.com/cantrell/archives/2010/09/packager-for-iphone-refresher.html">iPhone packager refresher</a> a few weeks back but when I packaged up my AIR app I was getting a blank white screen (as were a few others). However I got it to work after I made a few changes to my Application descriptor file &#8211; the XML file created with your AIR project e.g. myApp-app.xml.</p>
<p>Make sure you have all the properties as below:</p>
<pre class="textmate-source"><span class="text text_plain"><span class="meta meta_paragraph meta_paragraph_text">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;application xmlns="<span class="markup markup_underline markup_underline_link markup_underline_link_text">http://ns.adobe.com/air/application/2.0</span>"&gt;
</span>    <span class="meta meta_paragraph meta_paragraph_text">&lt;id&gt;com.example.HelloWorld&lt;/id&gt;
    &lt;filename&gt;MobileDesigner&lt;/filename&gt;
    &lt;name&gt;Hello World&lt;/name&gt;
    &lt;version&gt;v1&lt;/version&gt;
    &lt;initialWindow&gt;
</span>        <span class="meta meta_paragraph meta_paragraph_text">&lt;renderMode&gt;gpu&lt;/renderMode&gt;
        &lt;content&gt;HelloWorld.swf&lt;/content&gt;
        &lt;fullScreen&gt;true&lt;/fullScreen&gt;
        &lt;aspectRatio&gt;portrait&lt;/aspectRatio&gt;
        &lt;autoOrients&gt;true&lt;/autoOrients&gt;
        &lt;visible&gt;true&lt;/visible&gt;
</span>    <span class="meta meta_paragraph meta_paragraph_text">&lt;/initialWindow&gt;
    &lt;supportedProfiles&gt;mobileDevice&lt;/supportedProfiles&gt;
    &lt;icon&gt;
&lt;!--        &lt;image29x29&gt;icons/icon29.png&lt;/image29x29&gt; --&gt;
</span>        <span class="meta meta_paragraph meta_paragraph_text">&lt;image57x57&gt;Icon_57.png&lt;/image57x57&gt;
&lt;!--        &lt;image512x512&gt;icons/icon512.png&lt;/image512x512&gt; --&gt;
</span>    <span class="meta meta_paragraph meta_paragraph_text">&lt;/icon&gt;
    &lt;iPhone&gt;
</span>        <span class="meta meta_paragraph meta_paragraph_text">&lt;InfoAdditions&gt;
</span>            <span class="meta meta_paragraph meta_paragraph_text">&lt;![CDATA[
</span>                <span class="meta meta_paragraph meta_paragraph_text">&lt;key&gt;UIStatusBarStyle&lt;/key&gt;
                &lt;string&gt;UIStatusBarStyleBlackOpaque&lt;/string&gt;
                &lt;key&gt;UIRequiresPersistentWiFi&lt;/key&gt;
                &lt;string&gt;NO&lt;/string&gt;
</span>            <span class="meta meta_paragraph meta_paragraph_text">]]&gt;
</span>        <span class="meta meta_paragraph meta_paragraph_text">&lt;/InfoAdditions&gt;
</span>    <span class="meta meta_paragraph meta_paragraph_text">&lt;/iPhone&gt;
&lt;/application&gt;</span></span></pre>
<p>Another tip is to not draw any graphics or UI in your main Sprite&#8217;s constructor. Instead create another method and do any drawing there.</p>
<pre>
package
{
	import flash.display.Sprite;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;

	[SWF(width="320", height="480", frameRate="12", backgroundColor="#FFFFFF")]
	public class HelloWorld extends Sprite
	{
		public function HelloWorld()
		{
			super();

			this.stage.scaleMode = StageScaleMode.NO_SCALE;
			this.stage.align = StageAlign.TOP_LEFT;

			init();
		}

		private function init():void
		{
			var funk:Sprite = new Sprite();
			this.addChild( funk );
			funk.graphics.beginFill( 0xFF0000 );
			funk.graphics.drawRect( 0, 0, 360, 480 );
			funk.graphics.endFill();
		}
	}
}
</pre>
<p>Hope that  helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2010/10/27/getting-a-blank-screen-when-using-adobes-flash-packager-for-iphone/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Some App Engine links</title>
		<link>http://blog.alastairdawson.com/2008/04/15/some-app-engine-links/</link>
		<comments>http://blog.alastairdawson.com/2008/04/15/some-app-engine-links/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 05:19:51 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[ActionSnip]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.vixiom.com/2008/04/15/some-app-engine-links/</guid>
		<description><![CDATA[Aral Balkan on Building Flash applications with Google App Engine.
PureMVC Python / Google App Engine Demo
]]></description>
			<content:encoded><![CDATA[<p>Aral Balkan on <a href="http://aralbalkan.com/1307">Building Flash applications with Google App Engine</a>.</p>
<p><a href="http://trac.puremvc.org/Demo_Python_GoogleAppEngine_Blog">PureMVC Python / Google App Engine Demo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2008/04/15/some-app-engine-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List of Flex resources and tutorials</title>
		<link>http://blog.alastairdawson.com/2008/04/02/list-of-flex-resources-and-tutorials/</link>
		<comments>http://blog.alastairdawson.com/2008/04/02/list-of-flex-resources-and-tutorials/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 02:45:41 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.vixiom.com/2008/04/02/list-of-flex-resources-and-tutorials/</guid>
		<description><![CDATA[Paranoid Ferret Productions, who themselves are a great Flex resource, have a list of the &#8216;Best Adobe Flex Resources and Tutorial Sites&#8216;.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.paranoidferret.com">Paranoid Ferret Productions</a>, who themselves are a great Flex resource, have a list of the &#8216;<a href="http://blog.paranoidferret.com/index.php/2008/03/25/best-adobe-flex-resources-and-tutorial-sites/">Best Adobe Flex Resources and Tutorial Sites</a>&#8216;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2008/04/02/list-of-flex-resources-and-tutorials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ActionScript MVC minimalist example for PureMVC 2.0.3</title>
		<link>http://blog.alastairdawson.com/2008/04/01/actionscript-mvc-minimalist-example-for-puremvc-203/</link>
		<comments>http://blog.alastairdawson.com/2008/04/01/actionscript-mvc-minimalist-example-for-puremvc-203/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 05:50:30 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.vixiom.com/2008/04/01/actionscript-mvc-minimalist-example-for-puremvc-203/</guid>
		<description><![CDATA[I&#8217;ve updated Chandima Cumaranatunge&#8217;s excellent PureMVC walk-through to work with the latest version of PureMVC (2.0.3). Although PureMVC has extensive documentation nothing beats a simple demo for wrapping your brain around the framework. The most helpful part of Chandima&#8217;s tutorial is when he steps through the sequence of actions which includes initialization and then following [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve updated Chandima Cumaranatunge&#8217;s <a href="http://www.as3dp.com/2007/12/27/minimalist-mvc-example-using-the-puremvc-framework/">excellent PureMVC walk-through</a> to work with the latest version of PureMVC (2.0.3). Although PureMVC has extensive documentation nothing beats a simple demo for wrapping your brain around the framework. The most helpful part of Chandima&#8217;s tutorial is when he steps through the sequence of actions which includes initialization and then following a user&#8217;s gesture on a round trip through the framework.</p>
<blockquote><p>
   1. The Concrete Facade class called ApplicationFacade broadcasts a STARTUP Notification.</p>
<p>   2. The STARTUP Notification triggers the StartupCommand command object which registers the KeyDataProxy proxy, and StageMediator mediator.</p>
<p>   3. StageMediator mediator registers a KEY_DOWN Event handler to the stage to intercept key presses. It also registers to receive KEYUPDATE Notifications.</p>
<p>   4. User presses a key generating a KEY_DOWN Event that is intercepted by the key down event handler in the StageMediator.</p>
<p>   5. StageMediator broadcasts a KEYDOWN Notification with the character code of the key in the notification body.</p>
<p>   6. The KEYDOWN Notification triggers the StoreKeyCommand command object, which accesses the KeyDataProxy proxy and updates the model (data object).</p>
<p>   7. The KeyDataProxy proxy stores the data in a data object (just a property in the proxy in this case).</p>
<p>   8. The KeyDataProxy proxy broadcasts a KEYUPDATE Notification with the character code of the key in the notification body.</p>
<p>   9. The KEYUPDATE Notification handler in StageMediator intercepts the KEYUPDATE Notification and traces the key value.</p>
</blockquote>
<p>In my <a href="http://blog.vixiom.com/uploads/mvc_minimalist_v2.zip">updated example</a> I trace out each action to clarify when (and in which file) they occur. Make sure you have <a href="http://puremvc.org/component/option,com_wrapper/Itemid,160/">PureMVC</a> in your class path before running the demo.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2008/04/01/actionscript-mvc-minimalist-example-for-puremvc-203/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PureMVC for Ruby</title>
		<link>http://blog.alastairdawson.com/2008/03/28/puremvc-for-ruby/</link>
		<comments>http://blog.alastairdawson.com/2008/03/28/puremvc-for-ruby/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 14:23:59 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://blog.vixiom.com/2008/03/28/puremvc-for-ruby/</guid>
		<description><![CDATA[The PureMVC framework is considered one of the best for Flash/Flex development (definitely the best documented), I hadn&#8217;t checked out the site in a while (which has undergone an overhaul and is much improved!) and since my last visit PureMVC is now available for not only AS2 and AS3 but C#, ColdFusion, Java, Perl, PHP, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.puremvc.org">The PureMVC framework</a> is <a href="http://www.asserttrue.com/articles/2007/10/17/silvafug-application-frameworks-presentation">considered one of the best</a> for Flash/Flex development (<a href="http://puremvc.org/component/option,com_wrapper/Itemid,30/">definitely the best documented</a>), I hadn&#8217;t checked out the site in a while (which has undergone an overhaul and is much improved!) and since my last visit PureMVC is now available for not only AS2 and AS3 but C#, ColdFusion, Java, Perl, PHP, Python, and Ruby as well.</p>
<p>I should say plans for Ruby as they are <a href="http://puremvc.org/component/option,com_wrapper/Itemid,169/">looking for a project owner</a> to work on the port. I&#8217;d volunteer myself (famous last words) but while I love Ruby I don&#8217;t know the ins and outs of the language as well as I do ActionScript.</p>
<p>In any case having one framework &#8220;to rule them all&#8221; would be a great boost to productivity as you wouldn&#8217;t have to mentally switch gears between the front (Flash/Flex) and back (PHP/Ruby etc.) ends.</p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/eq2qF2X7ZOA&#038;hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/eq2qF2X7ZOA&#038;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2008/03/28/puremvc-for-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deep linking in Flex and Flash with Django</title>
		<link>http://blog.alastairdawson.com/2008/03/25/deep-linking-in-flex-and-flash-with-django/</link>
		<comments>http://blog.alastairdawson.com/2008/03/25/deep-linking-in-flex-and-flash-with-django/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 15:50:28 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://blog.vixiom.com/2008/03/25/deep-linking-in-flex-and-flash-with-django/</guid>
		<description><![CDATA[Aral Balkan shows you how.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://aralbalkan.com/1269">Aral Balkan shows you how</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2008/03/25/deep-linking-in-flex-and-flash-with-django/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build Flash with Ruby</title>
		<link>http://blog.alastairdawson.com/2008/03/24/build-flash-with-ruby/</link>
		<comments>http://blog.alastairdawson.com/2008/03/24/build-flash-with-ruby/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 15:05:16 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://blog.vixiom.com/2008/03/24/build-flash-with-ruby/</guid>
		<description><![CDATA[Via Flex on Rails&#8230;
Using HotRuby it is possible to use straight Ruby to build a Flash app.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://flexonrails.net/?p=110">Via Flex on Rails&#8230;</a></p>
<blockquote><p>Using HotRuby it is possible to use straight Ruby to build a Flash app.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2008/03/24/build-flash-with-ruby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe holding a series of online seminars this week</title>
		<link>http://blog.alastairdawson.com/2008/03/24/adobe-holding-a-series-of-online-seminars-this-week/</link>
		<comments>http://blog.alastairdawson.com/2008/03/24/adobe-holding-a-series-of-online-seminars-this-week/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 15:00:40 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://blog.vixiom.com/2008/03/24/adobe-holding-a-series-of-online-seminars-this-week/</guid>
		<description><![CDATA[Info here.
Some of the more interesting sessions:
Extending Web to the Desktop with AIR
Monday, March 24, 2008
9:00 AM &#8211; 10:00 AM US/Pacific
Getting Started with Flash Lite 3 and CS3
Monday, March 24, 2008
11:00 AM &#8211; 12:00 PM US/Pacific
Building Rich Internet Applications with Flex 3
Monday, March 24, 2008
4:00 PM &#8211; 5:00 PM US/Pacific
Introduction to Adobe Blaze DS
Tuesday, March [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.adobe.com/cfusion/event/index.cfm?event=detail&#038;id=1200007&#038;loc=en_us">Info here.</a></p>
<p>Some of the more interesting sessions:</p>
<p>Extending Web to the Desktop with AIR<br />
Monday, March 24, 2008<br />
9:00 AM &#8211; 10:00 AM US/Pacific</p>
<p>Getting Started with Flash Lite 3 and CS3<br />
Monday, March 24, 2008<br />
11:00 AM &#8211; 12:00 PM US/Pacific</p>
<p>Building Rich Internet Applications with Flex 3<br />
Monday, March 24, 2008<br />
4:00 PM &#8211; 5:00 PM US/Pacific</p>
<p>Introduction to Adobe Blaze DS<br />
Tuesday, March 25, 2008<br />
9:00 AM &#8211; 10:00 AM US/Pacific</p>
<p>Integrating Salesforce.com and Flex<br />
Tuesday, March 25, 2008<br />
11:00 AM &#8211; 12:00 PM US/Pacific</p>
<p>Building AIR Applications with Flash CS3<br />
Tuesday, March 25, 2008<br />
1:00 PM &#8211; 2:00 PM US/Pacific</p>
<p>Adobe AIR Local Data Storage Options With Emphasis on Using Embedded SQL Databases<br />
Wednesday, March 26, 2008<br />
9:00 AM &#8211; 10:00 AM US/Pacific</p>
<p>Flex and Java – Tying the Knot!<br />
Wednesday, March 26, 2008<br />
4:00 PM &#8211; 5:00 PM US/Pacific</p>
<p>Flex Data Services<br />
Thursday, March 27, 2008<br />
9:00 AM &#8211; 10:00 AM US/Pacific</p>
<p>Blood from a Stone: Flash Game Optimization on Low-end mobile devices<br />
Thursday, March 27, 2008<br />
1:00 PM &#8211; 2:00 PM US/Pacific</p>
<p>Flex Visual Data &#038; Charting<br />
Thursday, March 27, 2008<br />
4:00 PM &#8211; 5:00 PM US/Pacific</p>
<p>AIR Native Drag and Drop<br />
Friday, March 28, 2008<br />
1:00 PM &#8211; 2:00 PM US/Pacific</p>
<p>Flex Architecture<br />
Friday, March 28, 2008<br />
4:00 PM &#8211; 5:00 PM US/Pacific</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2008/03/24/adobe-holding-a-series-of-online-seminars-this-week/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flash game makes the jump to Wii</title>
		<link>http://blog.alastairdawson.com/2008/03/21/flash-game-makes-the-jump-to-wii/</link>
		<comments>http://blog.alastairdawson.com/2008/03/21/flash-game-makes-the-jump-to-wii/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 18:06:56 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[Cool Shise]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://blog.vixiom.com/2008/03/21/flash-game-makes-the-jump-to-wii/</guid>
		<description><![CDATA[Defend your Castle (where you fling away attacking stick men) will be one of the first WiiWare games released.
Defend your Castle Wii version

]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.xgenstudios.com/play/castle">Defend your Castle</a> (where you fling away attacking stick men) will be one of the first <a href="http://en.wikipedia.org/wiki/WiiWare">WiiWare</a> games released.</p>
<p><a href="http://www.xgenstudios.com/defend-your-castle/">Defend your Castle Wii version</a></p>
<p><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/4EBKOybfZqI&#038;hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/4EBKOybfZqI&#038;hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2008/03/21/flash-game-makes-the-jump-to-wii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Run Ruby code in the Flash Player?</title>
		<link>http://blog.alastairdawson.com/2008/02/26/run-ruby-code-in-the-flash-player/</link>
		<comments>http://blog.alastairdawson.com/2008/02/26/run-ruby-code-in-the-flash-player/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 02:30:59 +0000</pubDate>
		<dc:creator>Alastair</dc:creator>
				<category><![CDATA[AIR]]></category>
		<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[RIA]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://blog.vixiom.com/2008/02/26/run-ruby-code-in-the-flash-player/</guid>
		<description><![CDATA[Or even better write Flash/Flex Rich Internet Applications with Ruby? Ted Patrick says it may soon be possible.
When Microsoft released Silverlight the one feature that got a lot of people excited was that you could use the language you were most familiar with to build a RIA. Apparently Adobe has an internal project which allows [...]]]></description>
			<content:encoded><![CDATA[<p>Or even better write Flash/Flex Rich Internet Applications with Ruby? <a href="http://www.onflex.org/ted/2008/02/extending-adobe-flash-player-and-adobe.php">Ted Patrick says it may soon be possible</a>.</p>
<p>When Microsoft released Silverlight the one feature that got a lot of people excited was that you could use the language you were most familiar with to build a RIA. Apparently Adobe has an internal project which allows any C or C++ code to run in the Flash Player or on AIR. This means that any language built on C/C++ will also run which means that Java, Python, and my beloved Ruby could also run. Schwing! <img src='http://blog.alastairdawson.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ted is a Python guy so he talks about IronPython and JPython but of course Ruby has <a href="http://jruby.codehaus.org/">JRuby</a> and <a href="http://www.ironruby.net/">IronRuby</a> so I&#8217;m sure the behavior would be similar.</p>
<blockquote><p>Like many organizations Adobe has lots of legacy C/C++ code ranging from PhotoShop filters, to PDF renderers, to readers and writers of every file format in existence, font libraries, to very complex vector renderers, and text layout code. Beyond Adobe there are many open source libraries that could be leveraged as components as well. The big thing for me is that these are not ports of these libraries, they run identical to the original source code down. For example the behavior of Python in Flash Player is identical to C-Python vs the ported behavior under the IronPython and Jython projects. The goal here is to bring lots of these legacy assets, code libraries, and languages into Flash Player and Adobe AIR perfectly so that any developer can leverage them cross-platform to build software. It would not shock me to see some of these components added into the Flash Player component cache so that they essentially are built into the player on first use.</p></blockquote>
<p><a href="http://www.infoworld.com/article/08/02/26/adobe-player_1.html">InfoWorld has more</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alastairdawson.com/2008/02/26/run-ruby-code-in-the-flash-player/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

