isn't getFocusManager a method?

submitButton.getFocusManager().defaultPushButton = submitButton

regards,
Muzak

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <flashcoders@chattyfig.figleaf.com>
Sent: Tuesday, November 01, 2005 11:37 PM
Subject: [Flashcoders] Using the FocusManager


>I appear to be in focus manager hell.
>
> I have an application with many "forms" each form is extended from movie clip 
> and based on what menu option you have selected the 
> form may or may not be visible.
>
> For example I have create user and update user, if you have selected create 
> user, then update user is not visible.
>
> both of these forms have the default push button set to their own push 
> button, however in testing I'm finding that if I hit the 
> enter key when the create user form has focus, the button on the hidden 
> update user form is being activated.
>
> The way I'm using focus manager right now is getting one by doing
>
> submitButton.getFocusManager.defaultPushButton = submitButton;
>
> Is there some other way I'm supposed to use the focus manager, it seems like 
> there is one for the whole application instead of 1 
> per movie clip, or one per form.  I tried attaching my own instance of the 
> focus manager to each form but didn't see any good 
> results.
>
> Macromedias docs on how to implement focus management in a sizeable 
> application with multiple forms is pretty non existent.
>
>
> any help would be appreciated.
>
> Grant


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to