View Full Version : Bug using masks when tabbing out of fullscreen
12-06-2010, 09:33 AM
As the title suggest there is a bug when using mask running in fullscreen and then tabbing out to another window. After tabbing back in to the game all mask functionality is removed/gone.
Is this a known bug?
12-16-2010, 04:59 AM
We have performed some additional testing around the issue and what we have found so far is that the bug occurs when a "setres" command is entered. Whenever you change the resolution all the masks used in scaleform becomes invalid.
12-16-2010, 06:17 AM
sounds like a change in actionscript to invalidate and repaint your controls is needed.
12-16-2010, 06:47 AM
And that means? Don't quite understand what you mean by repaint to be honest.
And even if I can solve it myself by repainting as you said I still have the problem that the masks disappear when the user tabs out of the game. I'm not quite sure how to actually catch that event or if it is even possible.
12-17-2010, 12:11 AM
can i ask how you're using a mask? ive been unsuccessful in getting masking to work using either layers or setmask
04-04-2011, 06:16 PM
Did anyone figure out how to resolve this issue? Assuming you have received an event in the game about the screen size changing, what do you have to do to get the masks working properly? I've tried recalling setMask on the the masked object and that didn't seem to work.
04-04-2011, 07:31 PM
I also tried removing the movieclip that had the mask and recreating it on the viewport resized event to no avail. Its almost as if masks don't work at all in fullscreen mode.
08-11-2011, 09:19 PM
Resurrecting this thread. Wondering if anyone ever found a fix for this? I'm running into this issue myself and can't find a way to solve it.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.