|
-
stage.fullScreenWidth and stage.fullScreenHeight returns zero
Just doing this: trace( stage.fullScreenWidth, stage.fullScreenHeight );
Gets me 0,0, instead of the actual resolution of my (laptop, no external screen) monitor...what am I doing wrong here?
-
the livedocs suggests that problems can occur if the browser is movable, i suggest you do some studying:
http://livedocs.adobe.com/flash/9.0/...ullScreenWidth
flos
-
If what you want is the full actual resolution of the screen do this
PHP Code:
var ScreenSizeX:int = Capabilities.screenResolutionX;
var ScreenSizeY:int = Capabilities.screenResolutionY;
trace(ScreenSizeX + " ScreenSizeX");
trace(ScreenSizeY + " ScreenSizeY");
see these for more info on capabilities
http://help.adobe.com/en_US/ActionSc...0204-7cd8.html
http://help.adobe.com/en_US/AS3LCR/F...puArchitecture
mark
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|