Re: [flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-16 Thread Josh McDonald
Sounds like a good time to break out your SDK sandbox :)

2009/3/16 Rick Winscot 

>Even the PopUpManager suffers to a degree. As modules are loaded there
> seems to be some confusion as to which FocusManager they belong...  as you
> press TAB focus will jump from one module to another as if they were
> connected. You can get around this by forcibly triggering
> activate/deactivate operations on the modules FocusManager --- as stated in
> the comments in FocusManager.as:
>
> “The SystemManager activates and deactivates a FocusManager if more than
> one IFocusManagerContainer is visible at the same time. If the mouse is
> clicked in an IFocusManagerContainer with a deactivated FocusManager, the
> SystemManager will call the activate() method on that FocusManager. The
> FocusManager that was activated will have its deactivate() method called
> prior to the activation of another FocusManager.”
>
> I’ll attach a sample project to the issue for clarity.
>
> Rick Winscot
>
>
> On 3/14/09 1:42 PM, "aceoohay"  wrote:
>
>
>
>
> Yes, Alex has been very generous with his time offline, and I will be
> trying his popup approach.
>
> However I believe the popup solution is a hack in the perjorative sense. I
> believe that the flex language should allow at a minimum the ability to
> define a separate tab loop for each module.
>
> Paul
>
> --- In flexcoders@yahoogroups.com 
> <mailto:flexcoders%40yahoogroups.com>
> , Alex Harui  wrote:
> >
> > Paul and I have discussed off line.  He's got a bunch of module panels
> that we wants to overlap and drag around the screen and have tabbing stay
> within which ever panel was clicked in and moved on top of the others.  Flex
> has all of this built-in.  Once he gets his modules popped up, he should be
> all set.
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.<http://www.adobe.com/>
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: flexcoders@yahoogroups.com 
> > <mailto:flexcoders%40yahoogroups.com>
>  [mailto:flexcoders@yahoogroups.com  <
> mailto:flexcoders%40yahoogroups.com > ] On
> Behalf Of jim.abbott45
> > Sent: Friday, March 13, 2009 3:21 PM
> > To: flexcoders@yahoogroups.com 
> > <mailto:flexcoders%40yahoogroups.com>
>
> > Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
> >
> >
> > Feeling less than ecstatic? Then please VOTE for fixing of bug #16897.
> >
> > See:  https://bugs.adobe.com/jira/browse/SDK-16897
> >
> > --Jim
> >
> >
> >
> > --- In flexcoders@yahoogroups.com 
> > <mailto:flexcoders%40yahoogroups.com>
> , "aceoohay"  wrote:
> > >
> > > Alex:
> > >
> > > Neither of these options are practical in the real world (at least my
> world) since we have over 135 modules currently, and up to 10 can be loaded
> at any one time. We cannot have the cursor willy nilly hopping from module
> to module going to panels that are partially obscured by other panels, etc.
> > >
> > > Does the mx.managers.FocusManager allow the ability to establish
> multiple tab loops within a single application?
> > >
> > > If so, how can this be used to define a tab loop for a single
> container?
> > >
> > > If not, is there anything that will allow defining a tab loop for a
> container?! With multiple tab loops available on the stage at one time. The
> user can use the mouse to jump from module to module.
> > >
> > > Paul
> > >
> > > --- In flexcoders@yahoogroups.com 
> > > <mailto:flexcoders%40yahoogroups.com>
> , Alex Harui aharui@ wrote:
> > > >
> > > > Setting tabEnabled on anything you don't want to have focus is one
> answer. So is non-modal popups.
> > > >
> > > > Alex Harui
> > > > Flex SDK Developer
> > > > Adobe Systems Inc.<http://www.adobe.com/>
> > > > Blog: http://blogs.adobe.com/aharui
> > > >
> > > > From: flexcoders@yahoogroups.com <
> mailto:flexcoders%40yahoogroups.com >  [
> mailto:flexcoders@yahoogroups.com  <
> mailto:flexcoders%40yahoogroups.com > ] On
> Behalf Of aceoohay
> > > > Sent: Wednesday, March 11, 2009 8:00 AM
> > > > To: flexcoders@yahoogroups.com 
> > > > <mailto:flexcoders%40yahoogroups.com>
>
> > > > Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
> > > >
> > > >
> > > > Alex:
> > > >
> > > > Let me restate my primary questio

