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


Similar Posts:


ActionScript 3.0 :: Camera.getCamera End?

Jan 2, 2009

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

ActionScript 3.0 :: Use The Camera Video GetCamera On The Stagevideo?

Nov 24, 2011

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

ActionScript 3.0 :: Camera.getCamera() Doesn't Work After Deny

Jul 7, 2009

If 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.

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

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

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 :: 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 :: 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

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

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

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

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

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

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

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

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 :: 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 :: 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

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

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

Access Front Camera In Android Devices Using Flex-android?

May 17, 2011

There are samples to show how to access front camera of android devices using android sdk.

View 1 Replies

ActionScript 3.0 :: Camera Slowing Down To 4 FPS?

Nov 27, 2008

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

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

AS3 :: Find Out Whether Camera Is Attached Or Not?

Aug 18, 2009

How to find out whether camera is attached or not in AS3.0. It can be installed or not.

View 2 Replies

ActionScript 3.0 :: Flashplayer 11,2,202,228 Using Camera?

Apr 4, 2012

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 Replies

Javascript :: Access Camera In A Div?

Dec 27, 2010

In 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]....

View 1 Replies







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