Re: [Flashcoders] How To Detect the FullScreen mode of the swf file

2006-04-25 Thread elibol
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

Re: [Flashcoders] How To Detect the FullScreen mode of the swf file

2006-04-25 Thread elibol
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

RE: [Flashcoders] How To Detect the FullScreen mode of the swf file

2006-04-25 Thread Karan Mehra
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

Re: [Flashcoders] How To Detect the FullScreen mode of the swf file

2006-04-25 Thread Dennis - I Sioux
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

Re: [Flashcoders] How To Detect the FullScreen mode of the swf file

2006-04-25 Thread Michael Bedar
How about not using showall? If you set it to noscale, then you can resize your content any way you want, and also i suppose compare current size to screen size correctly. On Apr 25, 2006, at 9:38 AM, elibol wrote: I agree with an alternative to showall. depending on the circumstances

Re: [Flashcoders] How To Detect the FullScreen mode of the swf file

2006-04-24 Thread elibol
Playing a movie in fullscreen isn't a mode of the flash player, you do yourself. Since you do it manually, all you need to do is add a variable that tells you what mode your movie is in. On 4/23/06, Karan Mehra [EMAIL PROTECTED] wrote: Hi, How to detect whether the swf is playing in

RE: [Flashcoders] How To Detect the FullScreen mode of the swf file

2006-04-24 Thread Sumeet Basak
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

RE: [Flashcoders] How To Detect the FullScreen mode of the swf file

2006-04-24 Thread Karan Mehra
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