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/

RE: [flexcoders] txtbx focus at login

2008-12-05 Thread Tracy Spratt
This is because the Flash Player instance itself (Object/Embed tag) does not have the focus in the Browser. There is a bit of javascript code that will set the focus, but last I heard it only works in IE. I can find that script if it would be useful. Tracy

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