ActionScript 3.0 :: F7 / F8 - Taking A "Screenshot" Of The Current Stage?

Apr 6, 2007

Is there a way to take a "screenshot" of what is currently being displayed on the stage? Or even better, a part of the stage? Don't get me wrong- I know how to take a screenshot *myself*. What I want is to have an option within the *SWF* to generate a file (jpg, png or gif are all fine) of what the current stage looks like.

It sounds like a fairly easy idea / request but I have no clue how this would be done... It's for a shop (idea) where people can patch together their own design to be printed... but in order to do that, I would have to be able to generate an image of the completed design.? Am I missing something that's already integrated in Flash?

View 10 Replies


Similar Posts:


ActionScript 3.0 :: Taking And Managing A Screenshot?

Mar 4, 2009

The searches that I did on this topic aren't providing me with any answers...that I can understand anyway. =*) Here's the situation.In the past, I did computer-based-training using "a different authoring tool." One thing I discovered I could do with that tool--which really opened up new possibilities for me--was to use that scripting language to create a snapshot of the current window and save that image as an object/class. Then I could access that object, resize it, save it to disk, and load it in later. The result--for my training at least--was a visual bookmark of their location in the training should they have to save and come back later.I would now like to do this with Flash.specificially CS4 and AS3.If anyone can point me in the right location to get started,For clarity, the steps are:

1: Take a snapshot of the current Flash window / Stage. I'm not concerned if the snapshot remains "in Flash" or goes to the Clipboard as long as I can get to it in the next step.

2: Access that snapshot from where-ever it's stored.

3: Process the snapshot and reduce it to a thumbnail, etc.

4: Save it to a file that I can bring back into the .swf at a later point. I'm not real concerned about the format of the file as long as I can bring it back in later. How do I save it? I would love to be able to save it to the user's machine but last I checked
Flash won't do that sort of thing. Can I save it as a file on the server that the .swf is running from using perhaps a PHP call /script / page?

5: And, of course, recall the image to be used at a later point. I already have a pretty good handle on this from past experiments.

View 1 Replies

ActionScript 3.0 :: Drag And Drop Functionality And Taking Screenshot?

Aug 25, 2009

I am developing a drag and drop functionality and take a JPEG screen shot of droped objects. my problem is. when i drag and drop an object the object jumps off some distance.. i am unable to clear tat..

[Code]...

View 13 Replies

Taking Screenshot Of Flash Object Using Selenium With Webdriver

Oct 4, 2011

When I take a screenshot using Selenium Firefox Webdriver (yes, Firefox has flash plugin) it doesn't show the flash object. It shows merely a white box instead. Is there something I must do / install?

I'm using this code:

from selenium import webdriver

def webshot(url, filename):
browser = webdriver.Firefox()
browser.get(url)
browser.save_screenshot(filename)
browser.quit()

View 2 Replies

ActionScript 3.0 :: Create A Screenshot Of The Current Visible Area?

Nov 15, 2009

I'm making a first-person adventure game where I have the different frames in the root movie be the various locations that the user can interact with. I want to have fading transitions between the scenes and I was wondering if this was possible in flash. What I've tried for now is to create an array with all the current children then when the frame is changed I add those objects on top of the new frame and use a (alpha) Tween object to fade them out. This doesn't seem like a good idea and feels very hackish, so I had a few questions:
 
