Re: [Flashcoders] Re: Fast color-transformation over MovieClip with cacheAsBitmap

2009-06-21 Thread Juan Pablo Califano
Something to try out: Wrap background_mc in another movieclip, let's call it wrapper_mc (or whatever you feel like). Now, set cacheAsBitmap to true in background_mc (the inner mc), but not in wrapper_mc, and appy the transformation to wrapper_mc (the outter mc). Sounds like it should work,

Re: [Flashcoders] Re: Fast color-transformation over MovieClip with cacheAsBitmap

2009-06-18 Thread Pavel Repkin
Primary because it's hard to track cumulative scale changes from the containers up the tree. It seems I have to workaround this problem and write my own bitmap-caching based on BitmapData. Thanks! On Tue, Jun 9, 2009 at 6:15 PM, Ruy Adorno r...@lesite.ca wrote: Why don't you create a BitmapData

Re: [Flashcoders] Re: Fast color-transformation over MovieClip with cacheAsBitmap

2009-06-09 Thread Ruy Adorno
Why don't you create a BitmapData from the original background and apply the light on this new bitmapdata which even yourself said it's faster. Then, everytime the stage is resized you can just create another BitmapData from the original background. This is not really a solution, but seems a