Return to Snippet

Revision: 19777
at October 30, 2009 12:21 by Nek


Initial Code
input.onSetFocus = function(old:TextField):Void  {
			 Selection.setSelection(0, 0);
			 var lo:Object = new Object();
			 lo.tf = this;
			lo.onMouseUp = function() {
				trace(this.tf);
				Selection.setSelection(0, this.tf.text.length);
				Mouse.removeListener(this);
			};
				Mouse.addListener(lo);
		 };

Initial URL


Initial Description


Initial Title
Make text field content selected and drop selection from the text field selected before. For AS2

Initial Tags


Initial Language
ActionScript