I am facing the exact same problem. I am able to access the window object but not the document. Hope somebody already knows how to do this. I will update this post if I find anything. Cheers. -Prathap
I'm also working on the same issue.
Interestingly, I'm sure I found a solution to this issue a way-back-when, when first playing with AIR/js, but I remember it being slightly convoluted and for the life of me can no longer remember exactly how I solved it. I believe it had to do with creating a Native window and setting the html content on that directly, and then having the remote sandbox set up properly to allow the reading of the page's html (the remote page) correctly. In theory the same shoud work for using an iframe embedded into a page, but maybe not.
Here's an article where this seems to be solved for an AS3/Flex AIR project:
and the (probably) relevant AIR docs page:
Hope this helps. Will shout if I manage to figure it out properly again.