Re: [flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-16 Thread Rick Winscot
Even the PopUpManager suffers to a degree. As modules are loaded there seems
to be some confusion as to which FocusManager they belong...  as you press
TAB focus will jump from one module to another as if they were connected.
You can get around this by forcibly triggering activate/deactivate
operations on the modules FocusManager --- as stated in the comments in
FocusManager.as: 

³The SystemManager activates and deactivates a FocusManager if more than one
IFocusManagerContainer is visible at the same time. If the mouse is clicked
in an IFocusManagerContainer with a deactivated FocusManager, the
SystemManager will call the activate() method on that FocusManager. The
FocusManager that was activated will have its deactivate() method called
prior to the activation of another FocusManager.²

I¹ll attach a sample project to the issue for clarity.

Rick Winscot


On 3/14/09 1:42 PM, "aceoohay"  wrote:

>  
>  
> 
> Yes, Alex has been very generous with his time offline, and I will be trying
> his popup approach.
> 
> However I believe the popup solution is a hack in the perjorative sense. I
> believe that the flex language should allow at a minimum the ability to define
> a separate tab loop for each module.
> 
> Paul
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , Alex
> Harui  wrote:
>> >
>> > Paul and I have discussed off line.  He's got a bunch of module panels that
>> we wants to overlap and drag around the screen and have tabbing stay within
>> which ever panel was clicked in and moved on top of the others.  Flex has all
>> of this built-in.  Once he gets his modules popped up, he should be all set.
>> > 
>> > Alex Harui
>> > Flex SDK Developer
>> > Adobe Systems Inc.<http://www.adobe.com/>
>> > Blog: http://blogs.adobe.com/aharui
>> > 
>> > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
>> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On
>> Behalf Of jim.abbott45
>> > Sent: Friday, March 13, 2009 3:21 PM
>> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
>> > Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
>> > 
>> > 
>> > Feeling less than ecstatic? Then please VOTE for fixing of bug #16897.
>> > 
>> > See:  https://bugs.adobe.com/jira/browse/SDK-16897
>> > 
>> > --Jim
>> > 
>> > 
>> > 
>> > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ,
>> "aceoohay"  wrote:
>>> > >
>>> > > Alex:
>>> > >
>>> > > Neither of these options are practical in the real world (at least my
>>> world) since we have over 135 modules currently, and up to 10 can be loaded
>>> at any one time. We cannot have the cursor willy nilly hopping from module
>>> to module going to panels that are partially obscured by other panels, etc.
>>> > >
>>> > > Does the mx.managers.FocusManager allow the ability to establish
>>> multiple tab loops within a single application?
>>> > >
>>> > > If so, how can this be used to define a tab loop for a single container?
>>> > >
>>> > > If not, is there anything that will allow defining a tab loop for a
>>> container?! With multiple tab loops available on the stage at one time. The
>>> user can use the mouse to jump from module to module.
>>> > >
>>> > > Paul
>>> > >
>>> > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
>>> , Alex Harui aharui@ wrote:
>>>> > > >
>>>> > > > Setting tabEnabled on anything you don't want to have focus is one
>>>> answer. So is non-modal popups.
>>>> > > >
>>>> > > > Alex Harui
>>>> > > > Flex SDK Developer
>>>> > > > Adobe Systems Inc.<http://www.adobe.com/>
>>>> > > > Blog: http://blogs.adobe.com/aharui
>>>> > > >
>>>> > > > From: flexcoders@yahoogroups.com
>>>> <mailto:flexcoders%40yahoogroups.com>  [mailto:flexcoders@yahoogroups.com
>>>> <mailto:flexcoders%40yahoogroups.com> ] On Behalf Of aceoohay
>>>> > > > Sent: Wednesday, March 11, 2009 8:00 AM
>>>> > > > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
>>>> > > > Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
>>>> > > >
>>>> > > >
>>>> > > > Alex:
>>>> > > >
>>>> > > > Let me restate my primary question;
>>>> > > >
>>> > > &! gt; "...has anyone else tried to create a flex component with ! a
>>> separa te tab loop, if so how did you make it work?"
>>>> > > >
>>>> > > > Since the documentation seems to indicate that FocusManager will
>>>> allow multiple tab loops that was the approach I was investigating.
>>>> > > >
>>>> > > > My primary goal, irrespective of how I do it is to create what I call
>>>> a "tab domain." Whatever it is called, what I need is the ability to define
>>>> a captive group of objects from which focus will never leave by pressing
>>>> the tab key.
>>>> > > >
>>>> > > > Paul
>>>> > > >
>>> > >
>> >
> 
>   
> 
> 
>> 



[flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-15 Thread aceoohay
Alex:

I posted the screenshot on the bug report. Please see;

https://bugs.adobe.com/jira/browse/SDK-16897

Paul

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> Paul, if you would be willing to share the screen shot of your app that you 
> showed me, I think most would agree that the popup subsystem in Flex was 
> designed exactly for what you want to do, and not a hack.  I hope those that 
> vote for your bug describe their scenarios that require it.  Maybe the more 
> critical feature Flex needs is an easier way to popup modules.  Until we see 
> other scenarios that require distinct tabloops that aren't MDI oriented, I 
> don't think this issue will get sufficient priority to be addressed.
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of aceoohay
> Sent: Saturday, March 14, 2009 10:43 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
> 
> 
> Yes, Alex has been very generous with his time offline, and I will be trying 
> his popup approach.
> 
> However I believe the popup solution is a hack in the perjorative sense. I 
> believe that the flex language should allow at a minimum the ability to 
> define a separate tab loop for each module.
> 
> Paul
> 
> --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, Alex 
> Harui  wrote:
> >
> > Paul and I have discussed off line. He's got a bunch of module panels that 
> > we wants to overlap and drag around the screen and have tabbing stay within 
> > which ever panel was clicked in and moved on top of the others. Flex has 
> > all of this built-in. Once he gets his modules popped up, he should be all 
> > set.
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.<http://www.adobe.com/>
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> 
> > [mailto:flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>] On 
> > Behalf Of jim.abbott45
> > Sent: Friday, March 13, 2009 3:21 PM
> > To: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>
> > Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
> >
> >
> > Feeling less than ecstatic? Then please VOTE for fixing of bug #16897.
> >
> > See: https://bugs.adobe.com/jira/browse/SDK-16897
> >
> > --Jim
> >
> >
> >
> > --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, 
> > "aceoohay"  wrote:
> > >
> > > Alex:
> > >
> > > Neither of these options are practical in the real world (at least my 
> > > world) since we have over 135 modules currently, and up to 10 can be 
> > > loaded at any one time. We cannot have the cursor willy nilly hopping 
> > > from module to module going to panels that are partially obscured by 
> > > other panels, etc.
> > >
> > > Does the mx.managers.FocusManager allow the ability to establish multiple 
> > > tab loops within a single application?
> > >
> > > If so, how can this be used to define a tab loop for a single container?
> > >
> > > If not, is there anything that will allow defining a tab loop for a 
> > > container?! With multiple tab loops available on the stage at one time. 
> > > The user can use the mouse to jump from module to module.
> > >
> > > Paul
> > >
> > > --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, 
> > > Alex Harui aharui@ wrote:
> > > >
> > > > Setting tabEnabled on anything you don't want to have focus is one 
> > > > answer. So is non-modal popups.
> > > >
> > > > Alex Harui
> > > > Flex SDK Developer
> > > > Adobe Systems Inc.<http://www.adobe.com/>
> > > > Blog: http://blogs.adobe.com/aharui
> > > >
> > > > From: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> 
> > > > [mailto:flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>]
> > > >  On Behalf Of aceoohay
> > > > Sent: Wednesday, March 11, 2009 8:00 AM
> > > > To: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>
> > > > Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
> > > >
> > > >
> > > > Alex:
> > > >
> > > > Let me restate my primary question;
> > > >
> > > &! gt; "...has anyone else tried to create a flex component with ! a 
> > > separa te tab loop, if so how did you make it work?"
> > > >
> > > > Since the documentation seems to indicate that FocusManager will allow 
> > > > multiple tab loops that was the approach I was investigating.
> > > >
> > > > My primary goal, irrespective of how I do it is to create what I call a 
> > > > "tab domain." Whatever it is called, what I need is the ability to 
> > > > define a captive group of objects from which focus will never leave by 
> > > > pressing the tab key.
> > > >
> > > > Paul
> > > >
> > >
> >
>




RE: [flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-14 Thread Alex Harui
Paul, if you would be willing to share the screen shot of your app that you 
showed me, I think most would agree that the popup subsystem in Flex was 
designed exactly for what you want to do, and not a hack.  I hope those that 
vote for your bug describe their scenarios that require it.  Maybe the more 
critical feature Flex needs is an easier way to popup modules.  Until we see 
other scenarios that require distinct tabloops that aren't MDI oriented, I 
don't think this issue will get sufficient priority to be addressed.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of aceoohay
Sent: Saturday, March 14, 2009 10:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux


Yes, Alex has been very generous with his time offline, and I will be trying 
his popup approach.

However I believe the popup solution is a hack in the perjorative sense. I 
believe that the flex language should allow at a minimum the ability to define 
a separate tab loop for each module.

Paul

--- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, Alex 
Harui  wrote:
>
> Paul and I have discussed off line. He's got a bunch of module panels that we 
> wants to overlap and drag around the screen and have tabbing stay within 
> which ever panel was clicked in and moved on top of the others. Flex has all 
> of this built-in. Once he gets his modules popped up, he should be all set.
>
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
>
> From: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> 
> [mailto:flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>] On 
> Behalf Of jim.abbott45
> Sent: Friday, March 13, 2009 3:21 PM
> To: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>
> Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
>
>
> Feeling less than ecstatic? Then please VOTE for fixing of bug #16897.
>
> See: https://bugs.adobe.com/jira/browse/SDK-16897
>
> --Jim
>
>
>
> --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, 
> "aceoohay"  wrote:
> >
> > Alex:
> >
> > Neither of these options are practical in the real world (at least my 
> > world) since we have over 135 modules currently, and up to 10 can be loaded 
> > at any one time. We cannot have the cursor willy nilly hopping from module 
> > to module going to panels that are partially obscured by other panels, etc.
> >
> > Does the mx.managers.FocusManager allow the ability to establish multiple 
> > tab loops within a single application?
> >
> > If so, how can this be used to define a tab loop for a single container?
> >
> > If not, is there anything that will allow defining a tab loop for a 
> > container?! With multiple tab loops available on the stage at one time. The 
> > user can use the mouse to jump from module to module.
> >
> > Paul
> >
> > --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, 
> > Alex Harui aharui@ wrote:
> > >
> > > Setting tabEnabled on anything you don't want to have focus is one 
> > > answer. So is non-modal popups.
> > >
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.<http://www.adobe.com/>
> > > Blog: http://blogs.adobe.com/aharui
> > >
> > > From: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> 
> > > [mailto:flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>] 
> > > On Behalf Of aceoohay
> > > Sent: Wednesday, March 11, 2009 8:00 AM
> > > To: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>
> > > Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
> > >
> > >
> > > Alex:
> > >
> > > Let me restate my primary question;
> > >
> > &! gt; "...has anyone else tried to create a flex component with ! a separa 
> > te tab loop, if so how did you make it work?"
> > >
> > > Since the documentation seems to indicate that FocusManager will allow 
> > > multiple tab loops that was the approach I was investigating.
> > >
> > > My primary goal, irrespective of how I do it is to create what I call a 
> > > "tab domain." Whatever it is called, what I need is the ability to define 
> > > a captive group of objects from which focus will never leave by pressing 
> > > the tab key.
> > >
> > > Paul
> > >
> >
>



[flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-14 Thread aceoohay
Yes, Alex has been very generous with his time offline, and I will be trying 
his popup approach.

However I believe the popup solution is a hack in the perjorative sense. I 
believe that the flex language should allow at a minimum the ability to define 
a separate tab loop for each module.

Paul

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> Paul and I have discussed off line.  He's got a bunch of module panels that 
> we wants to overlap and drag around the screen and have tabbing stay within 
> which ever panel was clicked in and moved on top of the others.  Flex has all 
> of this built-in.  Once he gets his modules popped up, he should be all set.
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of jim.abbott45
> Sent: Friday, March 13, 2009 3:21 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
> 
> 
> Feeling less than ecstatic? Then please VOTE for fixing of bug #16897.
> 
> See:  https://bugs.adobe.com/jira/browse/SDK-16897
> 
> --Jim
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "aceoohay"  wrote:
> >
> > Alex:
> >
> > Neither of these options are practical in the real world (at least my 
> > world) since we have over 135 modules currently, and up to 10 can be loaded 
> > at any one time. We cannot have the cursor willy nilly hopping from module 
> > to module going to panels that are partially obscured by other panels, etc.
> >
> > Does the mx.managers.FocusManager allow the ability to establish multiple 
> > tab loops within a single application?
> >
> > If so, how can this be used to define a tab loop for a single container?
> >
> > If not, is there anything that will allow defining a tab loop for a 
> > container?! With multiple tab loops available on the stage at one time. The 
> > user can use the mouse to jump from module to module.
> >
> > Paul
> >
> > --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
> > >
> > > Setting tabEnabled on anything you don't want to have focus is one 
> > > answer. So is non-modal popups.
> > >
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.<http://www.adobe.com/>
> > > Blog: http://blogs.adobe.com/aharui
> > >
> > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> > > Behalf Of aceoohay
> > > Sent: Wednesday, March 11, 2009 8:00 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
> > >
> > >
> > > Alex:
> > >
> > > Let me restate my primary question;
> > >
> > &! gt; "...has anyone else tried to create a flex component with ! a separa 
> > te tab loop, if so how did you make it work?"
> > >
> > > Since the documentation seems to indicate that FocusManager will allow 
> > > multiple tab loops that was the approach I was investigating.
> > >
> > > My primary goal, irrespective of how I do it is to create what I call a 
> > > "tab domain." Whatever it is called, what I need is the ability to define 
> > > a captive group of objects from which focus will never leave by pressing 
> > > the tab key.
> > >
> > > Paul
> > >
> >
>




[flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-14 Thread aceoohay
Jim:

Thanks for reminding me. I posted that bug a while ago.

Paul

--- In flexcoders@yahoogroups.com, "jim.abbott45"  wrote:
>
> Feeling less than ecstatic? Then please VOTE for fixing of bug #16897.
> 
> See:  https://bugs.adobe.com/jira/browse/SDK-16897
> <https://bugs.adobe.com/jira/browse/SDK-16897>
> 
> --Jim
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "aceoohay"  wrote:
> >
> > Alex:
> >
> > Neither of these options are practical in the real world (at least my
> world) since we have over 135 modules currently, and up to 10 can be
> loaded at any one time. We cannot have the cursor willy nilly hopping
> from module to module going to panels that are partially obscured by
> other panels, etc.
> >
> > Does the mx.managers.FocusManager allow the ability to establish
> multiple tab loops within a single application?
> >
> > If so, how can this be used to define a tab loop for a single
> container?
> >
> > If not, is there anything that will allow defining a tab loop for a
> container? With multiple tab loops available on the stage at one time.
> The user can use the mouse to jump from module to module.
> >
> > Paul
> >
> > --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
> > >
> > > Setting tabEnabled on anything you don't want to have focus is one
> answer.  So is non-modal popups.
> > >
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.<http://www.adobe.com/>
> > > Blog: http://blogs.adobe.com/aharui
> > >
> > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]
> On Behalf Of aceoohay
> > > Sent: Wednesday, March 11, 2009 8:00 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
> > >
> > >
> > > Alex:
> > >
> > > Let me restate my primary question;
> > >
> > > "...has anyone else tried to create a flex component with a separate
> tab loop, if so how did you make it work?"
> > >
> > > Since the documentation seems to indicate that FocusManager will
> allow multiple tab loops that was the approach I was investigating.
> > >
> > > My primary goal, irrespective of how I do it is to create what I
> call a "tab domain." Whatever it is called, what I need is the ability
> to define a captive group of objects from which focus will never leave
> by pressing the tab key.
> > >
> > > Paul
> > >
> >
>




RE: [flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-13 Thread Alex Harui
Paul and I have discussed off line.  He's got a bunch of module panels that we 
wants to overlap and drag around the screen and have tabbing stay within which 
ever panel was clicked in and moved on top of the others.  Flex has all of this 
built-in.  Once he gets his modules popped up, he should be all set.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of jim.abbott45
Sent: Friday, March 13, 2009 3:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux


Feeling less than ecstatic? Then please VOTE for fixing of bug #16897.

See:  https://bugs.adobe.com/jira/browse/SDK-16897

--Jim



--- In flexcoders@yahoogroups.com, "aceoohay"  wrote:
>
> Alex:
>
> Neither of these options are practical in the real world (at least my world) 
> since we have over 135 modules currently, and up to 10 can be loaded at any 
> one time. We cannot have the cursor willy nilly hopping from module to module 
> going to panels that are partially obscured by other panels, etc.
>
> Does the mx.managers.FocusManager allow the ability to establish multiple tab 
> loops within a single application?
>
> If so, how can this be used to define a tab loop for a single container?
>
> If not, is there anything that will allow defining a tab loop for a 
> container?! With multiple tab loops available on the stage at one time. The 
> user can use the mouse to jump from module to module.
>
> Paul
>
> --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
> >
> > Setting tabEnabled on anything you don't want to have focus is one answer. 
> > So is non-modal popups.
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.<http://www.adobe.com/>
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> > Behalf Of aceoohay
> > Sent: Wednesday, March 11, 2009 8:00 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
> >
> >
> > Alex:
> >
> > Let me restate my primary question;
> >
> &! gt; "...has anyone else tried to create a flex component with ! a separa 
> te tab loop, if so how did you make it work?"
> >
> > Since the documentation seems to indicate that FocusManager will allow 
> > multiple tab loops that was the approach I was investigating.
> >
> > My primary goal, irrespective of how I do it is to create what I call a 
> > "tab domain." Whatever it is called, what I need is the ability to define a 
> > captive group of objects from which focus will never leave by pressing the 
> > tab key.
> >
> > Paul
> >
>



[flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-13 Thread jim.abbott45
Feeling less than ecstatic? Then please VOTE for fixing of bug #16897.

See:  https://bugs.adobe.com/jira/browse/SDK-16897
<https://bugs.adobe.com/jira/browse/SDK-16897>

--Jim



--- In flexcoders@yahoogroups.com, "aceoohay"  wrote:
>
> Alex:
>
> Neither of these options are practical in the real world (at least my
world) since we have over 135 modules currently, and up to 10 can be
loaded at any one time. We cannot have the cursor willy nilly hopping
from module to module going to panels that are partially obscured by
other panels, etc.
>
> Does the mx.managers.FocusManager allow the ability to establish
multiple tab loops within a single application?
>
> If so, how can this be used to define a tab loop for a single
container?
>
> If not, is there anything that will allow defining a tab loop for a
container? With multiple tab loops available on the stage at one time.
The user can use the mouse to jump from module to module.
>
> Paul
>
> --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
> >
> > Setting tabEnabled on anything you don't want to have focus is one
answer.  So is non-modal popups.
> >
> > Alex Harui
> > Flex SDK Developer
> > Adobe Systems Inc.<http://www.adobe.com/>
> > Blog: http://blogs.adobe.com/aharui
> >
> > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]
On Behalf Of aceoohay
> > Sent: Wednesday, March 11, 2009 8:00 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
> >
> >
> > Alex:
> >
> > Let me restate my primary question;
> >
> > "...has anyone else tried to create a flex component with a separate
tab loop, if so how did you make it work?"
> >
> > Since the documentation seems to indicate that FocusManager will
allow multiple tab loops that was the approach I was investigating.
> >
> > My primary goal, irrespective of how I do it is to create what I
call a "tab domain." Whatever it is called, what I need is the ability
to define a captive group of objects from which focus will never leave
by pressing the tab key.
> >
> > Paul
> >
>



RE: [flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-11 Thread Alex Harui
Not within a single FocusManagerContainer, but if you have tiled the screen 
with non-modal popups that can't be dragged around, I don't see how your user 
will know the difference.  You don't have to popup panels to do this.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of aceoohay
Sent: Wednesday, March 11, 2009 1:59 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux


Alex:

Neither of these options are practical in the real world (at least my world) 
since we have over 135 modules currently, and up to 10 can be loaded at any one 
time. We cannot have the cursor willy nilly hopping from module to module going 
to panels that are partially obscured by other panels, etc.

Does the mx.managers.FocusManager allow the ability to establish multiple tab 
loops within a single application?

If so, how can this be used to define a tab loop for a single container?

If not, is there anything that will allow defining a tab loop for a container? 
With multiple tab loops available on the stage at one time. The user can use 
the mouse to jump from module to module.

Paul

--- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, Alex 
Harui  wrote:
>
> Setting tabEnabled on anything you don't want to have focus is one answer. So 
> is non-modal popups.
>
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
>
> From: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com> 
> [mailto:flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>] On 
> Behalf Of aceoohay
> Sent: Wednesday, March 11, 2009 8:00 AM
> To: flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>
> Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
>
>
> Alex:
>
> Let me restate my primary question;
>
> "...has anyone else tried to create a flex component with a separate tab 
> loop, if so how did you make it work?"
>
> Since the documentation seems to indicate that FocusManager will allow 
> multiple tab loops that was the approach I was investigating.
>
> My primary goal, irrespective of how I do it is to create what I call a "tab 
> domain." Whatever it is called, what I need is the ability to define a 
> captive group of objects from which focus will never leave by pressing the 
> tab key.
>
> Paul
>



[flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-11 Thread aceoohay
Alex:

Neither of these options are practical in the real world (at least my world) 
since we have over 135 modules currently, and up to 10 can be loaded at any one 
time. We cannot have the cursor willy nilly hopping from module to module going 
to panels that are partially obscured by other panels, etc.

Does the mx.managers.FocusManager allow the ability to establish multiple tab 
loops within a single application?

If so, how can this be used to define a tab loop for a single container?

If not, is there anything that will allow defining a tab loop for a container? 
With multiple tab loops available on the stage at one time. The user can use 
the mouse to jump from module to module.

Paul

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> Setting tabEnabled on anything you don't want to have focus is one answer.  
> So is non-modal popups.
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of aceoohay
> Sent: Wednesday, March 11, 2009 8:00 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
> 
> 
> Alex:
> 
> Let me restate my primary question;
> 
> "...has anyone else tried to create a flex component with a separate tab 
> loop, if so how did you make it work?"
> 
> Since the documentation seems to indicate that FocusManager will allow 
> multiple tab loops that was the approach I was investigating.
> 
> My primary goal, irrespective of how I do it is to create what I call a "tab 
> domain." Whatever it is called, what I need is the ability to define a 
> captive group of objects from which focus will never leave by pressing the 
> tab key.
> 
> Paul
>




RE: [flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-11 Thread Alex Harui
Setting tabEnabled on anything you don't want to have focus is one answer.  So 
is non-modal popups.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of aceoohay
Sent: Wednesday, March 11, 2009 8:00 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux


Alex:

Let me restate my primary question;

"...has anyone else tried to create a flex component with a separate tab loop, 
if so how did you make it work?"

Since the documentation seems to indicate that FocusManager will allow multiple 
tab loops that was the approach I was investigating.

My primary goal, irrespective of how I do it is to create what I call a "tab 
domain." Whatever it is called, what I need is the ability to define a captive 
group of objects from which focus will never leave by pressing the tab key.

Paul



[flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-11 Thread aceoohay
Alex:

Let me restate my primary question;

"...has anyone else tried to create a flex component with a separate tab loop, 
if so how did you make it work?"

Since the documentation seems to indicate that FocusManager will allow multiple 
tab loops that was the approach I was investigating. 

My primary goal, irrespective of how I do it is to create what I call a "tab 
domain." Whatever it is called, what I need is the ability to define a captive 
group of objects from which focus will never leave by pressing the tab key.

Paul



[flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-11 Thread pwohlhart
   addChild(fc);
   
for (var i:int = 0; i < 10; i++)
{
var cnt:FocusableControl = new FocusableControl();
cnt.x = 10;
cnt.y = i*20;
cnt.tabEnabled = true;
fc.addChild(cnt);
} 

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> You can't use fl.*.* classes in Flex apps.
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of aceoohay
> Sent: Tuesday, March 10, 2009 8:28 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux
> 
> 
> After playing around a bit more I am leaning towards the fact that the mx and 
> fl might be the same, and the 2025 error is caused by something I am doing 
> (or not).
> 
> If the panel has focus I can tab around it, and type, but as soon as I click 
> a mouse anywhere in the application it dies in SystemManager on a 
> getChildIndex fired by the mouseDownHandler.
> 
> Any help is appreciated.
> 
> Paul
> 
> --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, 
> "aceoohay"  wrote:
> >
> > In reading the page;
> >
> > http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/managers/FocusManager.html
> >
> > It seems like just the right tool to handle a major deficiency in Flex. 
> > Basically the inability to create tab loops for containers.
> >
> > I use a somewhat modified version of the SuperPanel component which is an 
> > extension of the panel component for all of the data entry forms in my 
> > application. I envisioned creating a FocusManager in the SuperPanel, and 
> > viola I would have a custom tab loop for each of my data entry screens.
> >
> > Unfortunately, it isn't that simple (it seldom is). I added a private 
> > variable to the component of the type FocusManager. Flex of course wants to 
> > add mx.managers.FocusManager, and we probably want fl.managers.FocusManager 
> > the flash version, since the mx version generates 2025 RT errors anytime 
> > you click on any object in the container that is assigned to a 
> > separate/custom focusmanager.
> >
> > The full error is;
> >
> > Error #2025: The supplied DisplayObject must be a child of the caller.
> >
> > So has anyone else tried to create a flex component with a separate tab 
> > loop, if so how did you make it work?
> >
> > Has anyone worked with the fl.managers.FocusManager component? Is it the 
> > same as the mx.managers.FocusManager? Is it possible to get either one to 
> > do what I want? Which is to encapsulate a tab loop with in a container. How?
> >
> > Paul
> >
>




RE: [flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-10 Thread Alex Harui
You can't use fl.*.* classes in Flex apps.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.<http://www.adobe.com/>
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of aceoohay
Sent: Tuesday, March 10, 2009 8:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FocusManager fun... Tab Loops redux


After playing around a bit more I am leaning towards the fact that the mx and 
fl might be the same, and the 2025 error is caused by something I am doing (or 
not).

If the panel has focus I can tab around it, and type, but as soon as I click a 
mouse anywhere in the application it dies in SystemManager on a getChildIndex 
fired by the mouseDownHandler.

Any help is appreciated.

Paul

--- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, 
"aceoohay"  wrote:
>
> In reading the page;
>
> http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/managers/FocusManager.html
>
> It seems like just the right tool to handle a major deficiency in Flex. 
> Basically the inability to create tab loops for containers.
>
> I use a somewhat modified version of the SuperPanel component which is an 
> extension of the panel component for all of the data entry forms in my 
> application. I envisioned creating a FocusManager in the SuperPanel, and 
> viola I would have a custom tab loop for each of my data entry screens.
>
> Unfortunately, it isn't that simple (it seldom is). I added a private 
> variable to the component of the type FocusManager. Flex of course wants to 
> add mx.managers.FocusManager, and we probably want fl.managers.FocusManager 
> the flash version, since the mx version generates 2025 RT errors anytime you 
> click on any object in the container that is assigned to a separate/custom 
> focusmanager.
>
> The full error is;
>
> Error #2025: The supplied DisplayObject must be a child of the caller.
>
> So has anyone else tried to create a flex component with a separate tab loop, 
> if so how did you make it work?
>
> Has anyone worked with the fl.managers.FocusManager component? Is it the same 
> as the mx.managers.FocusManager? Is it possible to get either one to do what 
> I want? Which is to encapsulate a tab loop with in a container. How?
>
> Paul
>



[flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-10 Thread aceoohay
After playing around a bit more I am leaning towards the fact that the mx and 
fl might be the same, and the 2025 error is caused by something I am doing (or 
not).

If the panel has focus I can tab around it, and type, but as soon as I click a 
mouse anywhere in the application it dies in SystemManager on a getChildIndex 
fired by the mouseDownHandler.

Any help is appreciated.

Paul


--- In flexcoders@yahoogroups.com, "aceoohay"  wrote:
>
> In reading the page;
> 
> http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/managers/FocusManager.html
> 
> It seems like just the right tool to handle a major deficiency in Flex. 
> Basically the inability to create tab loops for containers. 
> 
> I use a somewhat modified version of the SuperPanel component which is an 
> extension of the panel component for all of the data entry forms in my 
> application. I envisioned creating a FocusManager in the SuperPanel, and 
> viola I would have a custom tab loop for each of my data entry screens.
> 
> Unfortunately, it isn't that simple (it seldom is). I added a private 
> variable to the component of the type FocusManager. Flex of course wants to 
> add mx.managers.FocusManager, and we probably want fl.managers.FocusManager 
> the flash version, since the mx version generates 2025 RT errors anytime you 
> click on any object in the container that is assigned to a separate/custom 
> focusmanager.
> 
> The full error is;
> 
> Error #2025: The supplied DisplayObject must be a child of the caller.
> 
> So has anyone else tried to create a flex component with a separate tab loop, 
> if so how did you make it work?
> 
> Has anyone worked with the fl.managers.FocusManager component? Is it the same 
> as the mx.managers.FocusManager? Is it possible to get either one to do what 
> I want? Which is to encapsulate a tab loop with in a container. How?
> 
> Paul
>