Actionscript 3.0 :: Capture A Jpeg In A Defined Part Of The Screen?

Sep 2, 2008

I am trying to reverse engineer this: [URL]

I have code to capture a jpg

The trouble is I cannot fugure out how to target the save to a specific part of the stage, as opposed to a screen shot.

here is the link:

[URL]

Hit the spacebar to save the jpeg.

Code: Select all//see com.adobe.images folder for information about downloading
//  the adobe JPGEncoder class
import com.adobe.images.JPGEncoder;
var rect:Sprite=new Sprite();

[Code].....

View 5 Replies


Similar Posts:


ActionScript 3.0 :: Webcam Jpeg Screen Capture Button?

May 27, 2011

Basically I have designed a flash interface which puts a moustache over the users face in real time. My lecturer has told me to add a button which will take a capture of the image of the person with the moustace and add the image to a folder.

how to even begin this project, would anyone be able to point e in the right direction or offer a little wisdom on the issue?

View 0 Replies

ActionScript 3.0 :: Capture User Screen / Print Screen?

Dec 31, 2010

i want to user print screen command in AS3 and convert into bitmap as background in fullscreen i.e.

print screen from keyboard - keycode i.e. 44 [URL]

i want to know how can i run printscreen code from flash to capture user screen as i want to have flash presentation in 600x600px with disabled desktop and flash presentation should be in center of screen.

Quote:

import flash.system.fscommand;
stage.showDefaultContextMenu = false;
stage.scaleMode = StageScaleMode.NO_SCALE;
fscommand("fullscreen", "true");

[Code].....

View 3 Replies

Make A Actionscript Controlled Print Screen That Will Save A Part Of A Screen?

Mar 20, 2009

How can I make a action script controlled print screen that will save a part of a screen And can I filter a color out of it (so that only that one color will NOT be visible on the saved img) with AS

View 3 Replies

ActionScript 3.0 :: How To Capture The Screen

Jan 8, 2009

When I click on a button I want to capture the entire screenand make it available in the background of the new frame Idisplay.How to do this?

View 1 Replies

Flash :: "Variable * Is Not Defined" In An Unfindable Part Of Code?

Dec 8, 2010

I am fairly new to Flash. I have a stage up with a simple button; the Instance Name is init. My .as script (MainTimeline) is accessed externally from the stage:

[Code]...

View 1 Replies

ActionScript 3.0 :: Screen Capture Of Stage

Jan 24, 2008

I'm looking for any information anyone may have on ActionScript 3.0 and capturing the area of the stage. I'm not interested in taking a picture of someones desktop, just the stage.

View 10 Replies

Capture The Browser Screen As JPG/PNG/etc With Flash?

Jan 20, 2010

Is there a way to create a screenshot of the browser in Flash? I know that in Java this is possible, and it will popup a dialog asking for trusting the signed Applet, but is there a way to do this in Flash?

View 2 Replies

ActionScript 2.0 :: Screen Capture And Load In Into MC?

Feb 1, 2007

is it possible to capture the screen and load it into a MC on the SWF?

i saw a plugin for Mprojector from Screen Time, but dont know how to use it.

View 2 Replies

Capturing Screen To Jpeg In Flash Exe File?

Apr 26, 2010

there is some simple way I can capture a screen shot to a jpeg or something similar when running an exe/swf on full screen?Basically I have a car configurator, and at the end I want to capture the final choice of colour/ wheels/ background and maybe name of person to a file.....

View 2 Replies

Actionscript :: Reliably Capture Screen Resolution?

Sep 16, 2009

I have several components who's screen position depends on the resolution of the monitor on which the browser lives.The problem I'm encountering is that the flash.system.Capabilities method pulls the resolution of the primary monitor attached to the computer. In most situations this isn't a problem but on one of my computers, I have a 1680x1050 and a 1440x900. At work, I have a 1920x1200 and a 1680x1050, so if I open the page in a browser on the smaller monitor, things are not centered and my tools panel is completely off to the right of the screen.

I have a block of javascript that I've tried, both in html and through php but the problem is that if I use either httpRequest or urlLoader to grab the html file, I get the source of html and if I try the php script, I get a script block that is attempting to write a cookie. If that page has not been visited prior to loading the flash site, or if cookies are disabled, it never gets written and I'm nowhere.Is there a method that I can use, that doesn't rely on cookies, to detect the resolution of the monitor that the browser is actually on, and not just the resolution of the first monitor?

View 2 Replies

Play A SWF And Screen Capture It In A Headless Environment?

Mar 26, 2010

Is there a way to play a SWF and screen capture it in a headless environment?

View 1 Replies

Actionscript :: Screen Capture (sorta) In Flash?

Apr 3, 2011

I am looking for a way to create and display up to 200 stage screen shots. Currently I record each screen shot in a BitmapData object, then play through all of them. This approach works but it takes too much memory - crashes some browsers.

What is the best approach to solve this problem? Can I create .png's, .flv movie or somehow compress BitmapData?

View 1 Replies

Flex3 - Window Screen Capture On Adobe?

Jul 28, 2011

Is there a way to take screenshot of the client's window using flex?

I found an example which uses java bridge, but i am looking for different solution.

View 1 Replies

ActionScript 2.0 :: Screen Capture The Flashmovie And Email It

Jun 7, 2006

I want to know any actionscripts that could work on a button that could send what it is on your screen (flash movie) to someone else. I am working on this particular project in Flash 2004 and its got some photos, illustration, and of course text and I want to make a button which could send the whole look to whoever I want to send this out to.

View 4 Replies

ActionScript 3.0 :: Screen Capture A Particular Position In A Stage?

Jun 26, 2010

basically i would like to screen capture a part for the stage. but i got no idea how to do it as i am very new to flash programming.i am using the PNGencoder to do the process, but i cant actually screen capture the position i want. this is tje sniplet of the code for the process. It is taken from a tutorial with some changes, but it is still lacking of the position of the stage i want to screen capture.

private function export():void
{
var bmd:BitmapData = new BitmapData(216.2, 468.29);

[code]....

the code are working properly for now except it captures the point from 0 x axis and 0 y axis. I need it to be like 150 on x axis and 150 on y axis.

View 3 Replies

ActionScript 3.0 :: Screen/Stage Capture Without Serverside Scripting?

Jun 2, 2010

I have a game that allows people to arrange images however they like, but I need a way for users to take a screenshot/image of their design (stage) so it can be emailed. I've found loads of examples that use server side scripts such as php (JPEGEncoder) but this particular program I�m creating is for internal office use only and don�t have access to a server to upload it.

View 3 Replies

ActionScript 1/2 :: Screen / Stage Capture And Post Data

Feb 9, 2012

I am working on a project that requires the stage (and everything on it) to be captured, converted to a bitmap and then that data to be posted to another domain. I have looked at the .getPixel method but that creates a ridiculously long string and more often than not, will crash the swf in the browser. How I could possibly approach this. Oh, I need to do this in AS2 too.

View 1 Replies

Java - Screentoaster Capture Computer Screen From The Browser?

Feb 12, 2010

How does [URL].. capture a computer screen from a browser using Java Applet? Any suggestion or a lead in how to accomplish this? Is there other way to do using using different technology such as Flash?

View 2 Replies

Ctionscript 3 :: Flash - Capture The Screen And Save The Image?

Jun 12, 2010

I need to capture whats currently shown in my app and save it as a image, is a flash app running locally, without apache, just a flash app with AS3, is it possible?

View 3 Replies

ActionScript 3.0 :: Capture SWF Screen And Save As JPG To Send By Email

Apr 7, 2009

I am trying to create a Flash movie that allows me to click a button and capture a specific moment in the movie, convert it to a JPG and send it by email.

View 7 Replies

ActionScript 2.0 :: Prevent Screen Capture Of Some Copyrighted Images?

Jan 29, 2002

I'm trying to prevent screen capture of some copyrighted images displayed in a Flash Web site. I've tried using onKeypress "prt scr", and jumping to a frame in the timeline where the image isn't displayed, as the Print Screen key is the most commonly used for capturing from image editing programs. But that key option doesn't seem to be available.

View 14 Replies

ActionScript 3.0 :: Screen Capture Website And Import To Flash?

Dec 6, 2011

I build flash ads, so my swf files are just a small portion of the entire website. What I am wanting to do is somehow to take a screenshot of the entire webpage and import that into flash so that i can manipulate a live website in flash. My ads display on various pages so I can't simply fake the website in a flash file and overlay it on top of the site, i need to somehow pull in the content of the site.I've searched all over the internet for a way to do this and have yet to find a way, so i thought i'd ask for help.I understand that i may need some outside Javascript or server side scripts to do this,

View 5 Replies

IDE :: How To Print A Part Of Screen

Jun 7, 2009

And also is there a way to print a part of flash contents of maybe entirely compose the stuff (image that is) you give to printer.In my case i have a flash in which contains to pictures (basicaly even and odd page of a book) and other stuff. I want to add printing functionality. Also i want user to be able to choose what to print - whole flash, both pages or just one of them

View 2 Replies

Actionscript 2 :: Dynamically Create A JPEG Screen Shot Of The Movie?

Apr 27, 2009

does anyone know the best way to go about creating a flash movie that lets you click a button to dynamically create a JPEG screen shot of the movie. i looked around and found a thread close to what i am looking for but it was done in AS3.

View 6 Replies

Java :: Approaches To Creating Screen Capture Functionality On A Web Page?

Oct 11, 2011

I have read the various posts here on SO regarding screen capturing, but none seem to be answering my situation.On our website (inside a web page), essentially here is what I would like to be able to do.

User clicks on a 'capture region of screen' button.They get some sort of draggable/sizable box they can use to define the area to capture the captured area gets converted into a (preferrably) .png image is uploaded (or at least made available to upload - maybe saved somewhere).I realize this is not doable with javascript alone.So,I am open to a Java or Flash solution, and/or even a commercial solution (a drop-in java applet that I can add to our site).

View 1 Replies

ActionScript 3.0 :: Live Screen Capture Webcam Snapshot (bitmap API)?

Apr 10, 2008

Got round to the point where screen grabbing an image and saving it to file is too much, so what i want to do now, is take a snapshot of a live webcam image (I have webcam display working) and display the snapshot/screen grab, next to it or anywhere in the movie. This way the screen capture can be stored temporarily in the movie. once the movie is closed, all info is lost. Once another screen grab is taken, then the previous one is overwritten. The idea is simple but having problems working out how to do it in AS3!

I have got to the idea that i may need to use the Bitmap API to copy a section of the movie, and then redraw it into a new bitmap object?

View 9 Replies

ActionScript 3.0 :: UILoader Stretches Only A Part Of The Screen?

Feb 12, 2010

Made the part I'm having problems with bold

import com.greensock.TweenLite;
import com.greensock.easing.*;
import fl.containers.UILoader;

[code].....

View 1 Replies

ActionScript 2.0 :: Spawn Randomly, MovieClips From The Upper Part Of The Screen?

Jul 11, 2009

screen size: 550 x 400 i want to spawn movie clips randomly from the upper part of the screen and to make them go to the bottom. My game name is coin collector, so i want to spawn coins falling down and make my stickman catch'em.

ActionScript Code:
Add the AS2 in a box like this one

View 9 Replies

ActionScript 3.0 :: Border In Part Of Screen That When Objects Inside Hit It They Cannot Pass

Jan 24, 2011

How can I make a border in a part of the screen that when objects inside hit it they cannot pass it. for example like flash games have with bubbles that cannot pass the screen border and they just travel in the screen's space.Is it possible to make this with box2d. I haven't worked with this framework.

View 4 Replies







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