Apollo Browser

So I just found time to download the Apollo Beta from adobe labs. It took me a few minutes to build a browser. Not pretty but it works!

<?xml version="1.0" encoding="utf-8"?>
<mx:ApolloApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
   <mx:Script>
      <![CDATA[
         private function goToPage(thisURL:String): void{
            displayPage.location = thisURL;
         }
         private function updateText(thisURL:String): void{
            URLAddress.text = thisURL;
         }
      ]]>
   </mx:Script>
   
   <mx:Panel label="Testing Testing" width="800">
      <mx:HDividedBox>
         <mx:TextInput id="URLAddress" width="600" />
         <mx:Button click="goToPage(URLAddress.text);" />
      </mx:HDividedBox>
      
      <mx:HTML id="displayPage" locationChange="updateText(displayPage.location)" />
   </mx:Panel>
   <mx:Style>
    Application
    {
    background-image:"";
    background-color:"";
    background-alpha:"0.1";
    }
   </mx:Style>
</mx:ApolloApplication>

Comments
BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.