You can access the HTML DOM of that page like this, and get whatever
you want, just like you can in JS:

var forms:* = browser.domWindow.document.getElementsByTagName("form");
var loginForm:* = null;
for each (var f:* in forms)
{
        if (f.innerText.toLowerCase().indexOf("login") >= 0)
        {
                loginForm = f;
                break;
        }
}

This code gets the form on the page with the text "login".

2009/6/11 lehaianh1986 <lehaianh1...@yahoo.com>:
> Hi everyone, I use HTML component in AIR project. When HTML component display 
> the website, I want to read text content of that website. I find but can't 
> see the attribute have what I want. Anyone know about it can help me please?
>
> Hai Anh
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location: 
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
>
>
>
>

Reply via email to