I agree with an alternative to "showall". depending on the circumstances of
what you're doing, there could be a number of different ways to solve it.

Finally though, if you should use "showall", and if your flash movie is 100
x 100 percent, you could use some javascript to give you the size of the
browser window. There may be flash object properties that give you the size
of the movie.

I am convinced that the movie size cannot be determined with "showall"
without help from outside of the movie. It seems that "showall" allows the
flash player to behave like an observer of the movie, like a camera lens
zooming in and out. Relatively, the movie doesn't know the distance between
itself and the observer.

Just some theory that seems to make sense with the behavior.

Hope this helps,

M.

On 4/25/06, Dennis - I Sioux <[EMAIL PROTECTED]> wrote:
>
> As someone mentioned before.. you could use Stage.showMenu = false
> this way you can catch the ctrl+F to see if someone is fullscreen.
>
> You could also use a holder movieclip.
> Don't set the scale mode to "showall" but use an onlistner on the stage to
> see if the stage is scaled, then you could scale the holder movieclip
> accordingly.
>
> With kind regards,
>
> Dennis
>
> ----- Original Message -----
> From: "Karan Mehra" <[EMAIL PROTECTED]>
> To: "Flashcoders mailing list" <[email protected]>
> Sent: Tuesday, April 25, 2006 2:48 PM
> Subject: RE: [Flashcoders] How To Detect the FullScreen mode of the swf
> file
>
>
> >I have tested it ... didn't work :(
> >
> > _root._xscale is always equal to 100 coz of which the movieWidth and
> > height always remains same .
> > We are using Stage.scalemode = "showall".
> >
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of elibol
> > Sent: Tuesday, April 25, 2006 4:35 PM
> > To: Flashcoders mailing list
> > Subject: Re: [Flashcoders] How To Detect the FullScreen mode of the swf
> > file
> >
> > Here is the code, I haven't tested it:
> >
> > var movieWidth = _root._xscale*Stage.width/100;
> > var movieHeight = _root._yscale*Stage.height/100;
> >
> > On 4/25/06, elibol <[EMAIL PROTECTED]> wrote:
> >>
> >> use
> >>
> >> <param name="showMenu" value="false"/>
> >>
> >> or
> >>
> >> Stage.showMenu = false;
> >>
> >> In your case, your width and height are theoretically unchanged. Your
> >> movie is scaled. If you take the scale percentage do some arithmetic
> > with
> >> the actual width and height you can get the pixel value of your movie.
> >>
> >> say Stage.width and Stage.height is 123 x 162
> >>
> >> say _root is scaled to 150 x 133
> >>
> >> 123*150/100 = your movie width
> >> 162*133/100 = your movie height
> >>
> >> Divide by 100 to normalize the value, we are thinking in terms of
> >> percentages.
> >>
> >> Hope this helps,
> >>
> >> M.
> >>
> >>
> >> On 4/24/06, Karan Mehra <[EMAIL PROTECTED]> wrote:
> >> >
> >> > Hi Sumeet,
> >> >
> >> > I tried Stage.Width & Stage.Height but coz we are using
> >> > Stage.ScaleMode = "showall" the Stage's height & width remains same
> >> > irrespective of Fullscreen or not.
> >> >
> >> > I tried detecting the keys like ctrl-F which is used for making the
> >> > flash window fullscreen and also used for disabling fullsceen but
> > then
> >> > user can also use the menu option available in the flash window to
> > make
> >> > it fullscreen and I was unable to trap the flash menu clicks.
> >> >
> >> > Thanx,
> >> > Karan
> >> >
> >> > -----Original Message-----
> >> > From: [EMAIL PROTECTED]
> >> > [mailto: [EMAIL PROTECTED] On Behalf Of
> > Sumeet
> >> > Basak
> >> > Sent: Monday, April 24, 2006 10:57 PM
> >> > To: 'Flashcoders mailing list'
> >> > Subject: RE: [Flashcoders] How To Detect the FullScreen mode of the
> > swf
> >> > file
> >> >
> >> > Hi Karan,
> >> > Try using the Stage.Width and Stage.Height methods.
> >> > U will be returned with the dimensions the flash player is using.
> >> > You need to compare the returned value to the array of of existing
> >> > screen
> >> > reolutions. You could find one from the intel graphic driver.
> >> > Google one, I m sure u would get one.
> >> >
> >> > ____________________________________
> >> > Thanks
> >> > Sumeet Basak
> >> > CTO
> >> > Renaissance Legal & Learning Systems Pvt. Ltd.
> >> > Cell: + 91 9223214301
> >> >
> >> > -----Original Message-----
> >> > From: [EMAIL PROTECTED]
> >> > [mailto: [EMAIL PROTECTED] On Behalf Of
> > Karan
> >> > Mehra
> >> > Sent: Monday, April 24, 2006 8:39 AM
> >> > To: [email protected]
> >> > Subject: [Flashcoders] How To Detect the FullScreen mode of the swf
> > file
> >> >
> >> >
> >> > Hi,
> >> >
> >> >
> >> >
> >> > How to detect whether the swf is playing in fullscreen mode in Flash
> >> > player or not?
> >> >
> >> >
> >> >
> >> > Thanks in Advance.
> >> >
> >> >
> >> >
> >> > Regards,
> >> >
> >> > Karan
> >> >
> >> > _______________________________________________
> >> > [email protected]
> >> > To change your subscription options or search the archive:
> >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >> >
> >> > Brought to you by Fig Leaf Software
> >> > Premier Authorized Adobe Consulting and Training
> >> > http://www.figleaf.com
> >> > http://training.figleaf.com
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > [email protected]
> >> > To change your subscription options or search the archive:
> >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >> >
> >> > Brought to you by Fig Leaf Software
> >> > Premier Authorized Adobe Consulting and Training
> >> > http://www.figleaf.com
> >> > http://training.figleaf.com
> >> >
> >> > --
> >> > This message has been scanned for viruses and
> >> > dangerous content by MailScanner, and is
> >> > believed to be clean.
> >> >
> >> > _______________________________________________
> >> > [email protected]
> >> > To change your subscription options or search the archive:
> >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >> >
> >> > Brought to you by Fig Leaf Software
> >> > Premier Authorized Adobe Consulting and Training
> >> > http://www.figleaf.com
> >> > http://training.figleaf.com
> >> >
> >>
> >>
> > _______________________________________________
> > [email protected]
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> > _______________________________________________
> > [email protected]
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to