ActionScript 3.0 :: Flash Webcam Application With Resolution Of Snapshots And Flash Cam?

Apr 29, 2011

I'm a beginner in Flash AS3 and I want to ask some questions in this community. I have been having some troubles in taking a snapshot using a webcam in my flash application. My webcam flash application is supposed to take a snapshot and save it in mysql server.

I have a small space in my flash application to put the camera so I have set my camera to show up in my flash application at (160,120) resolution size so that the camera preview will not take up much space in my application. I have a button_takepicture that allows the user to take picture with it and it will be saved in the server. However, the picture is saved at (160,120) resolution, which is a super small picture when I view it in the server. Is there any way to set the size of the camera showing up in flash but will not affect the resolution of the saved picture? I want my resolution of the saved picture to be 300x400 and the camera box in flash to be a small size but not a 300x400 size because my stage size is only 550x400.

as u can see in my flash application, the black box is 160x120 in size, it is the size of the camera preview that I want in my flash application. But in my server, the picture resolution size is also 160x120 (I want a 300x400 instead)

figure 1b. if i set it to a higher resolution, the camera preview will fill up my flash application. (shown as a red box. 300x400 size) (this is not I want because it takes up huge space) What should I do if I want my camera size in my flash to look like figure 1a but in my snapshot saved picture in server to be a 300x400 size?

[Code]...

View 15 Replies


Similar Posts:


ActionScript 3.0 :: Why WebCam Snapshots Doesn't Execute By Timer

May 6, 2010

Why WebCam snapshots doesn't execute by timer?

ActionScript Code:
capture_mc.buttonMode = true;
capture_mc.addEventListener(MouseEvent.CLICK,captureImage);

[Code].....

this part of code works well without errors but when I click button I have a picture bu timer It doesn't.

View 1 Replies

Flash :: Webcam Capture On Web Application

May 26, 2010

I need to take a picture from a webcam into a webapp (PHP5/JQuery/HTML5) but I cannot use Flash; Is there a light java applet or any alternative technology for this?.

View 1 Replies

Flash :: Using WebCam Images In An ASP.NET Application?

Jun 3, 2010

Is there any way asp.net can access/stream web cam content without using flash or silverlight to access the web-cam?

View 1 Replies

C# :: Using Flash Api To Access WebCam In An ASP.NET Application

Jun 4, 2010

I'm trying to play with live web cam using asp.net with C#. I want to access/stream web cam content using flash then send the captured streams using Real-time Transport Protocol.

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

Flex :: Capture Webcam Images Always At Max Resolution?

Jun 22, 2010

Is there a way to know the max resolution of a webcam ? I need to capture images from webcam and send its on another notebook throught internet.

So I want to capture images at max resolution indipendently from webcam automatically without setting the resolution every time ( if I have a webcam with 1.3 MPixel, I want to capture images at 1.3 MPixel; If I have a webcam with 640x480 Pixel, I want to capture images at 640x480 Pixel; and so on... ).

View 1 Replies

Actionscript 3 :: Webcam Captured Image Resolution / Size

Mar 9, 2012

I have been having a bit of trouble with AS3 and webcams. I have a script that connects to a webcam and then sends its output to a php script that saves the captured image. This works all except for one problem. It seems that the maximum resolution allowed for the actual Camera object is 320x240. I went to the extreme of hooking a Canon 60D up as a webcam because I have a normal webcam that is supposed to have max resolution of 1280x720 and all I can get is a 320x240 image from it. What I have found so far is the max I can get out of the Canon is also 320x240. Maybe I have been looking at this to long but I am stumped. Below is a sample of the action script where videoCapture should be 1024x768. What happens instead is a 1024x768 image is created with a black background and in the top left is a 320x240 image from videoCapture. I could obviously resize this but that would defeat the purpose being poor quality. Is there something I am missing here or maybe some limitation of Flash even?

[Code]....

View 1 Replies

Flex :: Developing Resolution Independent Web Application?

Nov 30, 2010

I checked this link Flex Cross Resolution Applications and it did Infact,the display varies from browser to browser, (for eg. chrome vs ie8) Chrome has bigger browser window. How to develop flex applications in this case ? I am using values in percentages.However,panel which displays properly in IE8, appears big in chrome with text and buttons having same size. How to solve this problem

View 1 Replies

Scale Flex Application When Screen Resolution Is Too Small?

Mar 18, 2011

I'm developing a Flex application that is designed for screen resolutions of 1280x1024 and more. In the rare case that a projector is used (which usually has a maximum of 1024x768 pixels) I'd like to scale down the application (currently I get lots of scrollbars and clipping).

I've already experimented with the application's properties scaleX and scaleY as well as stage.scaleMode. However, I couldn't quite figure out a way to

render the application without scaling when the application's width and height are larger than certain values use scaling when the width or height are smaller than certain values

View 5 Replies

PHP :: Reading Barcode From Webcam In PHP Web Application

Jan 30, 2012

Want to add following feature to my web application: To decode barcodes generated by this script with webcam and use values in PHP web application. Is that possible? if yes how?

View 1 Replies

Actionscript :: Linking A Webcam In A Flex Application?

Sep 23, 2011

while linking a webcam i xperience following error

ArgumentError: Error #2126: NetConnection object must be connected.
at flash.net::NetStream/ctor()
at flash.net::NetStream()

