Grant,
 The way i have taken care of this in the past is just to call:
 _root.focusManager.defaultPushButtonEnabled = true;
_root.focusManager.defaultPushButton = submitButton;
 If the other button is still submitting, try tracing
_root.focusManager.defaultPushButton and see what it says?
 Hope this helps, focus manager isnt' always fun...

Sam


 On 1 Nov 2005 22:37:53 -0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
> 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
> http://www.bluetube.com
> http://www.studiodaily.com/filmandvideo/searchlist/5579.html our 1st press
> coverage!
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to