there is no built-in possibility ... but this code will unscale an arbitrary DisplayObject
...
var m:Matrix = target.transform.concatenatedMatrix;
m.invert();
target.transform.matrix = m;
from here, there are many ways to accomplish, what you want ...
the easiest way would be, to disable stage scaling, to listen on resize, and then resize your topmost DisplayObject
s, to fit to stage ... the advantage is, that resize event will be triggered ... so for DisplayObject
s that you want to stay unscaled, you add a listener to the resize event and unscale them on resize ...
otherwise, put a DisplayObject
on stage, and watch it's concatenatedMatrix
on enterframe ... if a and d (scaling parameters) change, then you have a resize ... then unscale all objects you want to be unscaled ... this is one extra event handler call and 2 float comparisons on enterframe, so it shouldn't be a performance killer ...
hope that helps ...