[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
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
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
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
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;
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,
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
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
] 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
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
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
] 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
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
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
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
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
16 matches
Mail list logo