Flash :: Flex Use The Camera Without CameraUI?

Jan 19, 2012

Another question about the application I'm making. So when the user signs up, he needs to take a picture. I want to do this without using the cameraUI. I followed a sort of tutorial but the application doesn't run. I don't get errors, but the camera doesn't show. Here is what I did:

<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[Code].....

View 1 Replies


Similar Posts:


Actionscript 3 :: Get Full Camera Area Captured Inside Flex Using Camera.getCamera ?

Apr 1, 2012

I 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 Replies

Webcam - Detect Flash-accessible Camera Without Prompting User For Access To Camera If One Exists?

Oct 11, 2010

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?)

View 3 Replies

Camera - Access The Video Data From This Camera With Flash?

Oct 20, 2010

Usually 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 Replies

Flex :: Camera Stream In Flash?

Dec 30, 2010

I want to get a feed from my camera and to pass it to the receive function. Also in flash builder(in design mode) how do I put elements so they can play a camera feed?? Because as it seems VideoDisplay just doesn't work

public function receive(???:???):void{
//othercam is a graphic element(VideoDisplay)
othercam.??? = ????;
}

[Code]...

View 1 Replies

Flex :: Flash - Detect In App If A Camera Is Already In Use By Another Application?

Mar 30, 2010

I am making an application that plays the video stream from the user's local system (both Windows and Mac). I use the Camera.getCamera() method and in turn Camera.names to get a list of camera attached with the system.

Unfortunately, if the camera is already in use by another application, say a desktop application on user's system, the browser is crashed. Is there any way that I can detect if a specific camera from the list of available camera is already in use by any other application?

View 3 Replies

Flash :: Setup Multiple Camera Modes Flex?

Jul 19, 2011

I have a situation where I have to a have a few different sized "cameras" to send over a netstream depending on if its a desktop or mobile connected. Here's how I have it setup:

protected var nearCam:Camera;
protected var nearCamForMobile:Camera;
nearCam = Camera.getCamera();

[Code].....

If i do JUST the nearCamForMobile and send that to the mobile versaion it looks great on the phone and it's not stretched. but then obviously its 480x800 resolution looks stretched on the desktop version which is a 385x240 video box. So if i do just the nearCam it looks great on the desktop but then it looks stretched on the mobile....

So what im curious is why Cant I do both vars the way I showed above, display the nearCam, and then have the nearCamForMobile waiting to be sent when i need it to?

Can you only have one camera mode setup at a time? On the mobile version its setup so the user is holding the phone in potrait and its 840x480. The desktop site looks best when its like a widescreen video.

In the end I'm basically trying to figure out how to have 2 camera vars with 2 resolutions. Display 1 on the near side and attach the other to the netstream in a situation where the far is a mobile client. (I know how to figure out if the far is mobile, im not worried about that part)

I just need to be able to transmit a resolution/aspect ratio that looks good for a mobile client. which happens to be in a different aspect ratio than the desktop cleint.

View 2 Replies

Flash :: Flex - Camera.names Not Working In Builder Burrito

May 11, 2011

Im using camera class in my mobile application and I used Camera.names to fill my list and i tried to pass the selected value to getcamera() method but its not working.Here s my code

[Code]...

View 2 Replies

Publish Prerecorded (or Live) Video, Instead Of Camera In Flash/Flex/Air Via RTMP To FMS?

May 17, 2011

I'm looking for a way to stream video from the desktop to an FMS installation. I know that in ActionScript, it's possible to do:

netStream.attachCamera(camera);
netStream.attachAudio(mic);
but not:

[code].....

View 1 Replies

Media Server :: Broadcasting From Camera Blocks Other Applications From Using The Camera?

Jun 10, 2009

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 Replies

Flex :: Upload - Adobe Flex Mobile Selecting Image From Camera Roll Or Taking Picture Restarts The Application

Jan 19, 2012

I have a flex mobile application that I am working on that I am having issues with selecting an image from roll/taking a picture. My application is not tabbed, however one part of it contains a Tabbed View Navigator with tabs across the bottom. Within one of those tabs, I have the ability to upload an image to a webservice that I have created. However, when I select an image or take the picture, it pops back out to the initial splash screen and the application restarts. If I use the component standalone (outside of the tabbed view navigator) it selects the image and uploads without any problem.

[Code]...

View 1 Replies

Flex :: Know If The User's Camera Is Broadcasting?

Feb 1, 2010

usually i do Camera.getCamera but when this method is called the user is prompted with a dialog box where he can choose to allow or to deny the application access to the camera, or he could not have a camera

how can the application now whether the camera is broadcasting ?

View 1 Replies

Flex :: Embedding Live Camera Images?

Mar 4, 2010

I know how to embed standard images(in JPEG, GIF, and PNG) in Flex but can't figure out how to embed "live" image feeds. For example:

http:[url]....

View 1 Replies

Actionscript 3 :: Show Snapshots From Camera Flex?

Mar 13, 2012

I created a flex application that snapshot a picture of the webcam. Im trying now to save every snapshop and display it directly when the image has been capture. But I cant seems to understand how to. I want the images to be display in the Thumbnail box.

This is what I have for the moment

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="top"

[Code]....

View 1 Replies

Flex :: Attach Camera To Spark.components.VideoDisplay?

Nov 14, 2010

