Here is my first little Apollo application. I based it on the blog entry written by Rich Tretola. The code is rather simple:

<?xml version="1.0" encoding="utf-8"?> <mx:ApolloApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

<mx:VDividedBox width="100%" height="100%">

<mx:Panel title="Source" width="100%" height="50%">

<mx:TextArea id="source" width="100%" height="100%" />

</mx:Panel>

<mx:Panel title="HTML" width="100%" height="50%">

<mx:HTML id="html" htmlText="{source.text}" width="100%" height="100%"/>

</mx:Panel>

</mx:VDividedBox>

</mx:ApolloApplication>

All I did was bind an HTML control, part of the Apollo framework, to a text area. This is a handy way to quickly test the HTML support for the control. If you want to play with this, first ensure you have the Apollo runtime, then download the AIR file included on this blog entry.

p.s. My friend Scott told me he had issues downloading the attachment. I'd like to blame him (he is so easy to blame!), but it looks like my web server was blocking the extension. I renamed it to a zip.

Download attached file.