Following is my code in main.mxml

<fx:Script>
<![CDATA[
import flash.media.Camera;[code].........

View 1 Replies

Flash :: Recording Live From A Webcam / Recording From User's Webcam - PHP

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

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

ActionScript 3.0 :: Force Program To Use Fix Resolution And Change Monitor Resolution?

Feb 9, 2010

I want to know is there anyway to invisible title bar for a AS3 project? and how to force program to use fix resolution and change monitor resolution to what we want?

View 1 Replies

Flash - Using Array Bitmapdata To Record Video From Webcam And Generate Flash Movieclip File?

Sep 8, 2009

is there any sample on using array bitmapdata to record video from webcam and generate flash movieclip file? i want to record sound as well without using red5/flash streaming server

View 3 Replies

Flash :: Capture A Users Webcam In Flash And Directly Upload It To YouTube Without A Backend Server Setup?

Apr 11, 2011

I would like to know if it's possible to capture a users webcam in flash and directly upload it to YouTube without a backend server setup. Or if there are any third party providers that support this service. I see YouTube offers a live streaming API, but it seems it's only available for selected users.

View 1 Replies

Embed A Previously Created Flash Application Into Another Flash Application?

Jul 23, 2009

What is the best way to embed a previously created flash application into another flash application?

View 1 Replies

Resolution For Flash Presentation On Flatscreen TV

Oct 20, 2009

I'm going to be creating a Flash presentation that will run on a flatscreen TV at a trade show. I'm not certain what resolution to set up my Flash movie to. The TV is a widescreen Panasonic 42" TH42PH10BK with 1024 x 768 pixels, however when I set my animation to those values it looks 'squarer' than the TV. It looks like I need to set up the animation to a different resolution, but I don't know which!

View 4 Replies

Professional :: Resolution For TV Commercial In Flash?

Apr 24, 2009

what would be the right resolution and format to create a flash as a tv commercial?

View 13 Replies

CS5 :: Change Video Resolution In Flash?

Nov 17, 2011

I've made a small app that captures and displays the camera feed. But the problem i'm having is that the app only displays a fraction of what the camera is showing (top left part of the corner), is there a way to shrink the resolution in Flash CS5 so that the app can show the full picture?

View 3 Replies

Flash :: Video Resolution On Webpage?

Dec 8, 2009

I have flash video files to display on to website.The flv files are in 1024*768 size.But , when i am displaying the flv on website with 960*720,the video quality is not good.

How can we handle the video sizes on webpage?

View 2 Replies

Flash :: How To Detect Monitor Resolution

Jul 19, 2011

How to detect the Monitor current resolution in flex.

View 2 Replies

ActionScript 2.0 :: How To Resize FLV Resolution In Flash

May 13, 2007

I am making a new site. I am using a looped video on the background but what I want the background flv movie to be resized on all the resolutions how can i make it fixed?

View 4 Replies

ActionScript 3.0 :: Flash Fit In All Screen Resolution?

Jun 16, 2010

anyone know what type of script use in this website to manage screen resolutions automatically [URL]

View 2 Replies

ActionScript 2.0 :: How Can Flash Fit In All Screen Resolution

Jun 16, 2010

anyone know what type of script use in this website to manage screen resolutions automatically [URL]

View 1 Replies

ActionScript 2.0 :: Set Resolution Of Flash Site

Sep 30, 2010

how can I set rezolution of my flash site that is fit to viewer's screen. [URL]

View 4 Replies

ActionScript 2.0 :: Detect Screen Resolution Through Flash?

Dec 28, 2009

I am trying to figure out how to detect screen resolution through Flash.For example i want to move a "movieclip" to a specific point if the height of the screen resolution is smaller than 768.

Actionscript:
if(screen.height < 768){
movieclip._y = 200;
}

I think i should use this property but i don't know how to implement it!

trace(System.capabilities.screenResolutionY);

View 3 Replies

CS3 When Loading, Flash Player Uses Previous Resolution?

Feb 12, 2010

A few months ago, I started noticing a small annoyance in Flash and the Flash Player. This small annoyance quickly became a rather large inconvenience, so I recently started googling a solution. Nothing to be found, unfortunately.Here's my problem:When I open a swf file with the standalone Flash Player (any version), the size of the player is set to the size of the last swf file I loaded with the "File - Open" dialog. By the way, when I use the file dialog to open files, the player resizes appropriately.An example:I open a swf with "open with - Flash Player" and the Flash Player sets its size to 320x240 instead of the swf's size, 640x480. Or I open a swf that should be 550x400 and it opens at 320x240. The Flash Player always uses the dimensions of the last file opened with "File - Open."

This problem even affects the Flash CS3 built-in "Test Movie" player.The problem is a little difference within the "test movie" player. It seems to keep whatever the dimensions were the last time you resized the player yourself, and full screen mode doesn't work properly.I tried upgrading, downgrading, editing the

View 1 Replies

ActionScript 2.0 :: Better JPEG Resolution On Flash Site

Mar 23, 2011

I've been grappling with this problem and am still in need of a solution. I've built a flash site that is image-rich. Images are JPEG files pulled into "createEmptyMovieClip" that I have in AS 2.0 on the flash file. Unfortunately the quality of the images are really bad and that seriously compromises my site.

View 1 Replies







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