First, I am a flash newbie, so I am working with a friend
much better than me at ActionScripting. We are working on a flash
movie with a menu created from instanced movieclips ("synClip").
"synClip" contains 2 buttons showing a selected state (s_synBut)
and an unselected one (u_synBut). Each button has a dynamic
textfield named "titre".
dynamic text is loaded from an .xml (menu.xml).
I put the TextFormat actionscript on the first frame of
"synClip" movieclip. Instances are then made from this movieclip
thanks to the ActionScript present on the first frame of my flash
movie (there is other code/functions there because I cleaned up my
.fla rather roughly before uploading it as a simplified example).
The Action Script on "synClip" is :
var format01 = new TextFormat();
format01.letterSpacing = 3;
format01.font = "Myriad Pro Cond";
format01.color = 0xff0000 ;
But it doesn't work : character kerning is still wrong
I tried also setNewTextFormat but to no avail (also what is
the difference between setNewTextFormat and setTextFormat ?)
I think I won't be successful without some help on this
thing, guys… :/