Is this the kind of thing you might be able to share? Shaun
--- In flexcoders@yahoogroups.com, "Sean" <[EMAIL PROTECTED]> wrote: > > So, returning to this issue ... I just ended up going through the PopUpManagerImpl code, > looking at the createModalWindow() and showModalWindow() methods and modeled my > own modal implementation after that. It's a bit of a pain in the arse. > > I'm creating a whole notification management framework for a project, so I have the luxury > of being able to do this. Might be overkill for other projects ... > > - Sean > > --- In flexcoders@yahoogroups.com, "Shaun" <sthalberstadt@> wrote: > > > > I'll do the same if (err.. I mean when) I figure it out. > > > > Shaun > > > > > > --- In flexcoders@yahoogroups.com, "Sean" <sean@> wrote: > > > > > > Shaun, > > > > > > I'm working on this problem as well for an application that I'm > > developing. I'll be sure to > > > post here if I come up with something ... but there seems to be no > > elegant solution. > > > > > > I'm likely to go the route of using PopUpManager to overlay a copy > > of my component in > > > the correct spot. Seems kludgey though ... > > > > > > - Sean > > > > > > --- In flexcoders@yahoogroups.com, "Shaun" <sthalberstadt@> wrote: > > > > > > > > Hey guys, thanks for the additional suggestions. > > > > > > > > I'm thinking reparenting might involve working through some > > layout > > > > issues, but would probably work. > > > > > > > > Alex, I assume you mean I should use popupmanager to popup a new > > > > instance of the component and set its location to be on top of > > first > > > > instance? What if I want to set focus to an arbitrary box that > > > > contains several components - i.e. something arbitrary that I > > can't > > > > create a new instance of? > > > > > > > > Is there some way to make a popup display an existing > > displayobject > > > > that I'm not aware of? > > > > > > > > Thanks again! > > > > Shaun > > > > > > > > --- In flexcoders@yahoogroups.com, "Alex Harui" <aharui@> wrote: > > > > > > > > > > You could popup a copy of the component over the component in > > > > question. > > > > > > > > > > -----Original Message----- > > > > > From: flexcoders@yahoogroups.com > > > > [mailto:[EMAIL PROTECTED] On > > > > > Behalf Of John Mark Hawley > > > > > Sent: Friday, March 30, 2007 10:22 AM > > > > > To: flexcoders@yahoogroups.com > > > > > Subject: Re: [flexcoders] Re: Make a component 'modal' > > > > > > > > > > You could try temporarily reparenting the "strong focused" > > > > component so > > > > > it was over everything else in the displayList, then drop a big > > > > > translucent grey box behind it, set to intercept mouse clicks. > > That > > > > > sounds like it should work, eh? > > > > > > > > > > -Mark Hawley > > > > > > > > > > > > > > > > > From: "Shaun" <sthalberstadt@> > > > > > > Date: 2007/03/30 Fri AM 09:08:29 CST > > > > > > To: flexcoders@yahoogroups.com > > > > > > Subject: [flexcoders] Re: Make a component 'modal' > > > > > > > > > > > > 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 flexcoders@yahoogroups.com, "Clint Tredway" <grumpee@> > > > > > > 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 <sthalberstadt@> 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > John Mark Hawley > > > > > The Nilbog Group > > > > > 773.968.4980 (cell) > > > > > > > > > > > > > > > > > > > > -- > > > > > Flexcoders Mailing List > > > > > FAQ: > > > > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > > > > Search Archives: > > > > > http://www.mail-archive.com/flexcoders%40yahoogroups.com > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > >