在 Flash 中显示 XML 文件中的双向多行文本

发布于 2024-08-08 12:25:01 字数 832 浏览 4 评论 0原文

我被要求添加对基于 xml 的网站的支持。我一直在研究它,并意识到它不会很简单。在描述所使用的产品时,文本中确实有英文短语。

经过一些研究,我发现 CS3 不“支持”rtl 文本。我还读到 CS4 增加了支持,这值得研究吗?我读到它是越野车。

我发现 FlarabySWF 的作用是什么我想我追求的是,​​但不是我需要的所有语言,而且只是在设计时而不是运行时。

我还找到了 Gchats TextBox 3.0.0 但这似乎不起作用。

我还找到了一些使用 CSS 的解决方案,但这些似乎不适用于多行文本。请参阅此示例。它也不起作用,因为我试图显示的文本是双向的..

其实,导入阿拉伯文文本不是问题,但处理同一行内的阿拉伯文和英文双向文本就是一个大问题。

谁能为我提供有关最佳方法的建议?

我正在使用 Flash CS3 和 AS3 进行开发。

谢谢。

I have been asked to add support to a xml based website. I have been looking into it and have realised that it is not going to be very straight forward. The text does have english phrases in when describing products being used.

After doing some research I have found that CS3 does not 'support' rtl text. I also read that CS4 has added support, is this worth looking into? I read that it was buggy.

I found FlarabySWF which does what I think I am after, but not for all the languages I need, and only at design time rather than runtime.

I also found Gchats TextBox 3.0.0 but this didn't seem to work.

I also found some solutions using CSS, but these didn't seem to work with multiline text. See this example. It also didn't work as the text I am trying to display is bi-directional ..

Actualy, importing Arabic text is not a problem, but dealing with bidirectional text of Arabic and English within the same line is a big one.

Can anyone offer me any advice on the best way of doing it?

I am developing using Flash CS3 and AS3.

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

爱她像谁 2024-08-15 12:25:01

我认为您将需要使用 Flash Player 10 引入的新文本引擎 (Flash CS4)。我不知道以前版本有任何解决方案,并且我非常怀疑是否有解决方案,特别是对于动态文本。

新的文本引擎非常强大,但也很难使用,所以在决定任何事情之前一定要深入研究它的实现......我会给你留下一些链接:

http://labs.adobe.com/technologies/textlayout/

http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/text /engine/package-detail.html

http: //www.slideshare.net/MatthewFabb/overview-of-text-layout-framework-presentation

I think you will need to use the new text engine that Flash Player 10 introduced (Flash CS4). I'm not aware of any solutions for previous versions, and I highly doubt there are, specially for dynamic text.

The new text engine is very powerfull, but also very hard to use, so be sure to have a deep look into its implementation before deciding anything... I'll leave you with a few links:

http://labs.adobe.com/technologies/textlayout/

http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/text/engine/package-detail.html

http://www.slideshare.net/MatthewFabb/overview-of-text-layout-framework-presentation

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文