[Flashcoders] Rendering limitation? Bitmap goes poof.

2011-03-04 Thread Mendelsohn, Michael
Hi list...

I'm wondering if I've encountered a rendering limitation.  My stage listens to 
Event.DEACTIVATE, which blurs and desaturates the whole stage, and 
Event.ACTIVATE, which restores it. 

[It's a nifty line of code if anyone's interested in using it.]

The stage is 1422 x 800, and there's a bitmap on the stage (644 x 369) that 
simply disappears when I blur/desaturate on deactivate.  I've traced .visible, 
.alpha and .blendMode, before and after the filters are applied, and all report 
normal values.  Could it be just a Flash rendering limitation?

Thanks,
- Michael M.



public function saturate(e:Event):void{
root.filters = (e.type == Event.DEACTIVATE)?[new 
ColorMatrixFilter([0.68887, 0.27423, 0.0369, 0, 10, 0.13887, 0.82423, 0.0369, 
0, 10, 0.13887, 0.27423, 0.5869, 0, 10, 0, 0, 0, 1, 0]), new 
BlurFilter(3,3,2)]:[];
}

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Rendering limitation? Bitmap goes poof.

2011-03-04 Thread Henrik Andersson
Filters rend to bitmaps. Said bitmaps have maximum sizes. You actually 
get a trace entry when this limit is hit.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders