Full screen without anti-aliasing?

Hi everyone,

I’ve been looking in to this problem for a while now and have pretty much come to a dead end, so thought I would ask for some help. Our games purely use pixel art and run at 640x480, but our latest title will run as a projector in full-screen mode. I’ve got everything working fine, but when running in full-screen everything gets anti-aliased which of course affects the pixelated look of the game. Here’s the code I’m using:

stage.fullScreenSourceRect = new Rectangle(0, 0, 640, 480);
stage.displayState = StageDisplayState.FULL_SCREEN;

I’m wondering if it’s possible to run the game full-screen without anti-aliasing? So far I’ve found a couple of partial solutions to this:

  1. Disable hardware acceleration through Flash display settings panel. Not ideal as it requires intervention from the user.

  2. Set ‘stage.fullScreenSourceRect = null;’. This retains the pixelated look, but the display freezes when hardware acceleration is turned on, so this is no good; is this a bug with Flash Player 10?

Has anyone out there had any similar experiences to this? I thought maybe there could be a way of toggling hardware acceleration with a bit of AS3, but it seems that the user is required to do this. If anyone has any ideas then do let me know - cheers for reading!

Mike.