I'm using Flash Builder and created a spark-application Flex project that will stream video from the local camera. If I use mx.controls.VideoDisplay; there is no problem since it has attachCamera(camera) method. But Spark's VideoDisplay component does not have that method. I know I can use mx controls inside a Spark app but I want to know:

What is the real difference between spark.components.VideoDisplay and mx.controls.VideoDisplay?How do I attach camera to spark. components.VideoDisplay?Is there any advantages if I go with spark (since it's newer to mx library)?

EDIT: In the documentation this is mentioned: "Starting with Flex 4.0, Adobe recommends that you use the spark.components.VideoPlayer class as an alternative to this class. (mx.controls.VideoDisplay)"

View 4 Replies

Flex :: Hand Gesture Recognition With Camera Video

Jun 30, 2011

I want to implement an flex application using actionscript 3: with the camera and the virture buttons(like a image) in the camera, one can move his hand to pass over the virture button field in order to fire the button. Now my solution is following this way: capture the button field in every frame to get a bitmapdata, and calculate the gray-scale summation of the bitmapdata, if the difference between the two frames is greater than a given value, then fire the button. Actually, it could work, but it is very sensible to the lighting condition of the background, worse, when there are more than one buttons, people often fire the button by mistake.

View 2 Replies

Android :: Streaming Using Front Camera Using Adobe Flex?

Jul 19, 2011

I wanted to open front camera of the Motorola XOOM and try to live streaming using the front camera.

View 1 Replies

Media Server :: Using Of (mx) VideoDisplay.attachCamera(camera) In Flex Webapp?

Oct 18, 2011

i have encountered a problem last night. my code looks like the following:

[Code]...

View 1 Replies

Android :: Camera Works Perfectly In Flex Emulator But Not On Device?

Dec 31, 2011

I have a project that uses video for a chat application, I can get it to work in the flex emulator but when I deploy it to the device the button that initiates the video doesn't change and video never starts. My devices all have 2 cameras except my computer but specifiying Camera.getCamera([1]) didn't change anything except mess up my emulator and cause a NullPointerException. Camera.getCamera([0]) works just the same as not having the ID. I have tried messing with different values quality and nothing makes a difference

private function publishVideo():void{
_publishingVideo = true;
_ns = new NetStream(_nc);

[code]......

View 1 Replies

Flex :: Capture Snapshot With Camera Height / Width Different From Video Display

Feb 3, 2011

I have a video display in my flex app. which is attached to the camera. The camera resolution can vary depending on the user's selection, While the video display (preview) dimensions are fixed. I am then doing this:
bmd.draw(vidDisplay);

Where bmd is the bitmap.. The problem is the resulting bitmap has the correct size of the camera settings (which is set) but the capture from the video is always the size of the video display inside the bitmap.. I hope i am making sense. The result looks like a little picture inside a bigger image top left justified. I want to have a video display preview with fixed height, but be able to take snapshot with varying resolution.

View 2 Replies

Flex :: Apply A Filter To A Camera Video Stream Publishing To Media Server

Mar 10, 2012

I am Trying to Apply some information Like text and An Image as an overlay to create a overlay effect as lice a security camera with time and date on the video along with a png based Logo.

I can record VIDEO Using Flex and FMS or any other Media Server. But I want to save a modified version of the stream being uploaded.

View 2 Replies

Video Camera And Flash

Jun 28, 2009

What should I look for when buying a video camera to record videos that could be used with Flacs?

View 1 Replies

Flash :: Access Camera - Use Any API?

Jun 14, 2011

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.

View 1 Replies

IDE :: Move The 'camera' Around In Flash

Sep 26, 2009

is it possible to move the 'camera' around in flash (cs4 as3) as apposed to moving the scene around it?

View 2 Replies

Professional :: Use Virtual Camera In Flash Cs4?

May 15, 2011

I 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 Replies

Video Camera Quality In Flash

Dec 8, 2010

I have this simple code to access the webcam:[code]The quality of the video is extremely bad, with big compression fragments.I am using a built-in webcam as test, so I don't expect too much. But what I see is not normal for my webcam.So how do I set the quality of the video?I cannot see any difference in quality if I remove the setQuality call.

View 1 Replies

AS3 :: Flash - Increase The Quality Of The Camera?

Jun 14, 2011

I'm trying for a webcam based application. I started the code like this:

import flash.media.Camera;
import flash.media.Video;
var cam:Camera = Camera.getCamera();
a.vid1.attachCamera(cam);
a.vid1.smoothing = true;

My problem is that the quality of the video. Im using an iMac machine, in which camera quality is good. Is there any way to increase the quality of the camera output?

View 2 Replies

Flash :: Can't Recognize A Primesense Camera

Feb 15, 2012

I'd like to know if there is some documentation available to know how Flash detects webcams in order to know why it cannot get a Primesense/Kinect camera.

I think it'd be really useful to access Kinect without using the OpenKinect scheme (server-client), but using a real driver for Flash based on Video4Linux.

View 1 Replies

ActionScript 3.0 :: Camera Light Or Flash

Oct 9, 2011

Does anyone know, is it possible to control the camera flash or light With as3.Also the camera flash on the android.For instance can I turn on the camera flash light on android?

View 2 Replies

Publish Real Time Video Stream Of IP Camera To Flash Media Server With Flash?

Jul 22, 2010

Does flash provide an api to deal with remote stream like IP camera does?

View 2 Replies







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