Screenshot the IFrame

131 views
Skip to first unread message

Andre Ortiz

unread,
Nov 5, 2009, 3:09:46 PM11/5/09
to Flex-IFrame
I am trying to use the "mx.graphics.ImageSnapshot" to snap a picture
of the page loaded in the IFrame (i.e. http://google.com). However,
the IFrame seems to overlay everything and therefor i am unable to
snap the image accurately. In my MXML, the IFrame is sitting in a
panel called "frameContainer" and so i call my:

<code:IFrame frameLoad="snapWebScreenShot(frameContainer)"... any
advice?

Thanks all!

Andre Ortiz

Julien Nicoulaud

unread,
Nov 6, 2009, 3:33:54 PM11/6/09
to flex-...@googlegroups.com
Hi Andre,
Unfortunately, it looks like the ImageSnapshot can only take snapshots of UIComponents inside the SWF. The IFrame is outside the SWF, and there is no way it could work with ImageSnapshot...

2009/11/5 Andre Ortiz <andre...@ecommerce.com>
Reply all
Reply to author
Forward
0 new messages