Jayesh
Jayesh

Reputation: 3951

Flash Permissions

I have a situation wherein I have to keep the size of my flash swf smaller than 215X130 pixel. However, I want to use Microphone, so the permission dialog needs an area at least 215X130.

Could you guys give me some ideas to workaround this?

Thanks.

Upvotes: 4

Views: 331

Answers (1)

Jonatan Hedborg
Jonatan Hedborg

Reputation: 4432

Send an ExternalInterface-call to a javascript function to resize the flash window before the microphone check, and then resize it back after the user accepts. Or you could use some creative js/css to clip the full size of the banner until you need to accept, then clip it again afterwards (that way the flash file would "expand" over the site instead of taking more space).

Upvotes: 1

Related Questions