RE: [flexcoders] Re: textArea.setFocus();

2008-10-30 Thread Keith Reinfeld
 Should it not put the cursor into the textArea and have the 10th
 through 20th characters selected?

 

Even if you select a range of text with the mouse you will not see the
blinking insertion cursor in the textarea. 
 

What matters is that your app has focus so that it can receive keyboard
actions. 

So the trick is to come-up with some trivial task for the user to perform
that forces them to click. 

Regards, 

-Keith 
http://keithreinfeld.home.comcast.net
http://keithreinfeld.home.comcast.net/ 
 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Blake Barrett
Sent: Wednesday, October 29, 2008 1:47 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: textArea.setFocus();

 

There is some JS you can run in the wrapper HTML that will give focus to the
SWF, but it doesn't work in FF2 or Chrome.

 

Blake


 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of valdhor
Sent: Wednesday, October 29, 2008 11:35 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: textArea.setFocus();

Unfortunately, you can't.

The browser has focus until the user clicks on your app.

BTW. Does anyone know if this is rectified with FP10? Or is it just
something we have to live with from the browser vendors?

--- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com,
tchredeemed [EMAIL PROTECTED] wrote:

 Thanks guys, now I guess my problem is how to give the application
 focus without clicking on it?
 
 parentApplication.systemManager.activate() ?
 
 Not sure exactly where to go :)


 



RE: [flexcoders] Re: textArea.setFocus();

2008-10-30 Thread Alex Harui
I think you can open bugs against the Flash Player now, so I would do that, and 
reference this bug

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor
Sent: Thursday, October 30, 2008 9:06 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: textArea.setFocus();


I found this bug in Jira:

https://bugs.adobe.com/jira/browse/FB-429

It's been around since March of 06. Should we just vote on this one or
create a new bug entry?

--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex 
Harui [EMAIL PROTECTED] wrote:

 I believe the Java browser plug-ins don't have this problem so it
might be worth filing a bug and collection votes.



RE: [flexcoders] Re: textArea.setFocus();

2008-10-29 Thread Blake Barrett
There is some JS you can run in the wrapper HTML that will give focus to
the SWF, but it doesn't work in FF2 or Chrome.
 
Blake

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of valdhor
Sent: Wednesday, October 29, 2008 11:35 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: textArea.setFocus();



Unfortunately, you can't.

The browser has focus until the user clicks on your app.

BTW. Does anyone know if this is rectified with FP10? Or is it just
something we have to live with from the browser vendors?

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, tchredeemed [EMAIL PROTECTED] wrote:

 Thanks guys, now I guess my problem is how to give the application
 focus without clicking on it?
 
 parentApplication.systemManager.activate() ?
 
 Not sure exactly where to go :)




 


RE: [flexcoders] Re: textArea.setFocus();

2008-10-29 Thread Alex Harui
I believe the Java browser plug-ins don't have this problem so it might be 
worth filing a bug and collection votes.

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri 
Girski
Sent: Wednesday, October 29, 2008 4:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: textArea.setFocus();



 BTW. Does anyone know if this is rectified with FP10? Or is it just
 something we have to live with from the browser vendors?

AFAIK this is a browser issue, not the FP.

Cheers,
Dmitri.