A small web browser

How to do your own web browser with Flex and Adobe Air?

Here is the code:

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
    <mx:HBox width="100%" defaultButton="{btnGo}">
        <mx:TextInput id="tiUrl" width="100%" text="{browser.location}"/>
        <mx:Button  id="btnGo" label="Go" click="browser.location=tiUrl.text"/>
    </mx:HBox>
    <mx:HTML id="browser" location="http://www.google.com" width="100%" height="100%"/>
</mx:WindowedApplication>

Notes:

  • Default button (see HBox) means when you press Enter key, then application will act as you click on the button
  • text="{browser.location}" will display current browser location





Google

Motivation

Details…


PHP Doctrine

Details…


Example of materialized path data

Details…