the sad truth is: you can't, except when using a workaround.
register and vote:
http://bugs.adobe.com/jira/browse/FP-41
trick is to try to write bitmap data to the stage, which is forbidden when
security dialog is open.
you cannot detect when and what was changed, though.
in my case it did not help, since in some cases i have a video shown, where i
do not have bitmap access - so access to stage is forbidden then to.
maybe there is another workaround for this?
there is also the microphone.muted property you can check if access to mic is
allowed.
k.
p.s.
public class SettingsWatcher extends Sprite
{
private var dummyBitmap:BitmapData = new BitmapData(1, 1);
private var drawObject:IBitmapDrawable;
private var open:Boolean = false;
private var triggered:Boolean = false;
public function SettingsWatcher(stage:IBitmapDrawable):void {
drawObject = stage;
var timer:Timer = new Timer(500);
timer.addEventListener("timer", onTimer);
timer.start();
}
public function isOpen():Boolean {
return open;
}
public function isTriggered():Boolean {
return triggered;
}
public function setTriggered(value:Boolean):void {
triggered = value;
}
public function onTimer(event:TimerEvent):void {
try {
dummyBitmap.draw(drawObject);
if(open) {
dispatchEvent(new
Event("SecurityDialogClosed"));
}
open = false;
} catch (error:Error) {
open = true;
}
}
}
--- In [email protected], "wjacker2" <wjack...@...> wrote:
>
> Hi All,
>
> I write a flex application embed to our website,in the flex application will
> used microphone.this flex will be show on the web when the flash setting
> manager displayed,in the other time it will be hide out.but i can not find a
> way for detect flash setting manager popup from search on google.i write a
> flag for mark when i used microphone first time, it looks fine until user
> select the Rember checkBox in the flash setting manager panel.In that case
> next time for visit the website the flash setting manager not display anymore
> because flash player already rember user's selection.
>
> very appreciate any feedback.
>
> Thanks,
> Jack
>