I have a simple mask added to a UIComponent as follows:
var clipMask : Sprite = new Sprite();
clipMask.graphics.drawRect(x, y, width, height);
this.mask = clipMask;
This mask works fine when the component is housed on a simple
application->canvas, but when I take that same canvas and place
it as part of a tab-navigation my mask's width and height always
remain at zero. This makes for a very small mask indeed! I've
attempted to reset the height/width in the updateDisplayList and
other places, but it does no good.
Any ideas as to why this is so and how it may be corrected?