I got to it by usingbrowser.htmlLoader.window.document.title

It's a String.

thanks for that link :)

On Fri, Oct 16, 2009 at 10:34 AM, Glen Pike <[email protected]>wrote:

> Eric E. Dolecki wrote:
>
>> In an HTML Browser control, upon loading, I am trying to get the title out
>> of the DOM.
>>
>> var s:Object = browser.htmlLoader.window.document.getElementsByTagName(
>> "title");
>>
>> testLabel.text = s.length + ", " +  s[0];
>>
>>
>> However, how can I get at the string for that title tag?
>>
>>
>>
>>
> Hi,
>
>   In HTML DOM, title is in the head.
>
>   This doc should be helpful, if you can access your dom in an e4x kind of
> way:
>
>   http://www.w3schools.com/htmldom/default.asp
>
>   I am guessing that this applies to Flex too...
>
>   Glen
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
http://ericd.net
Interactive design and development
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to