Welcome, Guest
  • Author Topic: snapshot of a popup url?  (Read 862 times)

    jimmyo

    • Server what's that
    • *
    • Posts: 1
      • View Profile
    snapshot of a popup url?
    « on: 05/12/10, 12:38 »
    Hello - In the flash-db/tutorials section there are tutorials on (1) how to take a "snapshot with flash 8" (uses BitmapData), and (2) how to "open popup windows in flash with javascript" (uses getURL).  I would like to combine these two areas - ie open a specific website using getURL, and then have flash create a JPG of what is on that window using BitmapData, then open another website and create a JPG of that window and so on.  I am having problems because I do not know how to get flash to access the newly opened window.  

    As another alternative, is it possible to use "loader" to load the website within my swf and then use BitMapData to get its bitmap?

    Thanks to anyone if they can provide me with information on how to do this.

    ...Jim
    « Last Edit: 05/12/10, 12:52 by jimmyo »

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: snapshot of a popup url?
    « Reply #1 on: 05/13/10, 11:37 »
    You can snapshot only flash loaded content, that means you can not capture an HTML pop-up. Also you can't load an HTML page inside Flash, since HTML support is minimal. If you can create the pop-up window in flash, then open internally is a choice to capture, if not is not really doable

    Jorge