Actionscript 3 :: Managing Camera On Air Application?

Jan 5, 2012

Does anyone know the name of the event that is dispatch by the attachCamera(), i would like to take a picture ones the camera is loaded, i try to execute my code after call attachCamera but it takes the VideoDisplay empty, that's why i would like to know if there is an event triggered after the attachcamera() is complete loeaded.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Detecting Camera Already In Use By Another Application?

Jan 26, 2010

how can I detect that the camera is already captured by another application My scenario is to check whether the camera is not in use by another application and displays the status to the user

I can check using getcamera()!=null to check if the camera is installed or not but i cannot check whether the camera is in already use by another application and the result is black screen in my application

View 0 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.0 :: Capturing Images From Camera In Web Application With Flash?

May 26, 2010

We have requirement of web conferencing in our application.Before that we also need capturing images directly frm camera and stroed into our application.I searched a lot then find that it is possible with flash media and action scripting.with that you access client system.I have never done coding in AS3 before...So donot knw how to go about?Even dnt knw how add it later in our web application.

View 3 Replies

Actionscript 3 :: Check When Other Flash Application In Same Browser Is Already Using Camera?

Apr 16, 2012

I am having two flash applications on a same web page. Lets say one is already accessing the camera, then if i click on the second application, it will directly start using the camera. I dont want this. I need to check if any other flash application is already accessing the camera in the same web page. Let me tell you that we cant use Camera.getCamera() and check if the camera==null, this wont work, since the camera is available.

View 2 Replies

Actionscript 3 :: "destroy" The Camera Object For Improve The Application Performance?

Jun 21, 2011

I am using the Camera on Flash, but when I finish to use, now can I "destroy" the camera object for improve the application performance?

private var camera_atual:Camera = Camera.getCamera();
private var video_camera:Video = new Video(820, 546);
camera_atual.setQuality(0,100);
camera_atual.setMode(550,480,30,true);
video_camera.attachCamera(camera_atual);
this.palco_mc.addChild(video_camera);

View 1 Replies

Iphone :: Access Mobile Device Camera From A Grails Application Using Jquery Mobile

Feb 23, 2012

I have a grails application using jquery mobile. I am hoping to find some way to access the camera on the devices. I thought about using flash to grab the webcam but that obviously wont work on Apple devices. Does anyone know of a way to do it and keep it all browser based? I am hoping that there is a plugin somewhere or maybe html5 has some magic in there that supports it.

View 1 Replies

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

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

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

ActionScript 3.0 :: Taking And Managing A Screenshot?

Mar 4, 2009

The searches that I did on this topic aren't providing me with any answers...that I can understand anyway. =*) Here's the situation.In the past, I did computer-based-training using "a different authoring tool." One thing I discovered I could do with that tool--which really opened up new possibilities for me--was to use that scripting language to create a snapshot of the current window and save that image as an object/class. Then I could access that object, resize it, save it to disk, and load it in later. The result--for my training at least--was a visual bookmark of their location in the training should they have to save and come back later.I would now like to do this with Flash.specificially CS4 and AS3.If anyone can point me in the right location to get started,For clarity, the steps are:

1: Take a snapshot of the current Flash window / Stage. I'm not concerned if the snapshot remains "in Flash" or goes to the Clipboard as long as I can get to it in the next step.

2: Access that snapshot from where-ever it's stored.

3: Process the snapshot and reduce it to a thumbnail, etc.

4: Save it to a file that I can bring back into the .swf at a later point. I'm not real concerned about the format of the file as long as I can bring it back in later. How do I save it? I would love to be able to save it to the user's machine but last I checked
Flash won't do that sort of thing. Can I save it as a file on the server that the .swf is running from using perhaps a PHP call /script / page?

5: And, of course, recall the image to be used at a later point. I already have a pretty good handle on this from past experiments.

View 1 Replies

Actionscript :: Managing Events In Flex?

May 31, 2010

I'm doing some newbie tests, so I decided to capture the keyboard events to move a rectangle. But I don't get the desired result. Unless I click on the TextArea box, I'm not able to capture the event key code. After that, all goes pretty well.

[Code]...

View 1 Replies

ActionScript 3.0 :: Managing The Multiple Key-presses?

Sep 19, 2011

ActionScript Code:

