RE: [Flashcoders] InputTextField issue

2009-03-02 Thread Cor
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Juan Pablo Califano Sent: zondag 1 maart 2009 17:27 To: Flash Coders List Subject: Re: [Flashcoders] InputTextField issue True, but it think the user will have to click somewhere in the swf anyway to begin interacting with it, because when the swf

Re: [Flashcoders] InputTextField issue

2009-03-01 Thread Juan Pablo Califano
Hi, I'm almost certain that tabIndex is 1-based not 0-based, so it should be: txtName.tabIndex = 1; txtEmail.tabIndex = 2; txtAddress.tabIndex = 3; txtCity.tabIndex = 4; Also, Cor, when testing inside the IDE, you should check disable keyboard shortchuts in the control menu; otherwise, the IDE

RE: [Flashcoders] InputTextField issue

2009-03-01 Thread Cor
2009 13:53 To: Flash Coders List Subject: Re: [Flashcoders] InputTextField issue Hi, I'm almost certain that tabIndex is 1-based not 0-based, so it should be: txtName.tabIndex = 1; txtEmail.tabIndex = 2; txtAddress.tabIndex = 3; txtCity.tabIndex = 4; Also, Cor, when testing inside the IDE, you

Re: [Flashcoders] InputTextField issue

2009-03-01 Thread Juan Pablo Califano
Califano Sent: zondag 1 maart 2009 13:53 To: Flash Coders List Subject: Re: [Flashcoders] InputTextField issue Hi, I'm almost certain that tabIndex is 1-based not 0-based, so it should be: txtName.tabIndex = 1; txtEmail.tabIndex = 2; txtAddress.tabIndex = 3; txtCity.tabIndex = 4; Also, Cor

Re: [Flashcoders] InputTextField issue

2009-03-01 Thread Gerry
This is true. I started with 0 which is incorrect, I've been working with Arrays this week so a 0 index slipped in there. -Gerry On Mar 1, 2009, at 7:53 AM, Juan Pablo Califano wrote: Hi, I'm almost certain that tabIndex is 1-based not 0-based, so it should be: txtName.tabIndex = 1;

RE: [Flashcoders] InputTextField issue

2009-03-01 Thread Cor
Juan, Thanks, I had made the exact same this workaround but with MOUSE_MOVE: stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoved); function mouseMoved (e:MouseEvent) :void{ stage.focus = inputTextField; stage.removeEventListener(MouseEvent.MOUSE_MOVE,

RE: [Flashcoders] InputTextField issue

2009-03-01 Thread Cor
maart 2009 16:26 To: 'Flash Coders List' Subject: RE: [Flashcoders] InputTextField issue Juan, Thanks, I had made the exact same this workaround but with MOUSE_MOVE: stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoved); function mouseMoved (e:MouseEvent) :void

Re: [Flashcoders] InputTextField issue

2009-03-01 Thread Juan Pablo Califano
This one has bitten me many times, so that's why I remember it! Anyway, it would make more sense to start with 0, since almost everything else (arrays, string indexes) is 0 based. Cheers Juan Pablo Califano 2009/3/1, Gerry noentour...@gmail.com: This is true. I started with 0 which is

Re: [Flashcoders] InputTextField issue

2009-03-01 Thread Juan Pablo Califano
] On Behalf Of Cor Sent: zondag 1 maart 2009 16:26 To: 'Flash Coders List' Subject: RE: [Flashcoders] InputTextField issue Juan, Thanks, I had made the exact same this workaround but with MOUSE_MOVE: stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoved); function mouseMoved (e:MouseEvent

RE: [Flashcoders] InputTextField issue

2009-02-28 Thread Cor
Hi Keith, I think I have put it wrong in my question. When running in the IDE is discards several, like: q,e,r,t, but the w is accepted. When I run in in html it accepts nothing. But in both cases when I first click the textfield the give it the focus it works as expected. So my problem really

Re: [Flashcoders] InputTextField issue

2009-02-28 Thread Gerry
You can look up focus (stage.focus = txtName; ), that will allow you to set which textfield has focus and for tabbing use tabIndex like this. txtName.tabIndex = 0; txtEmail.tabIndex = 1; txtAddress.tabIndex = 2; txtCity.tabIndex = 3; -Gerry On Feb 28, 2009, at 3:19 AM, Cor wrote: Hi

RE: [Flashcoders] InputTextField issue

2009-02-28 Thread Cor
] On Behalf Of Gerry Sent: zaterdag 28 februari 2009 15:03 To: Flash Coders List Subject: Re: [Flashcoders] InputTextField issue You can look up focus (stage.focus = txtName; ), that will allow you to set which textfield has focus and for tabbing use tabIndex like this. txtName.tabIndex = 0

RE: [Flashcoders] InputTextField issue

2009-02-28 Thread Keith Reinfeld
Cor, A recent thread on the Flexcoders list had this to say: (see below) What the heck, give it a try. Regards, -Keith http://keithreinfeld.home.comcast.net --- In flexcod...@yahoogroups.com, huu...@... huu...@... wrote: This *is* possible. In your html-template directory, locate

RE: [Flashcoders] InputTextField issue

2009-02-28 Thread Cor
februari 2009 20:08 To: 'Flash Coders List' Subject: RE: [Flashcoders] InputTextField issue Cor, A recent thread on the Flexcoders list had this to say: (see below) What the heck, give it a try. Regards, -Keith http://keithreinfeld.home.comcast.net --- In flexcod...@yahoogroups.com, huu

[Flashcoders] InputTextField issue

2009-02-27 Thread Cor
Hi List, I have this class wich put an inputtextfield on stage. But it does not accept all keypresses? Any ideas how to do this right? TIA AS FILE package { import flash.display.*; import flash.events.*; import flash.text.*; public class KeyboardEventTextInput

RE: [Flashcoders] InputTextField issue

2009-02-27 Thread Keith Reinfeld
To: 'Flash Coders List' Subject: [Flashcoders] InputTextField issue Hi List, I have this class wich put an inputtextfield on stage. But it does not accept all keypresses? Any ideas how to do this right? TIA AS FILE package { import flash.display.*; import