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


On 18 May 2008, at 00:38, Zeh Fernando wrote:

            screenResX:Number = Capabilities.screenResolutionX;

Are you really doing this?

Does it have a "var" in front of the code?


Zeh
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to