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


Similar Posts:


Actionscript 3 :: AIR3 Ios App Microphone Recording/playing - Beginning Of Recording Is Missing

Oct 4, 2011

i have build a small test app in Flash Pro 5.5 overlayed with the AIR 3 sdk.is has just 2 buttons to record and playback audio from the microphone. when i test this on my iPhone 3g - i record myself saying "1-2-3-4-5". but when i playback a half a second or so is missing from the beginning : "3-4-5-".

when i test this on the desktop all is fine is this a result of the iPhone 3g's cpu power or is it a bug or is it my code?

[Code]...

View 4 Replies

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

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

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

Descriptions For Each Product To Appear In The Exact Same Place

Jun 8, 2009

on my stage are 5 buttons, each with the name of a product.  i want to be able to hover over each product and see a Description of the product with a "learn more" link at the bottom of the description.  the problem is that i want the Descriptions for each product to appear in the exact same place.
 
if the hit area of each button covers only the button itself, you can't click the "learn more" link because it disappears when you move off the buttonif the hit area of each button covers the Description area, the hit areas overlap each other.  this causes the Description to always show the same thing (i think it is the Description of the last button i added) if you are hovering over anything besides an actual button. 

View 6 Replies

ActionScript 3.0 :: Get The Exact Number 19.99 * 100 - 1999?

Aug 9, 2011

I've got a problem when I need to display (19.99 * 100 - 1999) on the screen. When I trace it, it will show -2.27373675443232e-13. The problem is that 19.99*100 != 1999. I can use Number(( 19.99*100 ).toString()) to get 1999 exactly using Action Script 2, but this method failed using Action Script 3.

View 3 Replies

Finding The Exact Length Of An XML Node?

Sep 12, 2011

I have decided to give XML a go, so I thought I would start with something small : ) and give creating a dynamic menu a try.

I load my menu headings using textField and I can not get my code to find out the actual length of each menu heading. It all produces 100. I wanted to get each individual lengths so I can divide it by 2 and positon that to the center of my menu buttons.

I am also try to turn my menu buttons into buttons, so I can add my eventlisteners, but it doesnt seem to work. The menu text seems to get in the way, even though I made them non selectable.

This is my XML code

Code:

<?xml version="1.0" encoding="utf-8"?>
<menu_list>
<menu title="1">Home</menu>
<menu title="2">About Us</menu>

[Code].....

View 12 Replies

Flex :: How To Get Characters Exact Position In TLF

May 2, 2011

Any way to get the exact position for every character inside a textflow?, also I'm having trouble with the TLF documentation, is there anny documentation that shows more on how to work with it in actionscript rather than mxml, I am looking to write my own component and perhaps not use richtexteditor if I don't need to. How to get each characters position in the textflow:

