Problème pour choisir police avec actionscript

Résolu
peoplehard Messages postés 26 Date d'inscription samedi 26 avril 2003 Statut Membre Dernière intervention 26 novembre 2008 - 14 août 2006 à 11:17
peoplehard Messages postés 26 Date d'inscription samedi 26 avril 2003 Statut Membre Dernière intervention 26 novembre 2008 - 14 août 2006 à 15:57
Bonjour,
J'aimerai choisir ma police comme ca:
stop();
i = 16;
monformat=new TextFormat();
monformat.size=i;
content.setTextFormat(monformat);
changeSize = function (newSize)
{
    monformat.size = newSize;
    content.setTextFormat(monformat);
}
texte = new LoadVars();
content.htmlText = " Chargement en cours... ";
texte.load("module.php?page =home");
texte.onLoad = function(success)
{
    content.htmlText = texte.var1;
}

Sans loadvars, ca marche bien mais avec le loadvars la police revient a 12 :(.

Merci beaucoup,
Thomas

1 réponse

peoplehard Messages postés 26 Date d'inscription samedi 26 avril 2003 Statut Membre Dernière intervention 26 novembre 2008
14 août 2006 à 15:57
Solution:
utiliser this.createTextField
3
Rejoignez-nous