Просмотр полной версии : копирование выделенного текста в textField
Как программно записать в переменную из textField выделенный текст?
bicubic_bublic
05.12.2009, 04:24
var selectedText:String = textField.text.substring(textField.selectionBeginIndex, textField.selectionEndIndex);
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/text/TextField.html
Работает на vBulletin ® версия 3.7.3. Copyright ©2000-2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Copyright © 1999-2008 Flasher.ru. All rights reserved.