Skip to main content
Participant
Jul 24, 2009 9:28 AM UTC
Answered

TextLayout fontFamily Issue

I am not English,Please just look at,Thanks

CS4.0


import flashx.textLayout.formats.CharacterFormat;

var cf:CharacterFormat = new CharacterFormat();
cf.fontFamily = _font;

Initialization is no problem,However, when the choice to change the text, always change the default font, and also can not be changed more than style,I would like to ask how the thing ah?

This topic is closed to new replies. Start a new post to keep the conversation going.
rdermerCorrect answer
Inspiring
Jul 24, 2009 9:45 PM UTC

More information would help.  Can you post an ActionScript program to demonstrate your problem?

5 replies

ChinaLungAuthor
Participant
Jul 25, 2009 1:57 AM UTC

I can not upload attachments, what compression tool,7z and rar?

Translate
ChinaLungAuthor
Participant
Jul 25, 2009 1:37 AM UTC

problem  in MyText.as class,the first 277 lines

Translate
ChinaLungAuthor
Participant
Jul 25, 2009 1:32 AM UTC

The following is a procedure written in a bit chaotic

problem  in MyText.as class,the first 277 lines

Translate
ChinaLungAuthor
Participant
Jul 25, 2009 1:26 AM UTC

The following is a procedure

Write a bit of chaos

Translate
rdermerCorrect answer
Inspiring
Jul 24, 2009 9:45 PM UTC

More information would help.  Can you post an ActionScript program to demonstrate your problem?

Translate