[osflash] [OT]Bugs of flash player 9 when rendering filtered and scrollRected object?
Rákos Attila
tenegri at tengerstudio.com
Tue Mar 6 07:05:03 EST 2007
Well, this is a really frustrating bug, which occurs not only when
filters are applied but when simply cacheAsBitmap is true (applying a
filter sets it to true). However I found a workaround: if you remove
the object from the display hierarchy and add it to that again, then
setting visible off will work:
var p: DisplayObjectContainer = container.parent;
var i: int = container.parent.getChildIndex(container);
container.parent.removeChild(container);
p.addChildAt(container, i);
container.visible = false;
Dirty but works :)
Attila
More information about the osflash
mailing list