-
1. Re: Listen for Full Screen mode
kglad Apr 7, 2012 6:43 AM (in response to TezS56)the stage has a fullscreen event you can use:
stage.addEventListener(FullScreenEvent.FULL_SCREEN,f);
function f(e:FullScreenEvent):void{
// this executes when entering or leaving fullscreen. you can use stage.displayState to determine which has occurred.
}
-
2. Re: Listen for Full Screen mode
TezS56 Apr 7, 2012 8:10 AM (in response to kglad)Great! Thanks. I will try it now.
-
3. Re: Listen for Full Screen mode
kglad Apr 7, 2012 9:26 AM (in response to TezS56)you're welcome.
-
4. Re: Listen for Full Screen mode
mr.shumi Apr 7, 2012 12:00 PM (in response to kglad)if i want my screen size to stay fixed
for example if i have 640 by 700 and all my objects are added and set to fit with this size
i dont the user to maxmize the file
this is for stand alone swf file
what should i do ?
-
5. Re: Listen for Full Screen mode
kglad Apr 7, 2012 12:03 PM (in response to mr.shumi)use:
stage.scaleMode="noScale"
-
6. Re: Listen for Full Screen mode
mr.shumi Apr 7, 2012 12:07 PM (in response to kglad)didnt work...
-
7. Re: Listen for Full Screen mode
kglad Apr 7, 2012 5:12 PM (in response to mr.shumi)it didn't work to do what?
-
8. Re: Listen for Full Screen mode
mr.shumi Apr 9, 2012 12:00 AM (in response to kglad)i dont the user to maximize the screen even if he preesed the maimize button in the toolbar
i want it to stay 640 by 700
-
9. Re: Listen for Full Screen mode
kglad Apr 9, 2012 8:05 AM (in response to mr.shumi)you should not try and control a user's browser window. but, if you insist, you'll need to use javascript.
-
10. Re: Listen for Full Screen mode
mr.shumi Apr 9, 2012 10:46 AM (in response to kglad)not the browser
im using a stand alone swf player
Date: Mon, 9 Apr 2012 09:05:51 -0600
From: forums@adobe.com
Subject: Listen for Full Screen mode
Re: Listen for Full Screen mode
created by kglad in Action Script 3 - View the full discussion
you should not try and control a user's browser window. but, if you insist, you'll need to use javascript.
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4322220#4322220
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4322220#4322220. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Action Script 3 by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.