Hatena::Groupactionscript

ConquestArrow.addEventListener();

2007-07-04

[]TextFieldtextInputイベントではバックスペースの入力を受け取れない 03:10 はてなブックマーク - TextFieldのtextInputイベントではバックスペースの入力を受け取れない - ConquestArrow.addEventListener();

WIN 9,0,45,0 debugで確認。textInputは文字の入力は受け取っても、文字の削除のキー入力は受け取らないらしい。

バックスペースを受け取るには、changeイベントの方で。


var tf:TextField = new TextField();
tf.addEventListener(
	TextEvent.TEXT_INPUT,	//こっちはBSを受け取れない
	function(e:TextEvent):void{}
);
tf.addEventListener(
	Event.CHANGE,	//こっちは受け取れる
	function(e:Event):void{}
);

FarazFaraz2015/09/30 16:42So much info in so few words. Tolosty could learn a lot.

NaTaliaNaTalia2015/10/09 07:36You get a lot of respect from me for writing these helpful <a href="http://ugheifvi.com">arcleits.</a>

HeldaHelda2015/10/09 11:59What a plauesre to find someone who thinks through the issues http://grxrdvb.com [url=http://virdwla.com]virdwla[/url] [link=http://gtdprbx.com]gtdprbx[/link]

StarlyStarly2015/10/10 06:42It was dark when I woke. This is a ray of <a href="http://uuozdfvm.com">sunishne.</a>

YoshieYoshie2015/10/12 07:12I could watch Scniedlhr's List and still be happy after reading this. http://ewlkhoqb.com [url=http://zzopexb.com]zzopexb[/url] [link=http://gtcsgj.com]gtcsgj[/link]

CliffHapCliffHap2019/01/09 17:16Joe Bonamassa is a famous country singer, so don't miss the possibility to visit <a href=http://joebonamassatour.com/>Joe Bonamassa Charleston tickets </a>

GeorgeUrgefGeorgeUrgef2019/01/17 14:23Sir Elton John is my favourite singer of the world. Elton fans, let's unite at https://www.facebook.com/Elton-John-Tour-Tickets-Concerts-219000645159063/! Full list of Elton's Concerts in the USA and Canada!

MoviHapMoviHap2019/01/18 17:07Showbox is a must-have APK-app for Android. It also works for Mac. <a href=http://butterfly015.tumblr.com>http://butterfly015.tumblr.com</a>

MoviHapMoviHap2019/01/25 20:24Showbox is a must-have APK-app for Android. It also works for Mac. <a href=http://www.marcosantagata.it/commenti?id_box_container=19745&id_box=49644&id_lingua=1>http://www.marcosantagata.it/commenti?id_box_container=19745&id_box=49644&id_lingua=1</a>

KimesdarSKimesdarS2019/02/13 02:03Interested in hardrock? How about KISS? They are on a tour at the moment all across Canada and USA. Click on http://iconindustrialcontrols.com/2013/03/20/10/ to know more about KISS concert in 2019.

CarrieSCarrieS2019/03/10 03:11Carrie Underwood is my favourite US singer. She is young, beautiful and charming female in her 30s. Her strong voice takes me away from all issues of this world so I start enjoy my life and listen songs created by her. Now the singer is on a Cry Pretty 360 Tour started in May of 2019. The concerts scheduled for the whole 2019, up to the 31st of October. Tickets are available for all men and women with different income. If you are a country music lover as me, then you must visit at least one Carrie's concert. All tour dates are available at the <a href=https://carrieunderwoodtour.com>Carrie Underwood tour Buffalo</a>. Open the website and make yourself familiar with all Carrie Underwood concerts in 2019!