My first Apollo app

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="" layout="absolute">

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

&lt;mx:Panel title="Source" width="100%" height="50%"&gt;

    &lt;mx:TextArea id="source" width="100%" height="100%" /&gt;


&lt;mx:Panel title="HTML" width="100%" height="50%"&gt;

    &lt;mx:HTML id="html" htmlText="{source.text}" width="100%" height="100%"/&gt;




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.

Like This?

If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can also subscribe to the email feed to get notified of new posts.