Skip to main content
Participating Frequently
May 21, 2013
Question

Flash Player doesn´t remember. Security.showSettings(SecurityPanel.PRIVACY)

  • May 21, 2013
  • 1 reply
  • 1416 views

Hi!

With the last update (11,7,700,169) when show the window:

If you check the checkbox of the image and close the popup, when will reload the site again, Flash Player won´t remember user´s preferences and will prompt this windows again when i called the code:

Security.showSettings(SecurityPanel.PRIVACY);

Making tests, i think i founded one solution:

if ( (Microphone.names.length > 0) && (Camera.names.length > 0) ) { //Always with cam and mic

     if ((mic.muted) || (cam.muted)) {

         Security.showSettings(SecurityPanel.PRIVACY);

    }

                   

}

I use Flash Builder 4.7 Standard.

Thanks.

Jose Ramon Leon Somovilla

This topic has been closed for replies.

1 reply

chris.campbell
Legend
May 21, 2013

I just gave this a try with Chrome on Windows 8 but couldn't reproduce the problem.  What browser and platform are you using? 

Could you please open a new bug report on this over at bugbase.adobe.com?  When adding the bug, please include sample code or an application so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly (ccampbel@adobe.com). 

Once added, please post back with the URL so that others affected can add their comments and votes.

Participating Frequently
June 24, 2013

Hi Chris!

i´m using Windows 7 and any navigator.

Maybe i haven´t explain correctly my problem.

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

               xmlns:s="library://ns.adobe.com/flex/spark"

               xmlns:mx="library://ns.adobe.com/flex/mx"

               initialize="ActionInit(event)">

<fx:Script>

        <![CDATA[

            protected function ActionInit(event:FlexEvent):void

            {

               Security.showSettings(SecurityPanel.PRIVACY);

             }

          ]]>

    </fx:Script>

If i acepted cam & mic use, and click at remember CheckBox and click OK. If i press F5 or reload the navigator, ask me again if i want to give permissions to use mic and cam.

is that correctly? I think that if Flash Player tests if you have permissions one time, wouldn´t show again this window:

The solution was to test hardware first, and permissions later, and if these two conditions are ok, then "return" and don´t call again the sentence:

Security.showSettings(SecurityPanel.PRIVACY);

What do you think about?

Thanks again! Best regards,

Jose Ramon Leon Somovilla

chris.campbell
Legend
June 24, 2013

Hi Jose,

To be honest I'm not sure how this is supposed to work.  However, if this behavior changed recently, then my guess is that a bug might have slipped through the cracks.  If you're up for it, please open a bug at bugbase.adobe.com and I'll have the team investigate.

Thanks,

Chris