html (propriété TextField.html)

public html : Boolean

Indicateur qui signale si le champ texte contient une représentation HTML. Si la propriété html est true, le champ texte est un champ texte HTML. Si html est false, le champ texte n'est pas un champ texte HTML.

Disponibilité : ActionScript 1.0 ; Flash Lite 2.0

Exemple

L'exemple suivant crée un champ texte qui définit la propriété html sur true. Le texte au format HTML s'affiche dans le champ texte.

this.createTextField("my_txt", this.getNextHighestDepth(), 10, 10, 160, 22);
my_txt.html = true;
my_txt.htmlText = "<b> this is bold text </b>";

Voir aussi

htmlText (propriété TextField.htmlText)