任何人能够翻译的sIFR成AS3(为连字符和与转换器的帮助下)? [英] Anyone able to translate sIFR into AS3 (for hyphenation and with the help of a converter)?

查看:191
本文介绍了任何人能够翻译的sIFR成AS3(为连字符和与转换器的帮助下)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一件事情问了很多与sIFR的是断字。

One thing asked for a lot with sIFR is hyphenation.

现在我几乎与整合Hyphenator.as http://vis4.net解决了它/博客/ 2010/05 / AS3-断字/

Now I almost solved it with integrating Hyphenator.as http://vis4.net/blog/2010/05/as3-hyphenation/.

唯一的问题是,Hyphenator.as是写在AcionScript 3,而sIFR的是在ActionScript 2。

The only problem is that Hyphenator.as is written in AcionScript 3, while sIFR is in ActionScript 2.

我发现了一个AS2到AS3转换www.5etdemi.com/blog/archives/2006/11/as2-to-as3-converter-createtextfield-geturl-handling/但结果exam​​ples.bezel.be/sIFR-as3 。至于还没有成型。

I found an AS2 to AS3 converter www.5etdemi.com/blog/archives/2006/11/as2-to-as3-converter-createtextfield-geturl-handling/ but the result examples.bezel.be/sIFR-as3.as is not working yet.

任何人都能够有助于使断字的工作sIFR的?

Anyone able to contribute to making hyphenation work in sIFR?

(很抱歉的链接,但古怪的我只允许发布的一环。真奇怪。)

(Sorry for the links, but weirdly I am only allowed to post one link. Really weird.)

推荐答案

可惜这不是那么容易。 AS2和AS3基本上是不同的语言,不同的API到Flash Player。它不只是一个简单的重命名或不同的语法,根本出路很多东西的工作发生了变化。

Unfortunately it's not that easy. AS2 and AS3 are substantially different languages, with different API's into the flash player. It's not just a simple renaming or different syntax, the fundamental way many things work has changed.

为什么需要断字的sIFR那样?我想sIFR那样的点是为标题,事情不应该包裹摆在首位,而不是文字大块。

Why do you need hyphenation for sIFR? I thought the point of sIFR was for headings, things that shouldn't be wrapping in the first place, and not for big blocks of text.

这篇关于任何人能够翻译的sIFR成AS3(为连字符和与转换器的帮助下)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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