Actionscript :: Flash Camera Permissions Dialog: Why Does It Sometimes Take More Than One Click To Work
Jan 15, 2010
Often, but not always, the first few clicks on the "Allow" button on the Flash camera permissions dialog are ignored. This is very frustrating for users. And for me, when I'm testing code! I'm afraid I don't really know what else to say about the problem to give more insight. My hunch is that it has something to do with getting focus on the embed element, but that is merely a guess.
View 1 Replies
Similar Posts:
Jun 7, 2010
I am working on a flash video recorder.When the video recorder applications loads , a camera permission dialog box opens asking the user to either allow or deny access to the camera or microphone.The problem is that on mac firefox the the user is not able to click on the allow or deny buttons.In fact the entire flash dialog box does not respond to any mouse clicks. When you right click on the flash area to manually open the security window it opens .But even here there is no response to mouse clicks.Using the keyboard i am able to shift focus from allow button to deny buttons or any other part of the dialog box but nothing happens on pressing the enter key.In short, the recorder application freezes at the very first step in mac firefox.
View 3 Replies
Nov 19, 2009
The current workflow is as follows:
user clicks a button sends a Loader to see if the user has permission if the user has permission uploads a file
Unfortunately, this gives:
SecurityError: Error #2176: Certain actions, such as those that display a pop-up window, may only be invoked upon user interaction, for example by a mouse click or button press.
It appears that as a security feature, Flash 10 disallows certain functions (such as uploading a file) unless it is preceded by a mouse click or button press. However, since I am first loading the request for permission, it no longer see the MouseEvent event (presumably in the stack) and thus throws a SecurityError.
View 2 Replies
Jan 19, 2007
I'm creating a small app to run from CD-Rom/local installation that will use multiple shared objects for data storage. To ensure proper saving without surprising the user with a permissions dialog unexpectedly, I'd like to request unlimited data storage on first time app launch - Joey Lott shows how to do this in the Actionscript Cookbook... request=mySO.flush(1024 * 500);
My question is,Can I perform this permissions request with the user a single time with a generic app SO in global fashion, so that the permissions would be set for any SOs created during the use of the product (all written to same SO directory),or do I have to request
permissions for each and every SO created? Since the latter would be unacceptable from a UE standpoint, that means stuffing all app data into a single SO which doesn't seem so great from a data config perspective...
View 1 Replies
Feb 21, 2011
I have problems with facebook application based on flash which communicate with PHP using FBJS-bridge.When someone use the application for the first time, he/she is asked for various permissions. After that, flash contact PHP with ajax but request is never sent. When you refresh page, everything is working without any problems.If you remove the application on privacy settings, refresh the page and try again -same bug happens.If you allow application, refresh page, in other tab remove application and start application in previous tab - user is asked for permissions but everything is working after allowing application.This is FBJS code
function openPermissions(){
Facebook.showPermissionDialog(/*permissions string*/, permissionOnDone);[code]......
openPermissions is called to display permission dialog, and on allow flash function allow() is called. In flash, allow() calls JS function ajaxCall(), which should make ajax request. But, ajax.post never sends request. I know that for sure, because flash function parseAjax was never called and also debugging tools in browsers are not showing any ajax requests. URL and parameters are same as when it is working. No flash or JS errors are detected...
View 1 Replies
Jul 13, 2011
i had clicked denied button of the Camera Access Dialog and made my cam instance to null Is it possible to bring back the Camera Acees dialog box again
View 3 Replies
Nov 4, 2011
I'm working with the Facebook Actionscript API (no PHP or Javascript), and I'm having trouble granting access to extended permissions, like publish_actions. I'm using the following login:
var opts:Object = {perms:'read_stream,publish_actions,offline_access,user_photos'};
Facebook.login(handleLogin, opts);
I get two "Request for Permission" windows. The first says my app needs access to "Your Photos". The second says my app would like permission to "Access posts in your News Feed" and "Access your data anytime". Why can't I request access to "publish_actions"? It looks like there may be two permissions levels - regular and "extended". It looks like extended permissions may require a "scope" parameter, instead of "perms". How/where to use the "scope" parameter.
View 1 Replies
Jan 6, 2010
Have anyone have similiar experience work with GigE ethernet camera with flash app? recently need to test high resolution with high fps such as 1600x1200 @60 fps work with flash application, Does it required to via other C#/delphi/C++ programming to work with together?
In windows xp environment the GigE ethernet camera is connected to local pc only, not to internet server or FMS for streaming.
this product looks like fit my need :prosilica
View 3 Replies
Jan 6, 2010
Have anyone have similiar experience work with GigE ethernet camera with flash app?recently need to test high resolution with high fps such as 1600x1200 @60 fps work with flash application or it required to via other C#/delphi/C++ programming to work together? In windows xp environmentall GigE are connected local, not to internet server.
View 1 Replies
Oct 21, 2011
I have a piece of code:
[Code]....
Which implementation is running here: [URL] I have Vista Bussines SP2 but problem also exists on Windows 7 Home Premium. On IE 32 bit the capture image is flickering on my moves. This is very annoing. I compile my project with additional settings: -swf-version=12 -target-player=11.0 On for example Firefox this work much better but problem also exists. And external library is set to newest playerglobal.swc downloaded from Flash Adobe download site.
View 1 Replies
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
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
Jan 16, 2012
I'm trying to build an app, which should have Flash Player control, which plays SWF from server (certain URL). For Flash Player ActiveX you have to save SWF file to a temporary location to load it and play, isn't it? You'll have to create a corresponding link that you can pass to the Flash Player ActiveX and then delete SWF file after it is played. Of course, high security level can't be guaranteed, but I think it's good, if at least no temporary files are created (can be intercepted LOCALLY). So the question is how to make Flash Player ActiveX be able to load SWF file directly from any source without usage of temp files?
View 1 Replies
Jul 7, 2009
If you click any of the two buttons (which do the same), in order to start capturing video with the camera, you get the Adobe Flash Player Settings dialogue (image included).If you click Deny, I can't get the camera to work again later on...Is this the intended behavior?A similar problem (which is not included in this example) happens after closing the connection to the camera with
code:
camVideo.attachCamera(null);
... I can't make the camera work again.
View 2 Replies
Jan 13, 2011
I have created static text links in Flash (CS4) but they only work when published with a double-click.How do I get them to work with a single click?
View 8 Replies
Jul 16, 2010
I have a VBox, I assigned a handler to click, and inside the VBox I have components such as images and texts with no handler assigned for click. Would the click function be called when I click on the text and image? If not how can I make it so without assigning handlers individually, but on the container level?
View 3 Replies
Apr 3, 2012
I have a seek bar for video player just like youtube, user can drag the cursor in seekbar or click anywhere on seekbar to jump to the time I use mouse.down and mouse_up event for dragging the cursor:
[code]...
here is my problem: if I do only clicking or dragging nothing wrong but when I do both clicking works but dragging isnt when mc.cursor.mouseEvent up is called mc.mouseEvent click is also called and since mc.cursor is clicked click event got the coordinates wrong I remove the click event in mouseEvent up function in 1st line and in the last line I add again but it does the samething again
View 1 Replies
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
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
Mar 3, 2011
I would be very grateful if anyone can shine any light on the problem I am having with Flash CS 5 for OS X 10.5 and 10.6. A local admin account allows a user to export a flash project file as a quicktime file no problem. However, when a network user tries to do exactly the same thing, i receive a "unknown error" message.
We are running our iMacs via active directory and open directory. I have added Flash to the allowed applications list in Workgroup manager and have allowed access to library paths etc. So basically a flash file wont export as a quicktime file under OS x when logged on as a network user.
We have tried different export areas (desktop, removable drive, network home folder) but no joy. The permissions must be blocked elsewhere.
View 2 Replies
Jun 12, 2010
I'm using 64 bit Windows 7, I tried to download it on both Firefox and Google Chrome, I used the uninstaller on this site so I shouldn't have any current Flash installed. When I go to try and install the new flash 10.1, it tells me...."A required file (C:WindowsSysWOW64MacromedFlashNPSWF32.dll:5) could not be written due to insufficient permissions."
View 2 Replies
Nov 22, 2011
We have been purchased a training course made with Flash. When we received the course (a SWF file with external files inside a "data" directory, images, videos, etc), we realized that it was necessary to explicity give permissions to Flash Player to access the content in the CD drive. We think that is not a good idea to distribute a CD where the user have to do "extrange things" to make it work.
So, we talked with the developer and he sent us an .EXE file with the course, that obiously works fine (al the content in the CD is readed without user interaction), but it only works in Windows machines.
The question is: is it possible to publish an SWF that can access to the CD content without user interaction? We are almost sure that the answer is "yes" because we have a lot of "magazines" cds with SWF files that load the contents from CD (text and images) and they work perfectly "as is".
View 1 Replies
Jun 20, 2011
Like some others here, I am trying to write a music player that will play live stream (shoutcast mp3). I've tried both Flex (Flash Builder 4.5.1) and Flash CS5.5, it works great when I play the SWF on the PC, but when tranferred to the phone I hear nothing, although it is streaming, I assume that it is something to do with the permissions, but I'm not sure. The permissions I am using at the moment (for android) are as follows:
[Code]...
View 2 Replies
Nov 23, 2011
I have an AIR app using GraphAPI_Desktop_1_8_1.swc to access FacebookDesktop. I call FacebookDesktop.login eg: FacebookDesktop.login(handleLogin);and all is good, the login window opens and the user logs in. But! when I add extra permission, for example: FacebookDesktop.login(handleLogin,{perms:"publish_stream"}); In the 'handleLogin' callback function I get the following error: message, An active access token must be used to query information about the current user.
View 2 Replies
Aug 2, 2009
I would like to have a quick message displayed on the screen for a few seconds after a user clicks a button. I can't seem to find an Alert Box or Dialog Box option in Flash CS4.
View 1 Replies
Dec 13, 2011
I just created a xml editor in Flex that works perfectly, but i'm having trouble with save option. In fact he's saving quite well, the problem is that it is displaying a dialog box for saving the document, and i want to save and replace the file automatically when i click the save button without displaying the dialog box.
NOTE: I am using the FileReference class to use the method Save(), i read somewhere on the internet that FileStream class can be used for this, but i don't know how...
View 1 Replies
Dec 12, 2010
So, I'm pretty sure this is impossible, but is there any way to "re-skin" the box that pops up asking you if flash should be allowed access to your mic and webcam? I'd really love to make that box fit with the rest of the design of whatever I'm building.
Also, if I have several swfs that use the mic/webcam inside one larger shell swf, will the dialog box appear once for each of the sub-swfs, or just once for the large one, and those settings will be applied to all the sub-swfs?
View 1 Replies
Dec 6, 2010
I'm changing the way I build my UI from this:
If ( role == 'Admin' ) myComp.visible = false;
...to a totally dynamic UI based on what is returned from the DB.I've read about role-based access control and understand that it's best that the server generates the UI after a user is authenticated, but apart from re-doing the entire backend to store MXML et al., is there a better approach? Is it a bad idea to have a Permissions object that has properties like:
showTabOne:Boolean = true;
allUserToEditGrids:Boolean = false;
The components visibility and includeInLayout properties will be bound to these values. The UI will also allow a user to create new roles and set permissions.The only drawback I see is that every time a new feature is added, the app will have to be recompiled to update the bindings.
View 3 Replies
May 2, 2009
I have Flash CS4 10.0.1.545 Mac with OS X 10.5.6: I have the standard Workspace and when I select Import to import an image, the open file dialog in OS X slides down from the top of the stage and the entire Flash window that is holding my timeline and stage moves down about 100 pixels. I then import, then I click the top of the window to move it back up and it snaps back instantly as soon as I click on it before I drag it up.
View 2 Replies
Apr 23, 2011
has anyone seen or done a Popup Dialog Class? creating a shadow backround and small window?
View 1 Replies