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;

-- 
Eduardo Omine
http://blog.omine.net/
http://www.omine.net/
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to