ActionScript 3.0 :: Detecting The Resolutions Of Webcams

Feb 27, 2011

who has ever messed around with this part of AS3 I've run into an issue with detecting the resolution of the webcams hooked up to the individual machines.

Now while the documentation on the Camera-class says that camera.height and camera.width are readable properties of that camera and also uses them as a way to find the camera's resolution in the examples, it just doesn't work that way on my end. No matter what webcam and what PC I try to use for this, it always tells me that my webcam has the dimensions of 160x120 pixels.

This is very frustrating to me since it forces me to impose a dialogbox onto the - possibly not too tech-savvy - user where they can chose a resolution that is closest to their webcam's native resolution.

I've looked around for a solution to this and came up totally dry. As IQAndreas approached me regarding this because of a twitteruser asking for the same thing, I'm pretty sure that I'm not the only one having this issue.

View 2 Replies


Similar Posts:


ActionScript 3.0 :: Use 2 Webcams At The Same Time?

Apr 23, 2010

Is it possible to use 2 webcams at the same time in AS3.

View 1 Replies

Multiple Webcams In Actionscript 3 On OS X?

Oct 22, 2011

I am developing an AS3 AIR application which aims to use multiple webcams, i have two logitech c615 hooked up on the usb ports, i can get one of the video streams, but i can't seem to be able to access the other cam video, Problem is I just get video from one of the usb webcams, usually the last one i connected.[code]but i never get the other cameras, is this possible?

View 1 Replies

ActionScript 3.0 :: Recording With 2 Exact The Same Webcams?

Oct 19, 2009

I hav ea problem with recording (or even showing) the video of 2 separate webcams which are the same type, brand etc. Somehow one shows its stream and the other one doesn't.

ActionScript Code:
var widthPos=Math.ceil(Math.sqrt(Camera.names.length));
var heightPos=Math.ceil(Camera.names.length/widthPos);
var tWidth=640/widthPos;
var tHeight=480/widthPos;

[Code]...

View 0 Replies

ActionScript 3.0 :: Type Of WebCams In Flash?

Jun 19, 2011

I have developed an application on Adobe AIR which helps users take there photographs and store them. What i need to know is that i wanted to use HIGH RESOLUTION cameras as web cam .. Preferably digicams .. So does Flash AIR support using digicams as webcams ?

or what other options do i have ? I want to take very high resolution photographs in Night Mode so i need to use digicams for that ..

View 1 Replies

Media Server :: Webcams Not Always Being Detected In Linux?

Mar 18, 2012

[URL]

My webcam works great with Skype and Cheese and it used to work great with a program called FaceFlow but now when i try to use it with FaceFlow i get the following pop-up: Adobe Flash Player can't locate a camera on my computer? I have installed via Synaptic the latest version of Adobe Flash Player which is 11,1,102,63 but without any affect?

Would it be possible to uninstall the present version of Adobe and use an older version in the hope that the webcam will be recognised?"
  
I did a quick test of FaceFlow the other day ......  I have two webcams for testing, one is an older model and the other a uvc compatible device.

Faceflow would not recognise the older model, only the uvc camera.

Seems you have come across the same problem  "

View 1 Replies

Javascript :: Webcams In HTML5 Without Flash Or Silverlight

Dec 10, 2011

So now Adobe has pulled the plug on Mobile Flash and are pushing more for HTML5, and Silverlight has pulled the plug too, what's next for interactive video content. So if they die out (as they are currently trying to do) how do we access web cams (or even phone cams) on websites. The HTML5 Media Capture looks like it doesn't support streams only Files, so that could be out, is there any alternatives at the moment, or in the near future?

View 1 Replies

ActionScript 2.0 :: Stream Images (single Jpg) From Webcams Into A Swf?

Nov 5, 2009

I am trying to stream images (single jpg) from webcams into a swf. I know little about actionscript, and what I have so far is from what I have found in other posts around the web. My first attempt worked, but caused a bad white flash between the image being refreshed. So from others I have learned that this will happen unless I use two movie containers and buffer in between them? Here is the code I have, and it does not work.