package
{
import flash.display.Stage;
import flash.events.KeyboardEvent;
import flash.ui.Keyboard;

[code]....

View 3 Replies

ActionScript 3.0 :: Managing Many Tiles (or Symbols)

Mar 5, 2012

I'd like to display a group of squares following a pre-determined path to create rows. Like row 1 to 10 would be Row1(), 11 to 20 Row2() and so on. The main reason for this is to hide the Menu before actually showing/building it. After the Menu is build up, I could remove the squares any way I want to reveal the Menu behind.

View 0 Replies

ActionScript 3.0 :: Managing Display List?

Sep 10, 2009

In my project I have 3 types of elements that spawn at different times. 1. When I hold the mousebutton down object 1 appears. 2. When I release the mousebutton, object 1 disappears and object 2 spawns3. At regular time intervals yet another object spawns, object 3.These objects might (or will rather) touch eachother at some point. And what I want is this:Object 1 to be under object 3 and object 2Object 3 to be under object 2

View 2 Replies

ActionScript 2.0 :: Managing Two Or More Flv Movies With NetStream

Aug 15, 2011

I've searched for a free split and join flv files software without success. I intend to play two flv movies on stage, one after another. How can I detect that the first movie finished in order to start the second one? I am working with NetStream objects in AS2.[code]

View 2 Replies

ActionScript 2.0 :: Attaching And Managing Multiple Movieclips?

Jun 14, 2011

way to attach multiple movieclips from the library to the stage is and name them in an appropriate way, then refer to them as if they were an array: fielder[i]. I have tried a few approaches but the closest I have got is this: (this is attached to a movieclip already on the stage).

Code:
onClipEvent (load) {
for (i = 1; i <= 5; i++) {
_root.attachMovie("fielder","fielder" + [i],this.getNextHighestDepth());

[Code]....

View 2 Replies

ActionScript 1/2 :: Managing LoadVars In HTML Embedded SWF

Dec 28, 2009

I am working with loadVars in an swf file embedded in an html page. The script is written to add a text string to existing textfield. The documentation I have does not address this situation. How do I get the return value from the server to the embedded SWF file in this situation?

View 4 Replies

Php :: Managing User Session For A Website For Lifetime?

Aug 4, 2010

I want to manage a username session for lifetime. means for example if u look a website [URL] in this website i have registered and i haven't logged out but whenever i open up this website my username appears there. No need to login again. so i want to do the same for my one of the games website. i have developed my website using php mysql flash.

View 3 Replies

Actionscript 3 :: Managing A Core Library In Subversion

Sep 15, 2010

This is giving me major headaches! I'm having trouble even describing the problem in words. Basically, I want to be able to manage a core library (coreLib) of Actionscript classes with the following requirements: latest version is checked out when a new project starts. a dev can make changes to the coreLib and then commit them back into the repo as project is written (maybe bug-fixes, added features, etc.) the project contains a 'snapshot' of the coreLib so that, if returned to months later, it (as automatically as possible) has a copy of the coreLib that has guaranteed compatibility with the project.

I tried using externals but this can break compatibility going backwards. I'm currently exporting the coreLib into the project and its VC'd along with the project. I can't figure out how to get the changes back into the repo though, without just copying over the top and losing history.

View 3 Replies

Actionscript 3 :: Managing Singletons In External Swfs?

Mar 22, 2011

I'm dealing with the scenario whereby my code might be included in other Flash content either included via import .as commands and then referenced as a Singleton, e.g.

import com.as3.Singleton;
Singleton.birth();
Singleton.getInstance().test();

[code].....

View 2 Replies

Flex :: Managing Changes To Child Collections And Their Properties

Jan 6, 2012

In Flex, how do you best manage child collection property changes, specifically notifying a parent object that a property within the child collection has changed.

package
{
[Bindable]
public class Author

[Code]....

How can I notify the Author when a Book propery has changed and update the dateOfFirstBookPublished method?

View 1 Replies

ActionScript 3.0 :: Managing Depths Of Movie Clips

Jun 9, 2011

I'm having trouble managing the depths of my movie clips.I've got a startDrag() function and a stopDrag() function. Whenever I rollover another MC, I want the depth of that object to change to 1+ the object it rolled over.(I apologize if my English is poor)This is as far as I got, but cIndex returns the depth of the object that is currently being dragged; not the object it's hovering over... Is there a way to get that depth?[code]

View 1 Replies

ActionScript 3.0 :: Attaching And Managing Multiple Movieclips?

Nov 9, 2011

I have used AS2 for a long time, and have decided it is time to start working with AS3. When attaching multiple movieclips with instance names I would normally do this (AS2):

Code:
for (i = 1; i <= 6; i++) {
_root.attachMovie("test_mc","test_mc" + i,(300 + i),{_x:fx[i], _y:fy[i]});
_root["test_mc" + i]._width = 26.1;
}

but I am struggling to get the same effect with AS3. here is what I have so far...

Code:
var mcWheel:MovieClip = new wheel();
function attachImages():void {

[code]....

View 0 Replies

ActionScript 2.0 :: Managing Multiple External .swf Loads?

Jul 18, 2006

Let's say I have 5 .swfs that I am loading into one movie. Am I better off having each .swf load one after the other? Let's say once the first one is 50% complete, the second one starts etc. This will help bring the individual .swfs on faster but it will probably cause the overall load to take longer. Is this a correct assumption?

View 3 Replies

ActionScript 3.0 :: Unable To MAnaging External SWFs?

Aug 13, 2009

Well the problem of my project is that I am trying to load the external content like this:
First I load on index.fla:

Code:
import gs.TweenLite; // we will import TweenLite from "gs" folder
import gs.*;

[code].....

View 1 Replies

Professional :: Interactive Map / Managing Layers When Popup Is Not On Top Layer

Jul 26, 2010

I am creating a touchcreen (LCD) for a property development.We I am having a problem is on the interactive map.Picture a map with icons all over it.When you touch the icon a image of that area of the map pops up.you then click on a X on the top right to go back to the map.I have probably dont this incorrect and those only because I dont have much knowledge.I have create the map on the lowest layer.The icons (same graphic - eye) are on there own layers.I converted the icon to a BUTTON and added the pop up on the DOWN.The problem I have is when you touch the icon on a layer other than the top layer the top layer icon shows on the screen (ontop of the popup).

View 2 Replies

ActionScript 3.0 :: Menu/submenu Managing And Event Listening?

Dec 17, 2010

I'm creating a flashwebsite and I've got a problem with submenu appearing/disappering. What is extremely easy in html/jquery is taking me overburned in actiuonscript: make appear a submenu only when the mouse cursor is over its button and not over itself. Indeed I've my button/MC, that contains its submenu (which is a vertical list of MC), and when I go over it, submenu appears, when I leave, sub menu becomes invisible.
BUT, when I go over the space under the button (where my invisible submenu is), submenu become visible another time. I know that cause is the listener associated to the main button is linked to all its nested MC.

[Code]...

View 1 Replies







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