that's great - thanks a lot
a
On 18 May 2008, at 12:45, Muzak wrote:
Is there a timing issue with screenResolutionX that I need to
take into account?
Yes there is.
You're probably better off listening for
FullScreenEvent.FULL_SCREEN and do the proper scaling there in the
event handler.
http://livedocs.adobe.com/flash/9.0/main/00000150.html
----- Original Message ----- From: "Allandt Bik-Elliott
(Receptacle)" <[EMAIL PROTECTED]>
To: "Flash Coders List" <[email protected]>
Sent: Sunday, May 18, 2008 11:55 AM
Subject: Re: [Flashcoders] StageDisplayState.FULL_SCREEN
okay, in spite of my typo, i'm still getting strange behaviour
If I do this:
stage.displayState = StageDisplayState.FULL_SCREEN;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
var screenScaleX:Number = Capabilities.screenResolutionX /
stage.stageWidth;
var screenScaleY:Number = Capabilities.screenResolutionY /
stage.stageHeight;
this.scaleX = screenScaleX;
this.scaleY = screenScaleY;
and test from the flash IDE, fullscreen doesn't work (which it
shouldn't within flash) but the movie will scale up to the full
size of the screen (baby steps) so everything is as it should be
but....
when i export the movie to a projector and run it, the movie runs
in full screen but doesn't scale up to the size of the screen.
however....
if i use this in my code
this.scaleX = 2;
this.scaleY = 2;
ie if i hardcode the numbers and publish the projector, the movie
scales up as it should. Is there a timing issue with
screenResolutionX that I need to take into account?
thanks for your help so far guys
Allandt
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders