Hi, is there anyone out there who can help me answering the question?
cheers, masu On 2/13/07, lepusmars <[EMAIL PROTECTED]> wrote:
Maybe I'm missing something here but can't you just set the visible property on the component to false? Why do you need to create a mask? --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, "Sebastian Mohr" <[EMAIL PROTECTED]> wrote: > > Hi there, > > I want to create a mask which prevents a component > from being shown, but the following code is doing the > exact opposite: > > var surroundingMask:Shape = new Shape(); > surroundingMask.blendMode = BlendMode.INVERT; > > surroundingMask.graphics.beginFill(0x00FFFF, 0.5); > surroundingMask.graphics.drawRoundRect(x, y, width, height, 0); > surroundingMask.graphics.endFill(); > > I thought that the BlendMode.INVERT is going to help > but it doesn't. > > Any ideas? > masu >