[Code]...

I don't get any compiler errors. I think this is as2, but I am not sure

View 0 Replies

Developing For Different Resolutions?

Nov 7, 2007

I've recently started developing a big project in flash. I'm trying to tackle the resolution issue at the start, but not sure what to do. The way I see it, the only way to go is to make something for default resolutions such as 1028*768. Other then that there isn't much to do.

A browser stats site showed that something like 50-60% have that res, but other users have different resolutions. I dont want my users to see the game as too big or too small.

View 0 Replies

Keep Flash Project Same Size On Different Resolutions

Mar 30, 2010

I made my flash website on my wide screen laptop, and it looks fine in my browser but when i look at it on a normal monitor it looks too big and streches across the screen. Is there anyway i can get it to stay the same size on different resolutions. I'm currently using As2

View 3 Replies

How To Center Large SWF On All Screen Resolutions

May 3, 2009

I'm trying to make my movie look good on all screen resolutions and when the browser is resized. I want to center my movie, and have it stay in the center when resizing the browser, and I can do this to an extent. I usually use the liquid center template in Dreamweaver, like so - [URL]. However, this time I want a big movie to stay in the center like this - [URL], I've ended up with this - [URL].

View 1 Replies

Professional :: Detect Possible Webcam Resolutions

Jan 6, 2011

I searched forums and googled and not found anything on how to detect the Webcam supported resolutions in flash.The whole issue stems from the issue when I use Camera.getCamera() (only have one attached to my laptop) I'm always getting different values for camera.height and camera.width. Also some 720p cams have different aspect ratio then the old cameras.Is there possible to detect somehow what's the largets resolution is supported by a webcam? Or all possible resolutions supported?

View 2 Replies

Flex :: Position Objects On Different Resolutions

Feb 17, 2010

A Flex project exported as a Projector, showing fullscreen. The project has a background and several dots which each represent a "Location". These locations are fetched from an XML file and have their position set in percentages. The location in pixels is calculated (this works as it should) by the width and height of the Application. The dots are placed correctly. The background is a JPG with a resolution of 1280*1024. At this moment, the background is set on a Canvas with backgroundSize = auto. This places the image in the center without stretching it. Stretching results in ugly, pixelated images and tears the proportions apart.

Problem When we view the project on 2 different resolutions (1 = 1280*1024; 2 = 1024*768), the dots are in the good position, the background image is sharp. But - because of the background having the same resolution as 1, the background isn't fully shown in resolution 2 (because it isn't stretched. A logic result. That's why I tried stretching the background. The results:

[Code]...

View 2 Replies

ActionScript 2.0 :: External SWF Resolutions (using WINK)?

Jan 5, 2006

I am trying to make a product demo in flash. I have 3 products with a few screenshots for each that link to 30 sec flash recordings of that particular product's features.I used WINK for recording these 30 second clips. I want to call them from a MAIN flash file as external swfs to cut down the load time. Wink renders them very very small. Does anyone know how I can make them a certain size once brought into my MAIN flash demo? Say 600px X 400px.

View 2 Replies

ActionScript 2.0 :: Cd Presentation To Fit All Screen Resolutions?

Mar 11, 2008

i've made a cd presentation in flash. and i hav put in the code

fscommand("fullscreen", true);
fscommand("allowscale", true);

It gets fullscreen. but it doesnt fit all screen resolutions. Like in 1280x1024 resolution it fits perfectly. but in a higher one it doesnt fit the way it fits in 1280...

View 2 Replies

Embedding SWF Movie In HTML - Screen Resolutions

May 20, 2009

I have made a 1000 x 600 (px) swf movie for a web and I embedded it in HTML. Now the problem is for some screen resolutions above 1024 x 768, the web is aligned to top left. I tried to put it in a div which aligned to center, then scrolling happens.

View 4 Replies

Media Server :: Live Stream In Different Resolutions?

Apr 13, 2008

