ActionScript 3.0 :: Camera.getCamera End?
Jan 2, 2009How do I stop the webcam from being on?Once getCamera() is invoked and attacked to a video object, how do you remove or stop the webcam later on?
View 3 RepliesHow do I stop the webcam from being on?Once getCamera() is invoked and attacked to a video object, how do you remove or stop the webcam later on?
View 3 RepliesI am capturing camera on flex for android using air 3.1,and found that the camera is only showing the a part of of actual camera video.When i view camera using normal camera application in android galaxy tab, it shows full camera area but when i am capturing the camera in flex its showing only the center area for it.I tried using setMode to set the resolution, but its not of any use.Is there any way to get full camera area captured inside flex using camera.getCamera ?
View 1 RepliesI just came across the new stageVideo, as I am not very Savvy using AIR i was wondering if i could use the camera video (getCamera)on the stagevideo, and how to implement it?
View 1 RepliesIf you click any of the two buttons (which do the same), in order to start capturing video with the camera, you get the Adobe Flash Player Settings dialogue (image included).If you click Deny, I can't get the camera to work again later on...Is this the intended behavior?A similar problem (which is not included in this example) happens after closing the connection to the camera with
code:
camVideo.attachCamera(null);
... I can't make the camera work again.
From a Flash object, I would like to be able to detect the presence of a webcam that the user might grant access to, without actually asking the user whether they want to grant access. This is to streamline a large application that has extra features if a webcam exists — if there is a webcam, the application will present several dialogs that lead up to the normal cam-security prompt, but if the user doesn't have the hardware, I want to skip over them altogether. Requesting access to the cam before those dialogs won't make sense to the user.
It appears not to be possible to call Camera.getCamera() without the security prompt happening. Is there a workaround? (For instance, could I, perhaps, call getCamera in a hidden Flash object and inspect its return value, or does it block until the user acknowledges the security prompt?)
I have a video capture device on a machine. I have written a windows application to capture the video from this device. While capturing, if i try to broadcast using flash it does not connect. If i'm already broadcasting and then try to capture then my windows application does not get the capture pin of the device. So, flash seems to be taking the capture pin. Is there anyway to broadcast using the preview pin on the device so that i can capture using my application. Or is there way where i can split the capture pin and give one to my app and one to the broadcaster
View 10 RepliesUsually Adobe Flash applications can access any usb-webcam.I have a USB camera for microscopes which understands TWAIN and DirectShow.Is there a possibility to access the video data from this camera with flash?
View 1 RepliesI have a problem with the camera slowing down in my project.I thought it could be because of the complexity and memory consumtion of this work, so I created a completely new movie, typed such code:
quote:
var camera:Camera = Camera.getCamera();
var video = new Video(camera.width, camera.height);
video.attachCamera(camera);
addChild(video);
[code]....
And... this time the camera's fps stayed 25fps all the time. To be honest - I really don't know why :| I mean, I'm happy the fps stayed stabily at the level, but I don't know what to do in the mentioned, complex, project to make the fps faster. I can't just add the trace line.
What should I look for when buying a video camera to record videos that could be used with Flacs?
View 1 RepliesHow to find out whether camera is attached or not in AS3.0. It can be installed or not.
in flashplayer 11,2,202,228, attach camera to video and see local video, sometimes camera movie is freezed when I change Camera.setquality and Camera.setmode. it's not happen older flashplayer. I heard it waste memory in flashplayer 11,2,202,228,
View 2 RepliesIn the following why is that the camera does not show up in the div.Is that am i doing anything wrong here
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="swfobject.js"></script>
[code]....
Is there any other way to access the camera using ActionScript 3 other than
import flash.media.Camera;
videoInstance.attachCamera(cameraInstance);
Or should I use any API s? If so, any API suitable and some tutorials if possible.
I hate when flash does that. standard code that just wont work for some reason.
Code:
var cam:Camera = Camera.getCamera();
var video:Video = new Video(320,240);
video.attachCamera(cam);
video.x = 20;
video.y = 20;
addChild(video);
I am on macbook pro and my camera doesnt show on the stage. I had a video object there named 'video' i also at some point had the imports for Camera and Video, still no luck. What am I doing wrong. I am sure I had this at some point in the past.
I just have a problem when a point goes *behind* the camera: if point.z < 0. It's ok if there's an MC that just becomes invisible - but if I try to draw a line to this point with the drawingAPI, the point's screen x/y coordinates are weird. I can't figure out how to modify the scaleRatio to get correct values. Here's a code snippet:
var scaleRatio = focalLength/(focalLength + z);
screen_x = x * scaleRatio;
screen_y = y * scaleRatio;
is it possible to move the 'camera' around in flash (cs4 as3) as apposed to moving the scene around it?
View 2 Repliesi have a big set for a new animation im doing but i only want to view one part of it at once and have some sort of camera panning effect going round my stage. is there a plug in or somthing for this. i have looked everywere. I know it can be done as i have seen it before
View 1 RepliesI've just been playing around with the 3D tutorials,I just have a problem when a point goes *behind* the camera:if point.z < 0.It's ok if there's an MC that just becomes invisible - but if I try to draw a line to this point with the drawingAPI, the point's screen x/y coordinates are weird. I can't figure out how to modify the scaleRatio to get correct values.
Here's a code snippet:
var scaleRatio = focalLength/(focalLength + z);
screen_x = x * scaleRatio;
screen_y = y * scaleRatio;
im making a platform game project but as of yet im still un able to make the camera move up and down when the charater jumps or stands on a platform?
[Code]...
if you have tried it you know that it is not working. The main thing is that on Android 2.2 the camera allowance dialog is not being displayed when you try to access it from the web browser. I've found something called PhoneGap, but it is not working on the android 2.2, or at least some parts of it is not working. Has anyone any clues how to access the camera from the web browser on Android 2.2?
View 3 RepliesHow i can use IP Camera with FMS for live video streaming.
View 2 RepliesHow to detect camera is in use or not? Adobe says, if Camera.getCamera(); returns null, it means camera not installed, or in use , i use below, then when i start swf, first one is ok, but then i start new instance of app, it throws and error " .... flash 10 r2has stopped" how can i solve that problem...
[Code]...
when i use the connect pro, in the classroom I can't make my web camera running. I alredy install FMS and opened port 1935. what can I do else?
View 11 RepliesI'm looking to create something in style with this (arrow key navigation), and despite being the creator of that flash movie, I've managed to forget the code.
View 1 RepliesFor example: I select camera - "a4tech-pk935" in flash, and then I try to use this camera in Skype, it's locked by flash. I know it. How to unlock camera in AS3 (without unload/closing flash movie)? I tried use Camera.getCamera(null), (it's select default camera)
View 2 RepliesWhen stop streaming, i close NetStream, close NetConnection, clear video, and remove any event listoner on camera. After these actions, the camera is still in used.
View 2 Repliesi am working on a video recording project in ActionScript-2, i want to add a script with my code to detect camera or microphone disconnection. it means if user disconnect camera or microphone in between recording, i want to give him a warning.
View 12 RepliesI have a school project where I need to animate a stop-motion video. We used a Canon 7D to take pictures and I imported them in lightroom. What I need to do now is take all of these frames and put them together to make the video. I tried manually doing it, but it came out all shaky. There has to be an easier way then to manually do it like that.
View 1 RepliesI watched some videos on youtube, they are good but not in depth. Are there any good, easy to understand resources that how to use the virtual camera?
View 1 RepliesSo I've heard it's easy to code your own Virtual Camera. Since I am no coder has one of you lovely fellows probably coded a camera himself?
All I need is zoom and it should work with a stage size of 1024X576. I have tried the popular vCam AS3 v1.1 link: [URL]..page_id=12but it only seems to do an aspect ratio of 4:3 and not 16:9 (which is the aspect ratio you get when you use 1024X576) so everything is skewed and distorted.
Maybe there is just a little detail that needs to change in that code but I have no idea what it is.