That would work, but it would only disable controls, not give the
greyed out look to the rest of the screen, like the popups do. I
suppose I could do like you say, but instead have the style changed
for the other components...
but I'm really hoping there's some way to create a magic function
like:
public static function strongFocus(control:DisplayObject):void
{
...
}
that I can call from anywhere and it will grey out and disable mouse
interaction with everything on the stage but the control passed in.
Am I hoping for too much?
--- In [email protected], "Clint Tredway" <[EMAIL PROTECTED]>
wrote:
>
> without seeing how you setup your code, here is my suggestion.
>
> Set the parent containers of the other 'components' enabled
attribute to a
> bindable var or even a state, and then when that specific button is
clicked,
> set the var to false or in the case of using states, just change
the state.
> Either way, that should accomplish what you are describing.
>
> HTH,
> Clint
>
> On 30 Mar 2007 07:36:17 -0700, Shaun <[EMAIL PROTECTED]> wrote:
> >
> > Is there any way to make a component modal/hilight it? I would
like to
> > be able to gray out (like when a popup is shown) everything on the
> > screen but a certain component when the user click on a specific
button.
> >
> > Basically I want a popup that's not a popup, but rather sets the
focus
> > on a particular component that is already in the displaylist.
> >
> > Thoughts on the best way to acheive this?
> >
> > Thanks,
> > Shaun
> >
> >
> >
>
>
>
> --
> I am not a diabetic, I have diabetes
> my blog - http://grumpee.instantspot.com/blog
>