i have an urgent question for the following purpose. We plan to develope a solution consisting of a sender software for streaming live video to the streaming server. Now more than one client should be able to connect to the stream of the server. Because the different clients are connected with different bandwidth rates the server should be able to convert the video stream (e.g. the video width and height, framerate and quality) on the fly. Maybe a client with a better connection than DSL should get the video in a resolution
of 640x480, a DSL client should get the video in 352x288 and a client with ISDN in 176x144.

Is there a possibility to do this with the FMS server on the server with server-side ActionScript? Or can I limit the requested stream size on the client side? Or anything I can do?

View 8 Replies

Professional :: Fit Intro With Motion At All Screen Resolutions

Mar 9, 2010

I'd like to make an intro similar to this one used in this site:URL... In other words, I want the logo to appear firstly in the center and then go to the left side of the screen for every screen resolution. How can I make a motion for an object that will always starts from the center of every screen resolution and ends at the left side of the screen for every screen resolution?

View 11 Replies

Flash :: Make A Swf Compatible With All Screen Resolutions?

Jun 28, 2010

I'd like to have the swf get as big as possible for each user without requiring scrolling. Of course it would stick to a certain ratio, currently I'm using 2:1 but that could be changed (maybe I should use 16:9 since it is the standard widescreen ratio).

I am only using Actionscript 3 for code and MXMLC for compiling.

View 1 Replies

Android :: Targeting Multiple Resolutions Using Flex 4.5

Dec 26, 2011

I'm developing a game for Android tablets using Flash Builder 4.5. It has been implemented successfully on Galaxy Tab 7.0", but now I need to edit it in order to fit all android tablets. I attempted searching for information on this, but nothing I found was useful.

Should I use multiple graphics to target devices with different resolutions and, if so, how then should I detect the correct resolution? Or, on the other hand, should I use just one graphic and scale it to fit all resolutions required?

View 1 Replies

Flash - HTML5 Resizable Websites With Different Resolutions

Mar 12, 2012

I'm trying to build a website that looks the same (or at least very similar) even with different resolutions. I know it's a pretty simple thing to do with Adobe Flash, but I'm kinda trying to get into the whole "HTML5 scene" so I thought I could try building it without using flash at all. I know I can resize the canvas to fit the window of the browser it's being viewed in, but can I also resize images, text and other HTML structures that I place inside the canvas? Like s, s, s or images?

View 1 Replies

ActionScript 2.0 :: How To Resize Flash Site To Different Resolutions

Oct 11, 2011

people i am having a problem to adjust my site to different resolutions. i have tryed severral options like putting 100% to with and eight but what i really want is something like is told in this tutorial (see image)

the problem is that my site is done is as2.0 and the tutorial is done is as3.0, and it refers to a rectangle with a background, and i want to addapt it to my site and dont know how.

View 9 Replies

ActionScript 2.0 :: Resizable Document And Background For Different Screen Resolutions?

Aug 23, 2010

I am trying to achieve a flash project with a background that is required to be stretched. Otherwise it looks funny.

My idea was to create different dimensions of the background, and according to the screen resolution the visitors has, the flash document publishes the background that is meant for the visitors screen resolution.

* And, can the flash document "strech" also? So I can put the different backgrounds in the flash document, and the flash document widens so it covers the whole web browser window?

View 1 Replies

ActionScript 2.0 :: Flash Object Changes Position With Different Screen Resolutions?

Apr 13, 2011

I have attached screen shots that shows the flash objecting moving. I am not hosting the website yet so I have created an archive so you can view it here: [URL] Although if you do not have time to download and view my website, I will provide my website's HTML on my second post: how to keep my flash object in the same place. (regardless of screen resolutions)

View 2 Replies

ActionScript 2.0 :: Background Graphic - Four Corners At Multiple Resolutions

Feb 13, 2006

I'm working on a full flash site with a target resolution of 1024x768. My main content fits within these dimensions and is a fixed size. What I'd like to do, Is have a background graphic in each of the four corners so that stays fixed to the four corners at multiple resolutions. (The background is sort of a grunge/distressed design that is dark in the corners and gradually fades to white towards the center.)

