I'm not sure if there's a clean way, but I'm afraid the ugly way won't work
either. If I recall correctly, you can't set the displayState to fullscreen
unless you're responding to user interaction (i.e. handling a button click).

Cheers
Juan Pablo Califano

2010/2/17 Alexander Farber <[email protected]>

> Hello,
>
> is it possible to detect, if a full screen mode is allowed before calling
>  stage.displayState = StageDisplayState.FULL_SCREEN;  ?
>
> I have the same .swf file embedded at several sites including Facebook
> (and there for some reason you can't do full screen unless
> using their iframe mode. My non-iframe app is at
>  http://apps.facebook.com/video-preferans/ ) and would like to
> hide my fullscreen-button if the full screen mode isn't allowed.
>
> Or do I have to set stage.displayState to FULL_SCREEN
> myself, catch the eventual exception, then reset displayState back?
> Seems awkward to me, but I can't find a better way yet.
>
> Thank you
> Alex
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to