actionscript 3 - Flash Object to small for Security "Window" -


i have made flash as3 project in adobe flash pro dimensions 20px x 150px.

i ceep size, problem application needs ask microphone premissions

( in image )

enter image description here

but happens if flash object big enough.

are there workarounds maybe "overflow = visible" method or ?

thx help

here couple of options:

  1. temporarily increase dimensions of swf in html. i've never done this, imagine work , simplest solution.

  2. use wmode="transparent" or wmode="opaque" in embed code. in both of these modes can layer html on top of or underneath flash object. swf should sized big enough display dialog. when dialog not visible, can hide portions of flash app covering them html.

i've used 2nd option successfully, not purpose, showing html elements (arrow images , text) guide user through these "allow" camera/microphone dialogs.

for both of these options work, need able detect when user has closed dialog. though there no official flash api doing this, however, there good work arounds doing that.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -