Re: [Flashcoders] Re: Fast color-transformation over MovieClip with cacheAsBitmap
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, though I haven't tried it. Cheers Juan Pablo Califano 2009/6/18 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 wrote: > > > 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 nice and fast workaround. > > ___ > > Flashcoders mailing list > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Fast color-transformation over MovieClip with cacheAsBitmap
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 wrote: > 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 nice and fast workaround. > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Fast color-transformation over MovieClip with cacheAsBitmap
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 nice and fast workaround. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: Fast color-transformation over MovieClip with cacheAsBitmap
One week has gone, there is no answer, I'm in despair :( If you think there is no way to apply the color transfromation to cached bitmap, just write it. Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders