« Macromedia Flash Players For Testing. | Main | Flash Communication Server Books »
March 09, 2005
Privacy Box Size
I have been working on Flash Communication Server lately, and there was this flash camera feed that were to be broadcasted.
The layout was something like the left side of the html window was suppose to have a web cam window which is made in flash and the right side had html text which would change on runtime.
A single flash is been divided into a presenter/viewer mode. The person who logs in as an admin would have rights to present flash web feed and the others would have the ability to view it only.
The flash movie size was set to 160x120. Since its a web cam only. The web cam worked perfectly on a bigger stage size and on any size in a flash IDE. But it never worked on IE window with a 160x120 flash stage size.
It didn't work because whenver the SWF tries to access the camera. Flash Player displays a Privacy dialog box that lets the user choose whether to allow or deny access to the camera. The privacy dialog box needs a stage size around 215x138 to display, if the stage size is below that the settings and the privacy dialogue box would never appear.

So Make sure your Stage size is at least 215 x 138 pixels; this is the minimum size Flash requires to display the dialog box.
Posted by Varun Shetty at March 9, 2005 01:57 AM
Comments
Post a comment
Thanks for signing in, . Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)