3
Contributors
4
Replies
6
Views
7 Years
Discussion Span
Last Post by theighost
1

Any chance you could clarify this a bit further? I don't really understand what you're trying to achieve here!

Do you mean as soon as the swf has loaded, you want it to take a screenshot of the entire web-page??

If so, it sounds a bit unlikely to me as the swf will not be able to see anything external to itself. So it wouldn't be possible to take a screenshot of the entire web-page directly from Flash/AS3 (at least as far as I'm aware!)

You MAY be able to connect your swf to an external server-side script (javascript/php) which could retrieve the HTML for the page and generate an image of it. But again, I'm really not sure!

If it is possible, it would probably require quite a lot of work and resources to set up. What do you intend to do with the screenshot after you've got it?

Edited by JasonHippy: n/a

Votes + Comments
Clear response, good suggestion
0

Thanks for your response, it is what I need.

The idea is to use this image in the swf. the swf is actually an overlayer that will cover the whole page and using the screenshot we will add the illusions that the page is being torn or kicked or whatever.

Can you tell me more about the server side languages I can use? I doubt that php would be a good choice. please give me more details if possible.

About the resources, it's not necessary to have a new screenshot every time the swf is loaded, so I guess a server side script would be perfect to make a screenshot every hour lets say.

Thank you

2

To get a screenshot of a site you would actually have to have something load the site that does render it and then take a screenshot of the site. You are correct though, PHP would probably not be the best for this task. The best to use would be something like C++ or C# depending on the server you host on. I guarantee you that it would be no easy task though.

Here is a forum thread from another site that went round and round with the question. You may be able to get something out of it.

http://forums.digitalpoint.com/showthread.php?t=76454

Votes + Comments
Very helful answer!
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.