RE: [flexcoders] txtbx focus at login

2008-12-11 Thread Robert Byrne
] wrote: From: Tracy Spratt [EMAIL PROTECTED] Subject: RE: [flexcoders] txtbx focus at login To: flexcoders@yahoogroups.com Date: Friday, December 5, 2008, 6:23 PM This works in IE:   window.onload = setFocusOnLoad; function setFocusOnLoad(){   ${swf}.focus

RE: [flexcoders] txtbx focus at login

2008-12-11 Thread Tracy Spratt
...@lariatinc.com wrote: From: Tracy Spratt tspr...@lariatinc.com Subject: RE: [flexcoders] txtbx focus at login To: flexcoders@yahoogroups.com Date: Friday, December 5, 2008, 6:23 PM This works in IE: window.onload = setFocusOnLoad; function setFocusOnLoad(){ ${swf}.focus

Re: [flexcoders] txtbx focus at login

2008-12-08 Thread Tom Chiverton
On Friday 05 Dec 2008, Tracy Spratt wrote: window.onload = setFocusOnLoad; As an aside, if there's any client-side framework or other code that also hooks the event, you've just broken it (or it's broken you if it runs later) :-) Something like http://snipplr.com/view/561/add-event-listener/

[flexcoders] txtbx focus at login

2008-12-05 Thread Robert Byrne
This is a bit odd.  When I first open the application, the focus IS set on the login txtbx but when I start typing nothing happens. If I tab to the password txtbx I can type.  If I tab back to the login, I can type. If I click anywhere on the flex app, not just in the login txtbx, I can type.

RE: [flexcoders] txtbx focus at login

2008-12-05 Thread Tracy Spratt
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Byrne Sent: Friday, December 05, 2008 1:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] txtbx focus at login This is a bit odd. When I first open the application, the focus IS set on the login txtbx

RE: [flexcoders] txtbx focus at login

2008-12-05 Thread Robert Byrne
Spratt [EMAIL PROTECTED] Subject: RE: [flexcoders] txtbx focus at login To: flexcoders@yahoogroups.com Date: Friday, December 5, 2008, 3:35 PM This is because the Flash Player instance itself (Object/Embed tag) does not have the focus in the Browser.  There is a bit

RE: [flexcoders] txtbx focus at login

2008-12-05 Thread Tracy Spratt
@yahoogroups.com Subject: RE: [flexcoders] txtbx focus at login I'm looking into this now, but won't get back to it for a while: http://www.igorcosta.org/?p=179 There also a bit about it here: http://www.htmlforums.com/archive/index.php/t-64150.html Thanks for the pointers. -Robert --- On Fri, 12/5/08