Can't, full screen can only be triggered via mouse input from the end-user. (It was added to prevent screen hijacking)
On Wed, Mar 11, 2009 at 3:07 PM, Hans Wichman <[email protected]> wrote: > Hi, > > how about switching to full screen and back, and catching any security > exceptions? > If you can switch and back it is allowed, if a security exception occurs, it > isn't > > greetz > JC > > On Wed, Mar 11, 2009 at 6:34 PM, Glen Pike <[email protected]>wrote: > >> Aha, I see - don't think you can read this for some strange reason. I had >> problems trying to get it working, probably part of the security thing. I >> could not even get a context menu to do the same... >> >> Glen >> >> >> John Giotta wrote: >> >>> Yes, Stage.displayState vs StageDisplayState.NORMAL or >>> StageDisplayState.FULL_SCREEN, but its always NORMAL and I can only >>> compare when full screen is the event for resize is called. Its a >>> reactionary condition; I need the event first. >>> >>> I want to know if its possible from a security/capability stand point >>> before the end-user has the chance request full screen. >>> >>> - John G >>> >>> On Wed, Mar 11, 2009 at 10:20 AM, Glen Pike <[email protected]> >>> wrote: >>> >>> >>>> John Giotta wrote: >>>> >>>> >>>>> I want to render the UI based on availability of features. One of them >>>>> is a full screen Button/Sprite that I want to not appear if >>>>> allowFullScreen is false. >>>>> >>>>> Does anyone know of a way to check for full screen availability? I've >>>>> been scouring the interwebs for an answer, but no luck so far. Is it >>>>> just not possible? >>>>> >>>>> - John G >>>>> _______________________________________________ >>>>> Flashcoders mailing list >>>>> [email protected] >>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>>>> >>>>> >>>>> >>>>> >>>>> >>>> I think there is a property on the Stage instance to get the state - >>>> compare >>>> to StageDisplayState constant values?? >>>> _______________________________________________ >>>> Flashcoders mailing list >>>> [email protected] >>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>>> >>>> >>>> >>> _______________________________________________ >>> Flashcoders mailing list >>> [email protected] >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >>> >>> >>> >>> >> >> _______________________________________________ >> Flashcoders mailing list >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

