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="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.

Comments

the download link doesn't seem to be working
# Posted By hungry | 3/19/07 1:15 PM
Fixed.
# Posted By Raymond Camden | 3/19/07 1:21 PM
Download issues might have been related to this:

http://weblogs.macromedia.com/mesh/archives/2007/0...

mike chambers

mesh@adobe.com
# Posted By mike chambers | 3/19/07 1:30 PM
Thanks Mike. I've added it to my new box. This blog is being moved there in a week or so.
# Posted By Raymond Camden | 3/19/07 1:40 PM
Ok that is so simple yet is one of the best I have seen! It is so cool to see it update the display on each type. It is really cool to then style stuff with CSS in real time and watch things change like borders and stuff!!!!! Very cool!
# Posted By Kyle Hayes | 3/19/07 2:09 PM
Thanks for the link Ray.

Rich
# Posted By Rich Tretola | 3/19/07 6:06 PM
Checked out the samples from Apollo gallery . . . wow - very impressive. Have the SDK installed and downloaded the pocket guidebook and will give this a swirl . . .
# Posted By Lola LB | 3/19/07 8:50 PM