private function getCharPosition():void {
for (var i:int=0; i<=textController.flowComposer.numLines; i++) {
var textFlowLine:TextFlowLine = textController.flowComposer.findLineAtPosition(i);
var textLine:TextLine = textFlowLine.getTextLine();
trace('number of atoms in this line: ' + textline.atomCount);
[Code] .....

This returns an error that's why I have try and cache, I have tried to change textLine.atomCount to -1 but that wont work either. Now I don't know what character exactly that I have the position for.

View 1 Replies

ActionScript 3.0 :: Exact Same Strings Not Equaling?

Jul 13, 2009

Here's my AS:

ActionScript Code:
var messages:Array =
[
"SWEATSHIRT",

[code]....

I have a text box called whatToClick which contains the words (copy and pasted) SWEATSHIRT. As such, that should trigger checkMask(), which checks if the clicked item is the same as the one in the text box. While running various trace commands, the string traces out exactly the same, capitals and all. But this always runs the else instead, which means the if isn't true. [URL]

View 4 Replies

ActionScript 2.0 :: Masking An Exact Shape

Apr 7, 2004

id like to mask an exact shape so i can do some cool animations that are only seen over that shape.

example:

lets say i have a big letter 'P' that i made in photoshop and import it into flash. i made the background transparent and saved it as a .png file. so then i place a 'P' on stage that i want to be visible and i place another one directly on top of it to act as the mask. when i use set mask in this situation it doesnt use the shape of a 'P' is uses a box of some weird dimension.

View 2 Replies

ActionScript 3.0 :: Exact Same Strings Not Equalling?

Jul 12, 2009

Code:
var messages:Array =
[
"SWEATSHIRT"[code].......

I have a text box called whatToClick which contains the words (copy and pasted) SWEATSHIRT. As such, that should trigger checkMask(), which checks if the clicked item is the same as the one in the text box. While running various trace commands, the string traces out exactly the same, capitals and all. But this always runs the else instead, which means the if isn't true.

View 9 Replies

IDE :: Draw Lines With Exact Length?

Apr 15, 2010

I would like to have a possibility, where a user could draw simple lines, but with exact length (5000mm, 3150mm, 3950mm etc).where a user could just click and see the lines. Together these lines would make a floor plan for a house. These lines don't have to have thickness, because it will be just a sketch where walls are located. After user has drawn the sketch i would need the program to generate a text file with coordinates of the lines.

View 3 Replies

ActionScript 2.0 :: Masking An Exact Shape?

Apr 7, 2004

id like to mask an exact shape so i can do some cool animations that are only seen over that shape.example:lets say i have a big letter 'P' that i made in photoshop and import it into flash. i made the background transparent and saved it as a .png file. so then i place a 'P' on stage that i want to be visible and i place another one directly on top of it to act as the mask. when i use set mask in this situation it doesnt use the shape of a 'P' is uses a box of some weird dimension.

View 2 Replies

CS4 - Tweening To End On Exact Copy Of Original Keyframe

Apr 23, 2010

I have made a tween using the new tween feature in CS4. I would like the tween to end on an exact copy of the original key frame so that it will loop seamlessly but I just cant figure out how to do this. I am unable to just recreate the keyframe because the object has rotated and moved to much to. I can do this with a classic tween but cant achieve the same effect.

View 1 Replies

Flash :: What Is The Exact Difference Between Both The HitTest Methods

Aug 3, 2010

What is the exact difference between mc1.hitTest(mc2) and mc1.hitTest(mc2._x,mc2._y,true)

View 2 Replies

Actionscript 3 :: Synthesize Exact Frequencies On Flash?

Apr 5, 2011

I've researched a bit and I discovered a way to generate sounds dynamically on flash:

import flash.media.Sound;
var mySound:Sound = new Sound();
mySound.addEventListener(SampleDataEvent.SAMPLE_DATA, sineGenerateSound);

[Code]...

I would just like to know how I can make it generate the exact frequency I need, for example 100Hz.

View 3 Replies

ActionScript 3.0 :: Cannot Push An Object Into An Exact Same Array With A Different Name?

Jun 21, 2009

I have two arrays on my Globals.as document:

ActionScript Code:
public static var special:Array = [];
public static var ground:Array = [];
public static var playertouchme:Array = [];

I go to push an object onto one of the arrays:

ActionScript Code:
Globals.special.push( this );

That works fine. However, when I replace it with:

[Code]....

I get this error:

[Code]....

View 4 Replies

ActionScript 2.0 :: Load External Swf In The Exact Place?

Oct 7, 2005

I bought a template website and I understand pretty much all of the AS by now that they use. But I would like to decrease the file size so I wanted to load things externally. Here's a layout:Main Timeline:page1movieclips of all kinds plus a thumbnail scrollbar to load some other movieclips inside page1.page2page3page4code on the buttons inside the thumbnail scrollbar:

on (rollOver) {
gotoAndPlay(2);
}

[code].....

View 1 Replies

ActionScript 2.0 :: Calculate The Exact Position And Scale?

May 15, 2006

imagen I have a movieclip (space_mc) w1000Xh1000 px?

inside the space_mc I have 2 movieclips:
- vlak1_mc (w100xh100px, _x:100,_y:100);
- vlak2_mc (w100xh100px, _x:400,_y:400);
ok!?

now i put the space_mc on the stage and scale it to 20% the stage (document properties) are w800xh600

Now i want that the USER clicks on vlak1,2_mc and the space_mc scales to 100% But the clicked vlak(1,2)_mc must have the exact coordinates as in the space_mc?

so if clicked on the vlak1_mc!

the space_mc zooms in to 100% and the _x,_y of the vlak1_mc are x100,y100 on the stage(800x600)?

[URL]

View 1 Replies

ActionScript 3.0 :: Loading Image To An Exact Size?

Jun 25, 2009

how can i load an image to an exact size in the movie clip ?

lets say i have an img which is 1000X1000 and i want to leave it at the same proportion but display it at 800X800

View 2 Replies

ActionScript 2.0 :: Exact The Sound From This Avi File So That I Can Use It In The Flash?

Feb 16, 2002

I want to record speaking and used in the flash. But I don't have digital recorder or something like that. I then use digital camera with the ability to record about 10 secs movie with sound. It's an avi file. so anybody can tell me how to exact the sound from this avi file so that I can use it in the flash.

View 7 Replies

ActionScript 2.0 :: Make An External Swf File Exact Size?

Jan 13, 2010

I have a script that calls for an external swf file. It can import the file no problem but it is always the same size. The problem is that I made the swf file with smaller dimensions and it is still to larger in my window.[code]...

View 1 Replies

Flash :: NetStream.seek() For Mp4 To Exact Position Not Keyframe?

Jul 26, 2010

It seems seek() on mp4 file seeks to the closest keyframe (seekpoint). Is it possible to seek to exact position in between of keyframes?

View 2 Replies

AS3 :: Flash - Get Exact Size Of Movieclip If Stage Scaled?

Jun 9, 2011

How do I get an exact width and height of a MovieClip if it was scaled on stage resize?

for example if I have:

stage.scaleMode=StageScaleMode.EXACT_FIT;
stage.addEventListener(MouseEvent.MOUSE_DOWN, checkSize);
function checkSize(e:MouseEvent):void{
trace(mc.width);
}

It will always output the same width and height no matter how big or small the stage is. Is there anyway to get exact current size?

View 2 Replies







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