Access To The Camera And/or Microphone Available On User Computer?
Sep 29, 2009
I am developing an application running in Flash Player. The applicatiosn requestes access to the camera and/or microphone available on user computer.Is there a way in the application I prevent users from seeing this question? i.e. without having user to change his/her Adobe Flash Player setting?
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?)
I have a service that uses computer webcam via Flash. Now I'd like to develop an Android optimized version of the service using HTML5 + Flash and then use some HTML5 wrapper to get an app.
I wonder if it's possible to use the same ability of Flash that provides an access to user's phone camera (frontal) on the Android (tablet pcs, smart phones). I know Android supports Flash since 2.2, but I failed to find any information on hardware access.
i am working on a video recording project in ActionScript-2, i want to add a script with my code to detect camera or microphone disconnection. it means if user disconnect camera or microphone in between recording, i want to give him a warning.
i am working on a video recording project in ActionScript-2, i want to add a script with my code to detect camera or microphone disconnection. it means if user disconnect camera or microphone in between recording, i want to give him a warning.
When an Adobe Flash program accesses a camera or microphone in Adobe Flash, Adobe pops up a panel to the user if they want to Allow or Deny access. If the user clicks Deny, I would like to pop the same panel back up. However, trying to access a microphone or camera again doesn't seem to do it.
I know there's Security.showSettings(SecurityPanel.PRIVACY), but this is a slightly different popup which has a "Remember" option which I explicitly do not want.
Is there a way to repeatedly popup the Allow/Deny confirmation without the Remember option?
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?
what is probably a basic question...I have a Flash app that needs access to the microphone. The code is:var mic:Microphone = Microphone.getMicrophone();That initiates a dialog box where the user allows or denies use of the mic. What I was to do is have my code pause at that point, and not proceed until after the user has made their choice (allow or deny). I assume there's gotta be an easy way to do this, but I haven't discovered it.
In my Flash application, I would like a user to be able to import a picture from their hard drive. Basically, the app allows the user to customize an object. One of the steps of customization should be to add an image of their choice.
Is there a way in Flash to allow the user to pick a file from their hard drive, which is then read into memory and made accessible to an application? I would like to take the data and upload it to a server to store it for future sessions.
I've made a Flash project which uses a lot of animations based on Actionscript, and I've checked that in old computers those animations have a low framerate.So in order to optimize it, I thought to disable some of them depending on the capabilities of the user's computer, but the only thing I've found which could be useful is the property System.totalMemory
Is there any way to calculate the user's CPU performance in order to act in consequence?In these cases, would it be useful to replace some vector graphics with bitmaps? If I'm not wrong it would make use of more memory but would lower CPU charge, wouldn't it?
I've been searching for quite a while now on a few different sites for information on testing the cpu speed of users computers. I've done this search before about a month ago and remember fidning something about this. Problem is, now I can't seem to find anything. The reason I need to know is because I have an MC on my stage which is using actionscript to animate but on older computers with slow cpu's all the animation slows down terribly. I would like to be able to test cpu speed and redirect to a different page based on cpu speed.
I want to save a jpg of dynamically loaded swf's to the user's computer. Everything works great, except the loaded swf's don't appear in the jpg (everything on the stage renders fine). Any thoughts?
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 ?
Im working on an app with flash and zinc which requires the use of Webcam...
Now my problem is whenever i run my program it ask for permission that "local is requesting access to your camera and microphone".. well i know that if i give remeber in settings tab it wont ask again.. but my app will be used by many clients where i dont want to show it is made with flash... so can anyone provide solution so that ther permission is override and to show the cam..
how to allow the user to upload some image of his/her choice from his/her local computer, plus adding some control on size and dimension limit.
I've seen this performed for instance in webs where they sell sunglasses. The movie allows you to upload your own picture of yourself so that you can virtually try them on.
On the site [URL] there is a .swf that prevents users from opening multiple instances of the site at the same time on the same computer. If you open the site, and try to open it a second time in another window, it won't load. You can't open the site again until the first window is closed. How did they implement this?
From my analysis it is NOT:
1. Cookies - The block still takes place if you try opening it in IE and also try opening it in Firefox simultaneously.
2. Flash Cookies - The block still takes place if I disable flash cookies.
3. IP Based Block - You are not blocked if you open the site on two separate computers with the same outbound IP address. From my analysis, their server does not assist in the block at all.
It seems as if their .swf is creating some kind of global system-wide object that can be detected in other instances of the application on the same machine. How did they implement this?
On the site oldnavyweekly.com there is a .swf that prevents users from opening multiple instances of the site at the same time on the same computer. If you open the site, and try to open it a second time in another window, it won't load. You can't open the site again until the first window is closed. How did they implement this? From my analysis it is NOT:1. Cookies - The block still takes place if you try opening it in IE and also try opening it in Firefox simultaneously.2. Flash Cookies - The block still takes place if I disable flash cookies.3. IP Based Block - You are not blocked if you open the site on two separate computers with the same outbound IP address. From my analysis, their server does not assist in the block at all. It seems as if their .swf is creating some kind of global system-wide object that can be detected in other instances of the application on the same machine. How did they implement this?
I am using sifr 2.0.7 and here's the deal. The sifr is working (I can see it in the DOM) however, the font is wrong.It doesn't pick up my swf font (DIN) unless you have it installed on your computer?The css font style is: HelveticaNeue which is what the sifr seems to render if you don't have DIN installed.I see it on my computer but my friend see DIN.
What is the fastest way for a Adobe AIR program program to index all images on a users' computer? Using Open Source ActionScript-3, MXML Libs and classes.
Fastest - Same pc configuration, different time (seconds) To index - get a list of absolute links (like c://bla-bla/file ) and save them into file (index.txt) All images (like JPEGs, PNGs)
I'd like to know how to allow the user to upload some image of his/her choice from his/her local computer, plus adding some control on size and dimension limits, and to check that the file to be uploaded is actually a JPG/PNG/GIF and not another else.
I've seen this performed for instance in webs where they sell sunglasses. The movie allows you to upload your own picture of yourself so that you can virtually try them on.
way to get access to sound samples coming from a microphone ?
So far I have not found such a function. In the meantime I am trying to overload alsa functions e.g: snd_pcm_readi to see if I can get the samples before flash treats them, but no success so far.
As a matter of fact, since I have no idea how both sound and microphone class work internally, I don't know exactly which alsa functions they call.
A friend of mine asked for a simple program. Input: Coordinates of some points, spheres, planes etc. (from an excel document (strictly) ) Output: A 3D view of the input which the user can move the camera. The questions is, how can I do that easiest way. I have experience in C++, C#, Flash (AS), Java