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 = "<b>Chargement en cours...</b>";
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