For example:
- at 1024x768 it would start at each corner and go partly behind my main content box.
- at higher resolutions such as 1680x1050 (Apple Powerbook) the graphic(s) would still be in each corner but wouldn't quite go behind my site content.
That's sort of irrelevant - mainly what I'm after is how to stick the graphics to the corners while keeping my primary swf at 1024 wide.

View 1 Replies

ActionScript 3.0 :: DragEase Fluid Site - Different Result At Different Resolutions?

May 20, 2011

The thing is when I press "GREEN" in the Navigation menu I would like to focus on the green movieClip. I was thinking I could just use the greenZone.x and y to position the bgObj correctly but that gives a different result at different resolutions(the site is Fluid).

Code: PHP Code:[code].....

View 7 Replies

ActionScript 3.0 :: UIloader With Autoresize Is Pixelating Loaded Images On Different Resolutions?

Jul 1, 2010

My publish settings are Flash Player 9 with Bottom up Load order, and the Size of the stage has been set to 900x561.The HTML is published to load the SWF file as 100%x100% Additionally I added the following to the HTML Headers to disable scrollbars:

<STYLE TYPE="text/css">
<!--
body {overflow:hidden}
-->
</STYLE>

I writing the movie with AS3, and I am building a 4 image, gallery.I have 4 Adobe UIloader components that are side by side and have arrows that allow you to browse the images back and forth. The UIloader is configured to auto-resize the images that it loads.The UI Loader Size Is:

W: 175.0
H: 264.0

I am using an XML file to hold image info and I use an URLLoader to import the data into an array which is then feed to the UIloader to load via URLRequest().

Here is my AS:

// Stop the timeline
stop();
// Import functions

[code]....

I first created an image that is the exact dimensions of the URLLoader and it looks OK but somewhat pixelated 1024x768 but on larger resolutions the images are very pixelated. So I created a picture that was 1024 x 1542 and again this looks OK on larger resolutions but is horrible on smaller resolutions.

View 1 Replies

Professional :: Adobe Media Encoder CS5 Hangs When Adding Files Of Varying HD Resolutions

Jul 29, 2010

I have been encoding 1920x1080i mov files (h.264/aac) to 1280x720p (vp6/mp3) flvs.However, when I add older HD content into the AMC que, content with non-standard presets, the program hangs.I tried to import about 15 files last night and the program just sat there all night in a 'NOT RESPONDING' state.The video's have different audio and video settings and it's little difficult to pinpoint exactly what they were.Some are 1440x1080, some are 1280x900, some have PCM audio some of mp3.Now I temporarily resolved this issue by simply using cs4 master on my mac pro which worked great.However I have noticed a huge speed increase in CS5 64bit AMC.It takes 2-3 hours to encode 1 flash video on my mac pro (dual quad core xeon 2.9Ghz/32GB ram) with CS4.It takes ~20 minutes on my windows 7 station (single core 2 quad 3Ghz/8GB ram) with CS5.
 
If I drop a single file into the AMC CS5 que, regardless of the resolution, frame rate, or sound codec; it will import.If I then add another file with a different resolution AMC will hang and become non-responsive.It never crashed but I can't wait 12+ hours to see if it accepted a job or not.As I said before this problem was not observed on CS4 for mac it worked flawlessly, albeit a little slow.[code]

View 1 Replies

ActionScript 2.0 :: Detecting The End Of Flv?

Feb 23, 2007

how do i detect the end of flv .. or when it finished playing?

View 7 Replies

IDE :: Detecting The End Of Flv Playback?

Mar 24, 2009

how to detect the end of an flv playback. I am loading in a flv to a webpage, using the FlvPlayBack component. Everything is working fine as to be expected. How do I insert a credits image to display once the flv has finished? Users would need to be able to restart the flv playback too. I have been looking at cuePoints etc...

View 3 Replies







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