TextField text [AS 2] 
Klasa: TextField
Kompatybilność: ActionScript 1.0, Flash 6+
Określa aktualny tekst w polu tekstowym.
Linie są oddzielone przez łamiący linie znak ("\r", ASCII 13). Ta właściwość zawiera normalny nie sformatowany tekst w polu tekstowym, bez tagów HTML, nawet jeśli pole tekstowe posiada obsługę HTML.
Listing
this.createTextField("moj_txt", this.getNextHighestDepth(), 10, 10, 400, 22);
moj_txt.html = true;
moj_txt.htmlText = "<B>Lorem ipsum dolor sit amet.</B>";
trace("htmlText: "+moj_txt.htmlText);
trace("text: "+moj_txt.text);
//zwróci
htmlText: <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000" KERNING="0">
<B>Lorem ipsum dolor sit amet.</B></FONT></P>
text: Lorem ipsum dolor sit amet.
        	moj_txt.html = true;
moj_txt.htmlText = "<B>Lorem ipsum dolor sit amet.</B>";
trace("htmlText: "+moj_txt.htmlText);
trace("text: "+moj_txt.text);
//zwróci
htmlText: <P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000" KERNING="0">
<B>Lorem ipsum dolor sit amet.</B></FONT></P>
text: Lorem ipsum dolor sit amet.
Dodano przez: divix  
Ranga: Administrator serwisu Punktów: 0
Ranga: Administrator serwisu Punktów: 0
Komentarze użytkowników
:: Losowe artykuły 

:: Wymiana linków 
    
	Modowe inspiracje |
        Android Gry i Aplikacje |
        ZaplanujTransport.pl: Przeprowadzki, transport, aukcje |
        Logo dla firmy |
        Change Tires - Car Weather Forecast Reminder |
        Laminas: MVC Framework for PHP |
        IT Books Reviews and Programming: JS, JAVA, PHP, ANDROID, CSS | 
        Katalog roślin |
        Programming articles: JAVA, PHP, C++, Python, JavaScript |
        Kancelaria Adwokacka Łukasz Huszno
        
    

 
  
				

 
                             
 


 
                        
 
		 
	