RE: [Flashcoders] InputTextField issue

2009-03-02 Thread Cor
f.com [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 th

Re: [Flashcoders] InputTextField issue

2009-03-01 Thread Juan Pablo Califano
lashcoders-boun...@chattyfig.figleaf.com] 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: >

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 : > > This is true. I started with 0 which is incorrect, I've been worki

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:MouseEv

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, mouseM

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; txt

Re: [Flashcoders] InputTextField issue

2009-03-01 Thread Juan Pablo Califano
figleaf.com > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Juan Pablo > 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-base

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

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-02-28 Thread Cor
aterdag 28 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...@y

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...@..." wrote: > > This *is* possible. > > In your html-template directory, locate the in

RE: [Flashcoders] InputTextField issue

2009-02-28 Thread Cor
yfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] 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 h

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 Keith,

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-27 Thread Keith Reinfeld
y 27, 2009 4:46 AM > 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? >

[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 package { import flash.display.*; import flash.events.*; import flash.text.*; public class KeyboardEventTextInput extends