I'll go ahead and recommend you stay away from the masking if you
can....Masking
is a little expensive in terms of cpu cycles...



i'm making an image for you to illustrate what i mean.......


On Dec 4, 2007 12:48 PM, Abyss Knight <[EMAIL PROTECTED]> wrote:

>   This sounds like you need masking, which is in fact available in Flex.
> I'm not an expert on it, but I have seen it used to make rounded
> images, etc. Basically, you'd want to blur component (could you use
> the blur effect in Flex?), then use a mask to simulate the transparent
> area. Not sure that will help, but it is a start.
>
> -- William
>
> --- In [email protected] <flexcoders%40yahoogroups.com>,
> DreamCode <[EMAIL PROTECTED]> wrote:
> >
> > I have no real knowledge, but if the items that potentially needs to get
> > blurred were sitting in the same container you could do a bitmap
> snapshot
> > of that container based on the top layer. Copy that into a
> canvas/sprite,
> > blur the bitmap and place it between the top layer and the "blurred
> > container"......
> >
> >
> >
> >
> > On Dec 4, 2007 11:54 AM, reflexactions <[EMAIL PROTECTED]> wrote:
> >
> > > Ok maybe I didnt make myself as clear as I could in the first
> place...
> > >
> > > I have a component in a container.
> > > My component just happens to have a transparent area in it, yes most
> > > likely rectangular with rounded corners.
> > >
> > > The component may move around in the container and as it does so it
> > > may pass over other components in that container, or background,
> > > graphics or absolutely anything and everything there could possibly
> > > be in a container.
> > >
> > > I want that background content to appear blurred when it is viewed
> > > through that transparent area of my component in the foreground.
> > >
> > > It could even be that a component is half covered by the transparent
> > > area and half not covered, only the part covered would be blurred.
> > >
> > > Currently I can fade those items in the background by filling the
> > > transparent background area of my component with an alpha'd color, so
> > > any controls behind it are partially obscured, but they are not
> > > distorted/blurred...
> > >
> > > What I want to do is make then look blurred...
> > >
> > > --- In [email protected] 
> > > <flexcoders%40yahoogroups.com><flexcoders%40yahoogroups.com>,
> > > DreamCode <dreamcode@> wrote:
> > > >
> > > > so there will most likely be stuff moving above the blurred area
> > > too?
> > > >
> > > >
> > > >
> > > > On Dec 4, 2007 4:52 AM, reflexactions <reflexactions@> wrote:
> > > >
> > > > > Not static... yes
> > > > >
> > > > > Stuff moving around ... yes.
> > > > >
> > > > > Fixed size.. no
> > > > >
> > > > > Rectangular with rounded corners... most likely
> > > > >
> > > > > Its all fairly dynamic...
> > > > >
> > > > > --- In [email protected] <flexcoders%40yahoogroups.com>
> <flexcoders%40yahoogroups.com><flexcoders%40yahoogroups.com>,
>
> > >
> > > > > DreamCode <dreamcode@> wrote:
> > > > > >
> > > > > > Can you give more details... is it static content or will you
> > > have
> > > > > stuff
> > > > > > moving in and out of the blur behind it? Is the partial
> > > transparent
> > > > > area of
> > > > > > a fixed side or changing too?
> > > > > >
> > > > > > Is it blurred area square? rounded corners? if it's not just a
> > > > > regular
> > > > > > piece of graphic or if the blur area is created dynamically at
> > > > > runtime?
> > > > > >
> > > > > > --A
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Dec 4, 2007 2:54 AM, reflexactions <reflexactions@> wrote:
> > > > > >
> > > > > > > I have a component with a partially transparent area and I
> > > want
> > > > > to blur
> > > > > > > anything that happens to be under that area.
> > > > > > >
> > > > > > > How can I do that...
> > > > > > >
> > > > > > > Note I want to blur what is underneath the transparent area
> > > (ie
> > > > > behind
> > > > > > > it, in other controls or containers) not the actual current
> > > > > content of
> > > > > > > the area in my control.
> > > > > > >
> > > > > > > tks
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> >
>
>   
>

Reply via email to