1. Is there an event that is called when a frame is changed (Event.FRAME_CHANGE doesn't exist ) since the way I'm doing it now is to have a local variable which I compare with this.currentFrame.
 
2. This may sound weird, but is there a way to create a screenshot of the current visible area and use that as one would any other visible object? This would allow me to Tween that one out instead of the array of children that I'm using now. I know it's possible in OpenGL, to render the current view scope to a texture array, but does Flash have this capacity?
 
PS: This is all done inside a separate class, in case that matters (I am very noobish).

View 5 Replies

Java :: Enable Intranet Users To Take Screenshot Of The Current Page Via The Browser?

May 22, 2011

Is it possible to create a screenshot from the current page the user is on? (It's for an Intranet enviroment).

I know this is not possible with JavaScript alone, but is it possible with Flash or maybe an Java applet?

I have been searching around but I couldn't find anything.

View 3 Replies

ActionScript 3.0 :: Screenshot Of The Stage Without Displaying It

Mar 24, 2009

I have an small app the generates pdfs. In order to generate the pdfs I need to make a screen shot of the stage. I want to integrate this generator into my air application. I would prefer to not show the stage of the generator project, but only output the pdfs file. Is it possible to make a screenshot of the stage without displaying it ?

View 1 Replies

ActionScript 2.0 :: Take A Screenshot Of Stage And Its Contents?

Nov 19, 2011

Would it be possible to take a screenshot of the stage and its contents?

furthermore would it be possible to make the bitmap distort so it transitions downward something like this? [url]...

View 1 Replies

Sending Image (Screenshot Of Stage) By Email

Sep 5, 2009

I would like to take a "screenshot" of the stage within flash and send it as an image by email. I have tried AMFPHP and the method described here - [URL]. This is saving a jpg of a movie on the server, but no email function. I know how to setup a very simple php email file but without attachment. So my problem is I have no idea how to "connect" all those parts together and make it so that when you click the button in flash it'll send the jpg by email directly.

View 2 Replies

ActionScript 3.0 :: Taking A Picture Of An Area On Stage + Webcam?

Jan 6, 2012

taking a screen grab of a movie clip while the webcam is on..(the end goal is to create an app where people can put funny stuff on their face e.g an eye patch ect..)Is there any simple tutorials on how to do this?, i've tried the whole matrix thing but im still having issues when i resize or move movie clips around, to get it align with someones face!

View 7 Replies

Flex :: Capture "screenshot" Of Flex Display Object Created With ActionScript But Not Added To Stage?

Oct 20, 2011

Is it possible to create a display object in AS and take a screenshot of it as ByteArray or whatever without adding it to stage?

View 1 Replies

ActionScript 3.0 :: Determining The Current Stage Alignment?

Jul 20, 2011

I have following javascript and want to test whether the swf is aligned correctly. Please help me what function I should use to test it.

[Code]...

View 3 Replies

ActionScript 3.0 :: Display Outside Boundaries Of Current Stage?

Oct 19, 2009

What do I have to do so that a text field will display outside the boundaries of the current stage? For instance, let's say I have a stage that is 300 x 200, and I want to add a text field that is 100x400

View 4 Replies

ActionScript 1/2 :: Output Current Frame In A Textbox On Stage?

Feb 22, 2011

title says it, how do i acheive this?

View 3 Replies

ActionScript 3.0 :: Find Nested Movieclips Current Position Relativ To Stage

Oct 6, 2009

I have a movieclip, which attaches to another movieclip, which scrolls.On click I want to be able to drag that movieclip away from the one it was attached to. When I just removeChild it, it's position changes. I want it to stay in the same spot until it's dragged.Any suggestion, on how I can give it that same position, when not attached?

View 1 Replies

Flex :: Getting A Screenshot Of A Google Map

Aug 5, 2011

I have a Google map in my flex app that I need to occasionally export to an image file. Every time I try to call the, Map.getPrintableBitmap() or ImageSnapshot.captureBitmapData() functions I get the Error #2123: Security sandbox violation.I've tried adding various security allowances like:[code]I'm asking for a bitmap representation of a component that's already been drawn on the client's screen. Clearly all the information necessary to provide that bitmap is already present in local memory.[code]

View 3 Replies

ActionScript 3.0 :: Save 300 Dpi Screenshot?

Jan 19, 2009

I want to save a screenshot of my flash application at the highest resolution as possible ( 300 dpi or more).[code]...

Do you know how to improve the resolution ? Is there any encoder that can make higher resolution pictures ?

View 9 Replies

ActionScript 3.0 :: Take Screenshot Of Mc And Send?

Aug 5, 2009

Is it possible to take a screenshot in as3 of a movie clip and send it to another file via local connection? I have been trying for a couple of days so far and still I am pretty much lost. I followed the byte array.org live jpeg encoder and tried some of the code he uses but all I am getting is the bottom right corner of the mc when it is sent to the other side. What is the easiest way to do this? I'm not even that interested in actually encoding it, just sending the image to the receiver.

View 0 Replies

Enlarge Photos From Screenshot?

Dec 25, 2009

I'm building my first website in Flash, and it's a porfolio website. I'm trying to set up my portfolio page to show screenshots of my graphic design projects, and when a user clicks on them, it enlarges the photo.

I am looking for it to be done like this website below when you click on their photo samples, it enlarges it, where you can also go to the next photo.

View 1 Replies

IDE :: Screenshot / Convert Dynamic Swf To Jpg

Jul 29, 2004

I've exhausted all of my possible avenues for research and I am curious if any one has stumbled upon a piece of code or program that will convert a swf to an image format. It needs to happen at the click of a button within the swf itself. I've seen code for capturing the drawing API through PHP, but nothing for capturing straight pixel for pixel, not that a particular method is important. But at the very least all elements on screen need to be captured, ie. library items, input boxes etc. The method isnt important, I just need to get screengrabs of the swf at any time.

View 3 Replies

ActionScript 3.0 :: Screenshot Preventing In Flex?

Mar 9, 2009

I'm developing some photo viewer app for some web site in flex 3. One of the demands made by my customers is preventing of their unique visual content from copying at least by standard Windows tools ("Print Screen" button). Are there any tricky techniques capable of doing this?

The first thing occurred to me is handling "Print Screen" button of keyboard doesn't seem to be as effective as my client needs.

View 2 Replies

Flex :: Take Screenshot From Loaded Swf From Swfloader?

Dec 27, 2009

can i save a screenshot from a loaded swf using the SWFLoader class ?

View 1 Replies

C++ :: Flash Detect A Screenshot (or GDI Bitcopy) Being Taken?

Jun 6, 2011

Can pixels be read covertly from a browser window containing flash + HTML?(Is it possible for flash or the browser to detect a screenshot being taken?)What about for other methods of capturing pixels? (Like the one described here: How to read the screen pixels?)

EDIT: (background info)

A C++ application is going to read pixels from a browser window (which happens to contain Flash and some regular HTML and JavaScript). The browser window would like, if possible, to detect the fact that it's pixels have been read. The method of getting the pixels could be any (short of taking a photo of the screen itself).

View 1 Replies

Php :: Php - Save A Screenshot Of A Certain Object On A Website?

Feb 8, 2012

On my website people enter, watch a live stream from a remote server (not my server) and when they click on a button it report it to me and what I want to add is the ability for me to take a screenshot of this stream at the very moment when they click that button and save it on the server. They question is how to implement so? Now I just have that stream in an Iframe that shows it as a .swf object Possible solutions I thought of but don't know whether will work are:

Embedding this Iframe inside a flash object that I will create. That means that on the website the users will see a flash object I created that all it does is to show the stream from an url I give it and when the user clicks on a button inside the html it will send the flash the command to save the screenshot now and then save it on my server (don't know how to implement it, so the second question is, if you think it will work, how to do so?).Second solution is to have an open browser on my server that when the user clicks the button, I send an ajax request to the server that will then order the browser to take a screenshot and save it locally on the server. (again, if you think this solution will work, tell me how to implement so).

View 1 Replies

Javascript :: Take A Screenshot Of A Certain Website At A Given Moment?

Feb 11, 2012

I want to take a screenshot from my website of another website or preferable 1 part of it (an object tag).I want it to work this way: I click on a button that will send a request to screenshot the page at this moment. Several ideas are insert the page inside a flash object and screenshot it. Or opening a browser on the server and when I click the button send a request using AJAX to tell the server to screenshot with this browser.How should I do this because I kind of failing right now with the flash Idea. The page I am trying to screenshot is a live camera that uses a .wvx object. But I can't even do that with a .swf object

View 1 Replies

ActionScript 3.0 :: Capture A Screenshot Of A MovieClip?

Jan 27, 2009

How can I capture a screenshot of a movieClip, and ignore the interface overlying it ?

View 1 Replies

ActionScript 2.0 :: Capture Screenshot Of Movieclip

Aug 20, 2009

I want to take screenshot of a movieclip and then display that screenshot in other movie clip. I dont want to save the screenshot so i dont think i need to use some server side scripting like Php....i just want to display the screenshot in other movie clip.

View 8 Replies

ActionScript 3.0 :: Bitmap Screenshot Of Dragged Image?

Nov 17, 2010

I have an masked image that is externally loaded onto my stage that the user can drag and position.I then need to be able to record or save where and how the user has positioned the image by either -taking a bitmap copy of where the user has positioned the image (my first and easiest thought of how to do this) -or is it possible to get X and Y co ordinates of where they have positioned it I have a movie currently set up but when the user clicks 'save and continue' it takes a copy of the original position of the image - not from where you have last dragged it to?Full code and attached fla file below

Code:

stop();
//--------------
// Loader
//--------------
var imageP1:Loader = new Loader();

[code]....

View 1 Replies

Professional :: Screenshot In A Played Flash Game?

Jul 23, 2010

I have a Games website named and I would like to add a possibility to take a screenshot of the played game.For example, a player made a record on Crush the castle game and want to save a screenshot of this or why not send it to us to be a on record tab.Other exemple, for girl games, you would like to save or send a picture of your dress girl game.

View 1 Replies

Actionscript 3 :: Flex: Create A Screenshot Of UI Element?

Feb 22, 2010

I want to make a screenshot of custom as3 ui element (which was extended from Canvas), and then upload the image on the server. a small example of this?I am trying to do the following:

// This is UI component extended from Canvas
var chessBoard:ChessBoard = new ChessBoard();
// I displayed pieces on the board, but didn't add it to the stage (I just need a

[code].......

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved