ActionScript 3.0 :: Webcam To Take Picture And Save?

May 10, 2010

I'm totally new to AS3 and I have an upcoming project on it. It's a virtual hairstyling project but I have no idea how to get the first part to work.This is how the first part of the project goes:First, it will ask the user to take 3 pictures of themselves using the webcam (probably some buttons that says "take picture"). These 3 pictures should be saved temporarily in the flash.After all pictures are taken, it will ask user to choose one that they like the best and will proceed with the next step. And if they don't like any of it, they can take the pictures again.

View 3 Replies


Similar Posts:


ActionScript 3.0 :: Save Masked Webcam Picture As Jpeg?

Sep 14, 2010

i am trying to layover a background picture (bitmap) a masked area of a captured (blurry circle) webcam and add some small bitmap graphics (little squares with text) to itactualy not that hard but i want save the whole thing as jpegso on the screen everything looks fine and i managed to save a jpeg with a masked capturevideo but without the background image included ;-(so can anybody tell me how to include the background image ?here is the code so farit generates a gradient mask for the captured video

ActionScript Code:
package
{

[code].....

View 0 Replies

Flex :: How To Take Webcam Snapshot Picture

Jul 11, 2010

Using Flex, what is the recommended way of taking a webcam snapshot picture? Something along the lines of:
var camera:Camera = Camera.getCamera();
var image:Image = /* magic goes here */

View 2 Replies

ActionScript 3.0 :: Webcam 100 Activity An Not Picture Update?

Mar 18, 2011

I have a problem with using the webcam in flash. Most of the times it works fine but sometimes the wecampicture is not updated and is outputs a constant activity level of 100%.

View 3 Replies

Flash :: Take A Picture From User's Webcam Ala Facebook?

Sep 25, 2010

I didn't find a recent question so somethign might have changed:

there is any widget, ready to use, to integrate with my website in order for my users to take a picture of themselves ala Facebook when they register to my site? i guess is Flash/flex based

View 2 Replies

ActionScript 3.0 :: Saving Webcam Picture As JPG File?

Oct 8, 2010

I have a swf that lets you take a picture with your webcam , I have changed the scaleX to -1 so that the picture on screen appears like a mirror. This works fine, when I take a screenshot I am getting a bitmapdata from the video stream, which I am also setting scaleX to -1 to preserve the image the same as from the video. But now I am trying to save that picture as a jpg file, I can't seem to save the pictures as it appears, I can only save it as the original data which is essentially the wrong way around (doesn't preserve the changes made to scaleX = -1)

Code:
bitmapData = new BitmapData(this.video.width,this.video.height);
bitmapData.draw(this.video);
// at this point the bitmapData is the webcam view, but not with the scaleX I applied before
[...]
var jpgStream:ByteArray = jpgEncoder.encode(bitmapData);
// so now this jpg data is of the picture which isn't horizontally flipped
How can I get a bitmapData from the video and preserve the scaling I applied to the video?

View 3 Replies

Php :: Saving A Picture In Flash Webcam Snapshot Application?

May 5, 2011

I have made a flash webcam application to allow the user to take a photo of themselves using a webcam. I have successfully saved the photo in my localhost. However, I would like to set the names of those photos. Currently, the photos names are generated by

$uniqueStamp = date('U');

I also have a textfield in my flash app that allows inputs from user for the photo name. For example if the user write 'MYPHOTONAME' in the textfield, the photo which will be saved in my localhost will be named 'MYPHOTONAME' too. How do I do it in Flash and in PHP? Currently I'm having some problems because I cannot send the textfield string to PHP.

Here is my flash code to send the snapshot to PHP and let the PHP save it in my localhost:

imgBA = jpgEncoder.encode(imgBD1);
sendReq.data = imgBA;
sendLoader.load(sendReq);

[Code]....

As you can see, I tried to pass in $photo = $_POST['photo']; from flash to PHP however I do not know the exact code, can anyone help me?

View 1 Replies

ActionScript 2.0 :: Make Visible The Webcam's Picture On The Stage?

Aug 18, 2009

I have problems with webcam streaming in AS2. In AS3 I can make it visible on stage with a Camera.get call and a Video object. Because of some reasons in one of my works I have to use AS2. Can anyone provide me a working code to make visible the webcam's picture on the stage? I use the following code, but it doesn't work:

var cam = Camera.get();
//it's okay I can see the real camera name in the name property
var vid:Video;
vid.attachVideo(cam);
//... and nothing happens on the stage Why?
trace(vid) returns "undefined" Why?

View 0 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

Asp.net :: Flash Object Captures Webcam Picture Then Streams To Page?

Oct 28, 2009

i found a couple of samples, but they seem to be fixed only to PHP.

View 1 Replies

ActionScript 3.0 :: Auto-save An Image With Webcam?

Apr 23, 2011

Is there a way to automatically save an image from the webcam to a folder without having to click a button, or can you make the button take the image and save it to a folder as well, without a pop up saying "choose the folder to save to"?

View 1 Replies

ActionScript 3.0 :: Record Video With Webcam & Save?

Jun 20, 2011

I noticed that AS3 is able to take a snapshot out from a webcam & save it as a .jpg but is AS3 capable of recording a video with a webcam and save it to a local disk/network server? any video format is fine with me as long it can be played with window media player.

View 4 Replies

Flash :: Save Captured Still Image From Webcam?

Jul 14, 2010

I have written enough code to preview the webcam video in Flash.Now, I want to capture images at 10 second intervals.

Here's my code:
import flash.display.BitmapData
import flash.geom.Matrix

[code].....

View 1 Replies

Save Video Captured From Webcam In Flash?

Oct 4, 2010

Im making a flash app that will capture video from the users web-cam, show whats being captured and when he clicks submit, send this to the server.Its already capturing video from the user web cam, but its not recording anywhere. Whats my next step to save it somewhere where it can be played to the user after recorded and after he clicks in a submit button send it to the server?

View 1 Replies

Actionscript 3 - Save Video Captured From Webcam Using Flash?

Dec 29, 2009

I'd like to use Flash to capure video from the user's webcam and then save it on the same server that hosts the Flash file. The web server will be running ASP.Net technology. Lot of searches yielded the same lines of code to start a webcam capture using Flash. I can't find anything that sends that captured video back to a server.

I can find lots of blog and forum posts that imply 3rd party software or Flash Communication Server is required to collect it on the server, but I don't understand why. It seems like Flash ought to be able to capture some video and send it as an HTTP post to the same server that hosts the Flash file. That's pretty basic Flash/webcam functionality, right? It seems like we don't need to introduce 3rd party dependencies just yet.

View 1 Replies

Actionscript :: Save Webcam Video To Local Disk Without Using AIR Or FMS?

Jan 19, 2010

I would like to save a webcam captured video to the local disk using AS. The application is running in a standalone Flashplayer 10. I can save pictures from ByteArrays using file.save, but I can't find a way for doing this with video. There is a nice implementation for that using AS and AIR at http:[url]...I don't want to have to install AIR before running the app.

View 2 Replies

Professional :: Take A Picture With A Web Cam And Save It In The Server?

Feb 12, 2010

I need to take a picture with a web cam and save it in the server.

View 2 Replies

ActionScript 3.0 :: Save A Picture From Swf File Without Any Server (php - Asp)

Mar 14, 2009

how can I save a picture from swf file without any server (php,asp,etc..) IS it so , with jpegencoder class and as3 and flashplayer 10

View 2 Replies

Actionscript :: Save A Picture From A MovieClip In FLASH?

Nov 11, 2010

I need a very simple(*) image editor made in Flash so the users of my web page can edit pictures and then save them to my server. I'm beginning this project trying to save to a jpg or png the content of a movie clip, but I didn't find any information on Google. Can you give suggestions of how to begin? And if you know some opensource projects like this one, please share it here.

(*) very simple means, resize, crop, add text and overlap other images.

View 4 Replies

ActionScript 2.0 :: Save Flash Device As Picture

Mar 3, 2010

To save the flash device as a picture in my mind to give me science is Bruser so save it in any place

View 0 Replies

ActionScript 3.0 :: Take Picture And Save In BlobField In Database

Jan 19, 2012

I am making an application where the user needs to register himself. During the registration he needs to take a picture with the phones camera. All of this workds great. But if he completes the registration, the image taken by the users needs to be saved in the database(BLOB field). I searched a long time and the id behind it was to get the bitmapdata, get a bytestream and then encode with b64 to send it to the php service. So here is what I've done now:

ActionScript Code:
var bitmapdata:BitmapData=this.data as BitmapData;
var encoder:JPEGEncoder=new JPEGEncoder(85);
var stream:ByteArray=encoder.encode(bitmapdata);
var b64:Base64Encoder=new Base64Encoder();

[Code].....

But he won't insert it. I think it's something with the encoding but I don't find where the problem is exactly.

View 6 Replies

ActionScript 3.0 :: Load A Picture - Crop It And Save It Back As Jpg

Oct 19, 2009

I need to build a flash application In which I load a jpg, make a selection of it (a mask or something like crop tool) and save it back. Loading the picture and making the mask are not a problem. saving the edited picture back.

View 6 Replies

ActionScript 2.0 :: Save File Format So That It Will Not Come Up As Picture On Email

Jun 22, 2009

I have made a newsletter for a website in Adobe Flash CS4. What I need is what to save the file format as so that it will not come up as a "picture" on the email. Also how would I make in a single area if you click on it, it will directly send you to the website?

View 1 Replies

ActionScript 3.0 :: Load A Picture - Crop It And Save It Back As Jpg?

Oct 27, 2009

My application is almost set, load the image, made the crop, save It to a server with a php and all good until here. Now I want to drag the image, make a scale of it and for that I used an Matrix (also done).

My problem is if I scale it less then initial value, my crop is not good. Can you please take a look at my code here, because its drives me crazy and I cant figure it out.

View 0 Replies

Have Script Grab A Picture From Live Stream And Save It As JPG File?

Apr 4, 2010

Does anyone know how to get a script of some kind to grab a picture from a live stream and save it as a JPG file?

In this way a cron job can tricker the script and thereby grab a picture fx every 10'th minute and the picture can be shown on a website so people that are not attending can have a look into what is happening in the live stream.

View 5 Replies

ActionScript 3.0 :: Save Images A Landscape Picture And Portrait Size?

Jan 25, 2011

How to save images a landscape picture and portrait size in FP10, there are ways?

View 13 Replies

ActionScript 2.0 :: Make A Picture Gallery And Use Buttons That Move You From Picture To Picture And Backwards?

Apr 22, 2002

I want to make a picture gallery and use buttons that move you from picture to picture and backwards, but I don't want to tell button 1 to go to frame 2 and button 2 to got to frame 3 and so on (I hope you know what I mean)Can I use on button on a separate layer with the same action set? I tried something like that, but it didn't work:

on (release) {
thisframe =+1
}
[code]........

but it didn't work. I'm kind of new to any action script other than gotAndPlay, easy functions and all that.

View 2 Replies

Flash :: Save Video Stream From Webcam As An Image Instead Of An Flv Video File Using ?

Jun 30, 2010

This will create an flv video file on flash media server:

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.publish("yourCamera", "record");
ns.attachVideo(Camera.get());

How can I generate an image for the current video frame every 2 seconds?

View 1 Replies

ActionScript 2.0 :: Calling A Picture Into A Target In The Movie Without Placing The Picture Inside An Swf File?

Mar 22, 2003

I recently used the loadMovie action to load a .swf file to a target in the movie which it was being called from. Then I tried calling a picture to another target in the movie, but it did not load the picture as intended. I read about it on my book, but it didn't seem to work. Is there anyways on calling a picture into a target in the movie without placing the picture inside an swf file?

View 7 Replies

ActionScript 2.0 :: When Each Picture Loads The Loading Frame Resizes To The New Picture Size?

Jan 5, 2005

I have just been to a really nice website that has some really nice use of Flash on it.... I'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.

View 3 Replies







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