showSettings callback in Flex?
Posted
by Jim Robert
on Stack Overflow
See other posts from Stack Overflow
or by Jim Robert
Published on 2010-03-24T18:13:42Z
Indexed on
2010/03/24
19:03 UTC
Read the original article
Hit count: 387
I am pretty new to flex, so forgive me if this is an obvious question.
Is there a way to open the Security.showSettings (flash.system.Security) with a callback? or at least to detect if it is currently open or not?
My flex application is used for streaming audio, and is normally controlled by javascript, so I keep it hidden for normal use (via absolute positioning it off the page).
When I need microphone access I need to make the flash settings dialog visible, which works fine, I move it into view and open the dialog.
When the user closes it, I need to move it back off the screen so they don't see an empty flex app sitting there after they change their settings.
thanks :)
© Stack Overflow or respective owner