how about yourHtmlComponentInstance.htmlLoader.window.document.documentElement.outerHtml ?
For want of any better knowledge on my part, I generally just set a breakpoint somewhere and inspect the html component in the debugger (with a large element of not at all educated guesswork!) I'd imagine the webkit documentation would give a reasonable guide, but I don't usually have much need to work smarter in this particular area. -----Original Message----- From: [email protected] on behalf of arieljake Sent: Mon 11/08/2008 10:52 To: [email protected] Subject: [flexcoders] HTML (Air) - view source Can we access the source code of a page being viewed in an HTML component? I tried using the htmlText property (not set) and I can't see a property in the HTMLLoader that would provide this. ______________________________________________________________________ This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577. This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person. This email has been scanned for Primal Pictures by the MessageLabs Email Security System. ______________________________________________________________________
<<winmail.dat>>

