Edwardo: very interesting idea! Will try that out.
Keith: Great idea to do an inversed gradient w/o masking, unfortunately
that won't work visually in this scenario though because there are
animations at the edge where alpha fades, that need to be seen.
Laurent: Unfortunately the problem with the slowing down of animations
occurs when the menu is moving, not static: otherwise that would have
been a good idea!
Thank you so much everyone for your input and fresh ideas.
I ended up reducing the BG animations in complexity, quantity, removed
all outlines and alphas; and then I did the same to the menu and its now
moving significantly better; though still not perfect. Amazing how much
of a processor impact bitmap-caching incurs!
Warmness,
Seb.
Eduardo Omine wrote:
You should try BlendMode.ERASE.
Draw a gradient with alpha=0 at center, and alpha=1 at the edges.
Place it right on top of your menu and set its blendMode to ERASE.
The sprite containing the menu and the mask must have blendMode set to
LAYER (or any other blendMode with a similar working).
maskGradient.blendMode = BlendMode.ERASE;
container.blendMode = BlendMode.LAYER;
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders