# Creating a "screen shot" of an HTML DOM element

**URL:** https://forum.kirupa.com/t/creating-a-screen-shot-of-an-html-dom-element/276790
**Category:** flash
**Created:** [December 3, 2008, 5:47pm UTC](https://forum.kirupa.com/t/creating-a-screen-shot-of-an-html-dom-element/276790 "2008-12-03T17:47:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Martin\_Dude](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@Martin\_Dude](https://forum.kirupa.com/u/Martin_Dude)
#### Post date: [December 3, 2008, 5:47pm UTC](https://forum.kirupa.com/t/creating-a-screen-shot-of-an-html-dom-element/276790/1 "2008-12-03T17:47:05Z")

</div>

Hi all,

I am working on a personal project and I am trying to load an HTML page “inside” of my stage (using Flex3). While I can get this to work perfectly using “IFrame.as, Alistair Rutherford, [www.netthreads.co.uk](http://www.netthreads.co.uk)”. The only problem is that when my Menu is opened it will appear behind the iframe and disapears (ofcourse, z-index etc).

Now I have been trying to create a “screenshot” bitmapData of this iframe but without succes so far. I was wondering if someone else might know how to do this or know of a better way to add a working HTML page inside a Flex3 (not AIR) application.

Thanks in advance!
