Loading:


    TextFormat kerning [AS 2]

    Klasa: TextFormat

    Kompatybilność: ActionScript 1.0, Flash 6+

     

    Wartość logiczna, określająca czy kerning ma być włączony.

     

    Kerning wkłada wcześniej określoną ilość bialego miejsca, pomiędzy odpowiednimi znakami (pary znaków), aby poprawić odczytywanie. Domyślnie wynosi FALSE.

     

    Kerning jest wspomagany tylo dla osadzonych cziconek.



    Napisz Artyku³

    Listing

    var fmt1:TextFormat = new TextFormat();
    fmt1.font = "Font 1";
    fmt1.size = 50;
    fmt1.color = 0xFF0000;
    fmt1.kerning = false;

    var fmt2:TextFormat = new TextFormat();
    fmt2.font = "Font 1";
    fmt2.size = 50;
    fmt2.color = 0x0000FF;
    fmt2.kerning = true;

    this.createTextField("tf1", this.getNextHighestDepth(), 10, 10, 400, 100);
    tf1.embedFonts = true;
    tf1.text = "Text 7AVA-7AVA";
    tf1.setTextFormat(fmt1);

    this.createTextField("tf2", this.getNextHighestDepth(), 10, 40, 400, 100);
    tf2.embedFonts = true;
    tf2.text = tf1.text;
    tf2.setTextFormat(fmt2);
     




    Dodano przez: divix
    Ranga: Administrator serwisu Punktów: 0
    Komentarze użytkowników
      • Tre¶æ komentarza
        Kod do komentarza (opcjonalnie)
        PHP JavaScript MySQL Smarty SQL HTML CSS ActionScript
        Autor
        Token
        token

         

         








    funkcje.net
    Wszelkie prawa zastrzeżone©. | Funkcje.net 2008-2025 v.1.5 | design: diviXdesign & rainbowcolors