不推荐使用 TLF(文本布局框架),现在该怎么办? [英] The TLF (Text Layout Framework) is deprecated, what to do now?

查看:35
本文介绍了不推荐使用 TLF(文本布局框架),现在该怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Text Layout Framework 已弃用,该功能在 Flash Professional CC 中将不可用.如果使用 Flash Pro CC 打开包含 TLF 文本的 FLA 文件(以前使用旧版 Flash Professional 保存),则 TLF 将被转换到经典文本.有关详细信息,请参阅这篇文章."

"The Text Layout Framework is deprecated and the functionality will be unavailable with Flash Professional CC. If a FLA file containing TLF Text, previously saved with an older version of Flash Professional, is opened with Flash Pro CC, then TLF is converted to Classic Text. For more information, see this article."

好的.

现在呢??我们需要使用阿拉伯语(希伯来语...)字体,我们是不是永远都被 Flash CS6 困住了??

And now what?? we need to use Arabic(Hebrew...) fonts, are we stuck with Flash CS6 for ever??

推荐答案

我使用了一个技巧,它有效

I used a trick and it works

1- 从 flash cs6 或 cs5(支持 tlf 文本)复制两个 (.swc) 文件

1- Copy two (.swc) files from flash cs6 or cs5 (support tlf text)

  • textLayout.swc

  • textLayout.swc

tlfruntime.swc

tlfruntime.swc

2- 将它们粘贴到 (Adobe Flash CC \Common\Configuration\ActionScript 3.0\libs)

2- Paste them into( Adobe Flash CC \Common\Configuration\ActionScript 3.0\libs)

3- 重启闪存

4- 使用 TLFTextField 方法

4- Use the TLFTextField method

      import fl.text.TLFTextField;

      var txt:TLFTextField = new TLFTextField ;
      txt.text = "النص العربي";
     addChild(txt);

5- 确保将字体嵌入到库中.

5- Make sure to embed font to the library .

这篇关于不推荐使用 TLF(文本布局框架),现在该怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