TextFormat color [AS 2] 
Klasa: TextFormat
Kompatybilność: ActionScript 1.0, Flash 6+
Określa kolor wypełnienia tekstu.
Liczba zawiera trzy 8-bitowe RGB komponenty; na przykład, 0xFF0000 to czerwony, oraz 0x00FF00 to zielony.
Listing
var moj_fmt:TextFormat = new TextFormat();
moj_fmt.blockIndent = 20;
moj_fmt.color = 0xFF0000; // hex dla czerwonego
this.createTextField("moj_txt", 1, 100, 100, 300, 100);
moj_txt.multiline = true;
moj_txt.wordWrap = true;
moj_txt.border = true;
moj_txt.text = "this is moj first test field object text";
moj_txt.setTextFormat(moj_fmt);
 
        	moj_fmt.blockIndent = 20;
moj_fmt.color = 0xFF0000; // hex dla czerwonego
this.createTextField("moj_txt", 1, 100, 100, 300, 100);
moj_txt.multiline = true;
moj_txt.wordWrap = true;
moj_txt.border = true;
moj_txt.text = "this is moj first test field object text";
moj_txt.setTextFormat(moj_fmt);
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
        
    

 
  
				

 
                             
 


 
                        
 
		 
	