yourHtmlComponentInstance.htmlLoader.window.document.documentElement.outerHtml

(probably!)

-----Original Message-----
From: flexcoders@yahoogroups.com on behalf of thedauntless_ff
Sent: Sat 10/01/2009 15:42
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Get html source code of mx.controls.HTML control (AIR)
 
Hi,

Situation: I've loaded a webpage into the <mx:HTML /> control and it
displays just fine. What I want now, is the sourcecode of the loaded
document, without loading the document again. Is this possible ?

I found this tutorial:
http://labs.adobe.com/wiki/index.php/Apollo:Articles:Using_HTML_in_Flex-based_Apollo_Applications

And it's talking about a JavaScriptObject class located in flash.html.
I am however unable to find this class... The examples in this
tutorial would be perfect, if only I would have suck a
JavaScriptObject class...

Any suggestions ?

Greetings,
Jeroen Beckers



______________________________________________________________________
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>>

Reply via email to