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

Reply via email to