I am experiencing strange issue with embedded font. So first i do all the things i need to properly embedd my font[font is linked in library]:
//TEXT FORMAT:
var tfrTitle:TextFormat = new TextFormat();
with(tfrTitle){
font = "Tahoma";
size = 14;
color = sColorFont;
}
tTitle.selectable = false;
tTitle.embedFonts = true;
tTitle.text = sTitle;
tTitle.setTextFormat(tfrTitle);
all works the way it’s supposed to work… masking etc. - but if i try to : INSERT [into the timeline where the textfield with imbedded font is placed] ANOTHER keyframe further in time[let’s call it SECOND KEYFRAME]. E.G.:i want to MOVE that textfield from 1 place to another on timeline.
When i view the animation, all works fine UNTIL that textfield reaches the second keyframe [and stops animationing] and DISAPPEARS.
I found out that when i insert into that second frame - ABOVE code - AGAIN, text appears again. It looks like textfield’s AS was reseted or something… heh
Why does this happen? anybody knows?