Adobe Extending Flash Professional CS5 Instrukcja Użytkownika Strona 468

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 565
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 467
446
EXTENDING FLASH PROFESSIONAL
Text object
Last updated 5/2/2011
Description
Property; a zero-based integer that specifies the end of a text subselection. For more information, see
text.selectionStart.
text.selectionStart
Availability
Flash MX 2004.
Usage
text.selectionStart
Description
Property; a zero-based integer that specifies the beginning of a text subselection. You can use this property with
text.selectionEnd to select a range of characters. Characters up to, but not including, text.selectionEnd are
selected. See
text.selectionEnd.
If there is an insertion point or no selection, text.selectionEnd is equal to text.selectionStart.
If text.selectionStart is set to a value greater than text.selectionEnd, text.selectionEnd is set to
text.selectionStart, and no text is selected.
Example
The following example sets the start of the text subselection to the sixth character:
fl.getDocumentDOM().selection[0].selectionStart = 5;
The following example selects the characters Barbara from a text field that contains the text My name is Barbara
and formats them as bold and green:
fl.getDocumentDOM().selection[0].selectionStart = 11;
fl.getDocumentDOM().selection[0].selectionEnd = 18;
var s = fl.getDocumentDOM().selection[0].selectionStart;
var e = fl.getDocumentDOM().selection[0].selectionEnd;
fl.getDocumentDOM().setElementTextAttr('bold', true, s, e);
fl.getDocumentDOM().setElementTextAttr("fillColor", "#00ff00", s, e);
text.setTextAttr()
Availability
Flash MX 2004.
Usage
text.setTextAttr(attrName, attrValue [, startIndex [, endIndex]])
Parameters
attrName A string that specifies the name of the TextAttrs object property to change.
attrValue The value for the TextAttrs object property.
Przeglądanie stron 467
1 2 ... 463 464 465 466 467 468 469 470 471 472 473 ... 564 565

Komentarze do niniejszej Instrukcji

Brak uwag

Dynasty Spas 2000LEM-7 Handbücher

Bedienungsanleitungen und Benutzerhandbücher für Küche Dynasty Spas 2000LEM-7.
Wir stellen 1 PDF-Handbücher Dynasty Spas 2000LEM-7 zum kostenlosen herunterladen nach Dokumenttypen zur Verfügung Bedienungsanleitung


Dynasty spas 2000LEM-7 Bedienungsanleitung (2 Seiten)


Marke: Dynasty-spas | Kategorie: Kitchen | Größe: 0.15 MB |

 

Inhaltsverzeichnis





Weitere Produkte und Handbücher für Küche Dynasty Spas

Modelle Dokumententyp
SC-MP-DY5 Bedienungsanleitung   Dynasty Spas SC-MP-DY5 User Manual, 2 Seiten
2006 Bedienungsanleitung   Dynasty Spas 2006 User Manual, 28 Seiten
SSPA-1 Bedienungsanleitung   Dynasty Spas SSPA-1 User Manual, 2 Seiten
9919-100578-B Bedienungsanleitung   Dynasty Spas 9919-100578-B User Manual, 2 Seiten
MC-MP-CE Bedienungsanleitung   Dynasty Spas MC-MP-CE User Manual, 2 Seiten
in.k600 Bedienungsanleitung   Dynasty Spas in.k600 User Manual, 2 Seiten
MC-MP-DY4 Bedienungsanleitung   Dynasty Spas MC-MP-DY4 User Manual, 2 Seiten
2007 Bedienungsanleitung   Dynasty Spas 2007 User Manual, 28 Seiten
Deluxe System D-1000 Bedienungsanleitung   Dynasty Spas Deluxe System D-1000 User Manual, 33 Seiten
D-3000 Bedienungsanleitung   Dynasty Spas D-3000 User Manual, 33 Seiten
2008 Bedienungsanleitung   Dynasty Spas 2008 User Manual, 28 Seiten
MC-MP-DY2 Bedienungsanleitung   Dynasty Spas MC-MP-DY2 User Manual, 2 Seiten
GS500 Bedienungsanleitung   Dynasty Spas GS500 User Manual, 2 Seiten