Navigatimg within Flex TextBox

.NET Edition of the F-IN-BOX
seesharp
Posts: 82
Joined: Mon Oct 30, 2006 1:34 pm

Navigatimg within Flex TextBox

Postby seesharp » Sat Jan 06, 2007 7:23 am

Hi

(using f_in_box__control)

if I have a movie (Flex, AS3, FlashPlayer9) with some text boxes, I cannot navigate within the text using the arrow keys.
This works with FlashPlayerControl as expected.

Alex

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Sat Jan 06, 2007 8:26 pm

Thank you for your question.

FlashPlayerControl implemented IsInputKey method (the implementation always returns true), f_in_box__control doesn't implement this method. That's why TAB doesn't work properly.

For some movies, TAB should be handle by a f_in_box__control, for others, f_in_box__control must not handle TAB. The same for ENTER, LEFT ARROW, RIGHT ARROW etc.

We are ready to include some property / method / event that specify what keys should be processed by a f_in_box__control. What do you think about the following implementation: we will include the event IsInputKey, and if your movie should handle TAB itself, you just handle this event and return true if passed key is TAB. I think, that will be enough to resolve this problem...

With current f_in_box__control version, you can create derived class from f_in_box__control and override IsInputKey method. But I think that additional event would be better solution.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

seesharp
Posts: 82
Joined: Mon Oct 30, 2006 1:34 pm

Postby seesharp » Sat Jan 06, 2007 8:38 pm

Thanks for the reply

in other words, this event would allow me to decide myself which key inputs shall be passed to Flash and which should be handled by f_in_box__control itself ?

I think that might be a perfect solution. I didn't test yet but will it be the same for f_in_box__form then ?


Thanks and good night

Alex

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Sat Jan 06, 2007 8:42 pm

seesharp wrote:in other words, this event would allow me to decide myself which key inputs shall be passed to Flash and which should be handled by f_in_box__control itself ?


Yes.

seesharp wrote:I think that might be a perfect solution.


OK. I will add it in the nearest time and will post here about that.

seesharp wrote:I didn't test yet but will it be the same for f_in_box__form then ?


f_in_box__form is a separate window, not a child window, so TAB and others keys should work properly with f_in_box__form.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Sun Jan 07, 2007 12:21 pm

Small mistake: I meant arrow keys, not TAB, above.

I just have uploaded updated version, how to use new event you can see in the example Sample7_ExternalInterface.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

seesharp
Posts: 82
Joined: Mon Oct 30, 2006 1:34 pm

Postby seesharp » Sun Jan 07, 2007 1:07 pm

Hey,


It's sunday !!!
Thanks and although I am very impressed by your product and support, don't forget to enjoy your live, don't work too hard :wink:

Alex

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Sun Jan 07, 2007 1:40 pm

Thank you, Alex :) :)
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

seesharp
Posts: 82
Joined: Mon Oct 30, 2006 1:34 pm

Postby seesharp » Sun Jan 07, 2007 1:48 pm

BTW,

although its sunday, I've already tested and, as usual, it works.

Have a nice afternoon.
Kind regards form Switzerland


Alex

tos
Posts: 3
Joined: Fri Aug 07, 2009 8:11 pm

Important...

Postby tos » Fri Aug 07, 2009 8:16 pm

Please try to point out this method of trasfering keys to flash.
I've been seraching for a solution over 2 weeks. And OnIsInputKey is under my nose, even in manual.
I think that users are not well-familiar with this accidental feature.

I'm just trying to help.
Stand back....I am going to try SCIENCE!!! (xkcd)


Return to “.NET Edition”

Who is online

Users browsing this forum: No registered users and 16 guests