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
Similar Posts:
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
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
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
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
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
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
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
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
Oct 28, 2009
i found a couple of samples, but they seem to be fixed only to PHP.
View 1 Replies
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
Nov 17, 2011
I am deploying Updates via SCUP and SCCM to hundreds of Computers. Fortunately Adobe provides an SCCM Update Catalog for both Adobe Flash ActiveX and Adobe Flash Plugin. But now my Problem: After publishing the Update via SCCM, the client is not supposed to be interfered with the Update Progress (which is working) I figured the Updater works like this: First SCCM checks if a Update needs to be deployed, if this is the case, The Flash Updater begins. First the old Flash Version is beeing uninstalled. But now: if the Client has a Browser Window (IE, or Firefox) open, the Updater is not able to install the new Flash Version and quits with an Error. This leaves the Client PC without any Flash (because its being uninstalled before) How can I prevent Flash being uninstalled due to the Update progress not working while a Browser window is open?
View 1 Replies
Dec 12, 2011
I've got a movieclip, which has got a dynamic text element.The movieclip uses a package for its codeThe package if obviously derived from the MovieClip classI've got a timer, that updates the dynamic text field every second.When debugging the code, I see that the timer works well. Its updates the value of the dynamic text field.
View 2 Replies
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
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
May 12, 2010
I am trying to build a site that would give users the ability to upload a picture to a picture frame on my site. I would like AS3 to dynamically re-size, and upload the file from an upload bar under the frame.
View 1 Replies
Jan 5, 2005
I'm totally wowed by the resizing picture effect though? When each picture loads the loading frame resizes to the new picture size.It must be some sort of actionscripting but how is it done?
View 3 Replies
Oct 2, 2011
I how that any Can help I have a Picture that I want To destroy it As someone break it as a glass and then something made it go back as she was
View 1 Replies
Dec 7, 2010
i got five images, and five buttons, every image has a color, and lets say we start at the red one. When i click the the green button i want the green image to fade in.. i fugured out a way to do this on the timeline, but then i have to have a black box first fading in to remove the old picture and then start fading in the new picture..
View 2 Replies
May 27, 2011
I made a simple picture slideshow with a timer, prev/next buttons, pause/play buttons and jump buttons. Everything went good so far.Now i'm trying make every picture go to a URL when the picture is clicked but only the link on the first frame goes to the URL when clicked the other 5 buttons do nothing when click.(FYI: I made alpha 0% buttons in a layer above pictures)I tried two different codes but both have no effect.
as layer
Code:
stop();
var nextImage:Timer = new Timer(3000);
nextImage.addEventListener(TimerEvent.TIMER,playNext);
nextImage.start();
[code]....
View 1 Replies
Aug 14, 2009
im making an image recignition app. for a kiosk and im trying to figure out a way to make the movie start over if it hasnt been touched after a certain amount of time. i tried to use a timer class but it doesnt seem to be working the way i want it to.
View 1 Replies
Jan 14, 2010
Anyone know of any code I can add to my project to keep a log of how many times a button is pressed? Ideally it would write to the disk with date/time stamp.
View 1 Replies
May 29, 2010
Why setloopback needs to be set to true for microphone activity to be detected. The problem is the echo feedback when using a macbook with a built in mic. Right now I'm experimenting with toggling gain, depending on activity to simulate echo reduction. Not optimal though.
View 1 Replies
Mar 6, 2012
Is there a way within ActionScript 3.0 to:
Get all URLRequests() that are made within the application?
Get all RTMP:// connections to a Flash Media server?
Since my application contains SWC files which were compiled by another developer, I cannot directly access the ActionScript which creates the URL requests and RTMP connections.
View 1 Replies
Jan 14, 2006
I have created an application in Flash and in the first frame u enter a number of parameters for the application. Then you press start and it continuose to the second frame. Here is all my code and mc.
Now I have created a RESET button and when it is pressed. I want all the functions, variables to be deleted i.e. nothing should happen.'
My first attempt was to just tell the main timeline to go to frame 1 (which is empty, only the textboxes with the param. are there), and i thought that all running functions from frame 2 would just stop. But they dont.
So how can i stop/reset all activity, cause i dont want to close the app. each time i would like to enter new values?
View 3 Replies
Mar 13, 2010
I have a flash project on the solar system. I created a drag and drop activity, dropping pictures near in the correct place/next to the correct name.
Everything is working perfectly but when I return to the home scene, the pictures are still being displayed from the acitivity even though they are on a different scene... they go away if I navigate through to different places.
View 1 Replies
May 23, 2011
I want my site's users to be able to record videos straight from their webcams into my site. Videowhisper is one such tool which seems to work fine - [URL] But I'm looking for opinions on better / more scalable / reliable solutions. Paid solutions are fine.
View 4 Replies
May 6, 2003
I have a very large projector movie with many loaded in swf files. I want to make it so as you are reading and viewing the whole movie the screensaver is not active. I then want it so after 10 minutes of no activity a screensaver (or movieclip in the movie) starts playing and then goes away when there is activity again. How do I do this? What would be the best way... just have the screensaver (movieclip) the only thing in the first scene and it just goes to this after 10 minutes?
View 18 Replies
May 23, 2010
I have to detect avtivityLevel of microphone in Flex. I am using the activityLevel property of Microphone class but as I found out it always return -1 even if I have done Microphone.getMicrophone(). To detect activity level we have to set microphone.setLoopback = true;
how to do this without using loop back as I do not want to hear my sound back just monitor the activity level
View 1 Replies
Apr 7, 2011
i am trying to detect the microphone activity level. In windows XP, it's returing the activity level. But in windows vista, even if the mic is not connected it's returning an activity level. has anyone come across like this.what is the problem?
View 1 Replies