// 创建一个 TextFormat 对象。
var txtFormat:TextFormat = new TextFormat();
// 指定段落和字符格式。
txtFormat.color = 0xFFFFFF;

btnBack.setStyle("textFormat", txtFormat);

相关文章:

  • 2021-11-04
  • 2021-06-07
  • 2021-07-18
  • 2022-02-25
  • 2022-12-23
  • 2021-12-18
  • 2022-12-23
  • 2021-09-05
猜你喜欢
  • 2021-12-24
  • 2021-05-04
  • 2022-12-23
  • 2021-11-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案