Re: [Flashcoders] Detecting if full screen mode is allowed before setting it

2010-02-17 Thread Glen Pike
If it's not defined, the I guess the safest would be to assume it's not allowed, i.e. only show your button if "true" is explicitly set? Glen Alexander Farber wrote: On Wed, Feb 17, 2010 at 3:10 PM, Juan Pablo Califano wrote: I'm not sure if there's a clean way, but I'm afraid the ugly wa

Re: [Flashcoders] Detecting if full screen mode is allowed before setting it

2010-02-17 Thread Alexander Farber
On Wed, Feb 17, 2010 at 3:10 PM, Juan Pablo Califano wrote: > 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). Oh

Re: [Flashcoders] Detecting if full screen mode is allowed before setting it

2010-02-17 Thread Juan Pablo Califano
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 > Hello, > >

Re: [Flashcoders] Detecting if full screen mode is allowed before setting it

2010-02-17 Thread Glen Pike
Can you access the allowFullScreen variable from your LoaderInfo.parameters array? root.loaderInfo.parameters? Alexander Farber wrote: Hello, is it possible to detect, if a full screen mode is allowed before calling stage.displayState = StageDisplayState.FULL_SCREEN; ? I have the same .sw

RE: [Flashcoders] Detecting if full screen mode is allowed before setting it

2010-02-17 Thread Cor
ash Coders List Subject: [Flashcoders] Detecting if full screen mode is allowed before setting it 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 includin

[Flashcoders] Detecting if full screen mode is allowed before setting it

2010-02-17 Thread Alexander Farber
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 n