air HTMLControl

Problèmes avec HTMLControl sur air 1.1 ?...solution:

Pourr afficher une page html dans une application air, il faut ajouter la balise :
<mx :HTML width="100%" height="100%" id="html" />

Et le code suivant pour charger une page:
html.location="http://www.progs.fr";

Version full actionscript:
Fichier mxml:

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute   creationComplete="init()" >
<mx:Script source="progs.as"/>
</mx:WindowedApplication>


Fichier progs.as:
import mx.controls.HTML;
private var html:HTML;
 
private function init():void{
    html=new HTML();
    addChild(html);
    html.location="http://www.google.fr";
}

Pour en savoir plus voiçi un exemple sympa:
http://download.macromedia.com/pub/developer/air/sample_apps/HTMLScout.air
http://download.macromedia.com/pub/developer/air/sample_apps/HTMLScout.zip