特殊字符不显示,sifr r436

发布于 2024-07-19 17:41:12 字数 317 浏览 7 评论 0原文

我按照 sIFR wiki 上的解释进行操作,但似乎无法理解要在我的 Flash 影片中显示的重音字符。 我打开“字符嵌入”调色板,将“äÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ”粘贴到“与”号后面的“包含这些字符”字段中,点击“确定”,然后重新导出.SWF。

这些字符仍然没有在我的 sIFR 文件中呈现 - 有什么建议吗? 我正在运行 r436。

I followed the explanation on the sIFR wiki, but can't seem to get accented characters to display in my Flash movie. I opened up the Character Embedding palette, pasted "ÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ" into the "Include these characters" field after the ampersand, hit "OK", then re-exported the .SWF.

The characters still don't render in my sIFR file--any suggestions? I'm running r436.

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

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

发布评论

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

评论(10

寄与心 2024-07-26 17:41:12

您是否尝试过检查“基本拉丁语”或“拉丁语 I”框(仅用于完整性检查?)
我刚刚浏览了我的,我使用“拉丁语 I”。

have you tried checking the 'Basic Latin' or 'Latin I' boxes (just for sanity check?)
I've just looked through mine and I use 'Latin I'.

音盲 2024-07-26 17:41:12

可能是网页/javascript 和 flash 之间的编码没有获取特殊字符 - 您是否调试过 javascript 以查看传入的内容?

[edit]网页编码设置为什么?[/edit]

could be that the encoding between the webpage/javascript and flash isn't picking up the special chars - have you debugged your javascript to see what's being passed in?

[edit] what is the webpage encoding set to?[/edit]

最终幸福 2024-07-26 17:41:12

也许您使用的字体不包含这些字符? 通常,字体仅支持 ascii。

Perhaps the font you're using just doesn't include those characters? Frequently, fonts will support just ascii.

谁人与我共长歌 2024-07-26 17:41:12

正如杰里米所说,我在 sifr 和字符中看到的主要问题是特殊字符不是您正在使用的字体的一部分。

一种测试方法是使用另一种标准字体(例如 arial)运行当前方法,如果它有效,则可能取决于您的字体。

它是什么字体?

其次,在 Flash 内制作字体字形时,您必须更改设置以包含任何外来字符,以确保它们位于字体 Flash 影片内。 大多数非标准字符都被删除,因为它可以减小 swf 字体文件的文件大小。

As jeremy said, the major issue i've seen with sifr and charecters is that special charecters aren't part of the font you are using.

One way to test is run your current method with another standard font such as arial, if it works then it's probably down to your font.

What font is it?

Secondly when making the font glyphs inside flash you have to change the settings to include any foreign characters to insure they are within the font flash movie. most none standard characters are removed as it keeps the file size of the swf font file down.

永不分离 2024-07-26 17:41:12

Unicode 转义序列?

或者也许检查 url 编码图表

Unicode escape sequences?

or maybe check a url encode chart

木森分化 2024-07-26 17:41:12

当您查看生成的源代码(如下)时,您会看到字符正在由 javascript 编码...

content=This%2520is%2520an%2520embedding%2520test%253A%253Cbr%253E%25C3%25C4%25C5%25C6%25C7%25C8%25C9%25CA%25CB%25CC%25CD%25CE%25CF

您可以在文本字段上打开 HTML 来查看它们是否显示吗?

when you view the generated source (below) you'll see that the chars are being encoded by javascript...

content=This%2520is%2520an%2520embedding%2520test%253A%253Cbr%253E%25C3%25C4%25C5%25C6%25C7%25C8%25C9%25CA%25CB%25CC%25CD%25CE%25CF

can you switch on HTML on the text field to see if they show up?

你的往事 2024-07-26 17:41:12

检查拉丁语 我提到了,拉丁语扩展 A、扩展 B 和 Add'l 怎么样? Cmd+单击标点符号、基本拉丁语以及所有其他拉丁语选项可能会为您找到丢失的字符。

Checking Latin I was mentioned, what about Latin Extended A, Extended B and Add'l? Cmd+clicking Punctuation, Basic Latin, plus all of the other Latin options may get you your missing characters.

只为守护你 2024-07-26 17:41:12

我怀疑是Flash的问题。 如果我转到您的示例页面(http://unstoppablerobotninja.com/demos/sifr-encode/< /a>),右键单击 Flash 影片,然后复制到剪贴板,这是输出:

这是一个嵌入测试:
ÊÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
有效吗?

对我来说,这表明角色在 Flash 电影中的结局很好,但他们没有被渲染。

如果您对其他 Flash 影片使用静态发布,Flash 能否渲染这些字符?

I suspect its a problem with Flash. If I go to your example page (http://unstoppablerobotninja.com/demos/sifr-encode/), right-click on the Flash movie, and copy to the clipboard, this is the output:

This is an embedding test:
ÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
Did it work?

Which to me indicates that the characters are ending up just fine in the Flash movie, but they're not being rendered.

Can Flash render these characters if you use static publishing for some other Flash movie?

伏妖词 2024-07-26 17:41:12

尽管该字段设置正确并且需要在该字段中嵌入特定字符,但我对动态文本字段不呈现特殊字符也有同样的问题。

我注意到格式化为粗体显示的 HTML 源文本(即使用 标签)会产生此问题 - 没有粗体的相同文本会导致特殊字符正确呈现(尽管显然不是粗体:)
我尝试了各种方法,包括使用 unicode 参考和导出字体的粗体变体 (Verdana),但没有任何帮助,所以我认为这是一个 Flash bug。

当然,如果您像我一样需要使用粗体字体,知道这一点并不能解决问题 - 我仍在寻找解决方案,如果我找到一些东西,我会回复。

祝你好运 ;)

I have the same problem with a dynamic text field not rendering special characters, despite the field being set up correctly and the specific characters required being embedded in the field.

I noticed that HTML source text which is formatted to appear as Bold (i.e. using tags) creates this problem - the same text without Bold results in the special chars being rendered correctly (although obviously not in Bold :)
I tried various things including using the unicode reference and exporting the Bold variant of the font (Verdana) but nothing helps, so I think it's a Flash bug.

Of course, knowing this doesn't solve the problem if you need to use a Bold font, like I do - I'm still looking for solutions and will post back if I find something.

Good luck ;)

等待我真够勒 2024-07-26 17:41:12

解决粗体问题很容易。 特殊字符不出现完全是另一个问题,也是我们当前遇到的问题。

以下是粗体(和斜体)的处理:

如果您在 HTML 中使用粗体或斜体标签,Flash 不一定会嵌入粗体和斜体版本的字体。 您所要做的就是创建一些隐藏的动态文本字段,其中嵌入了粗体和斜体版本的字体。 这些隐藏的文本字段可以放置在时间线末尾之后的帧中,这样它们就不会在运行时出现。

一个相关的问题是,当您单击属性面板中的 B(粗体)并将 HTML 文本插入到文本字段时(不带 ), 标签。 Flash 会将粗体字体嵌入到 SWF 中,但如果不插入 如果您在文本中添加了 标签,Flash 会使用非粗体字体呈现它(由于未嵌入,因此不会出现)。

不幸的是,我们遇到的情况是,动态文本字段是使用一种字体创建的,如果我们将其更改为任何其他字体,它就不会呈现。 特殊字符(例如 ® 符号)不会呈现,即使它们嵌入到字体中也是如此。
这是 Flash CS3 和 AS2 的情况。

Solving the Bold issue is easy. Special characters not appearing is another problem entirely and one in which we are encountering currently.

Here's the deal with bold (and italic):

If you use bold or italic tags in the HTML, Flash has not necessarily embedded the bold and italic version of the font. What you have to do is create some hidden dynamic text fields that have the bold and italic versions of the font embedded. These hidden text fields can be placed in a frame past the end of the timeline so that they don't appear at runtime.

A related problem is when you click the B (for bold) in the properties panel and insert HTML text into the textfield without a <b> tag. Flash will embed the bold font into the SWF, but if you don't insert the <b> tag in your text, Flash will render it with a non-bold font (which won't appear because it wasn't embedded).

Unfortunately, we have a situation where a dynamic text field was created with one font, and if we change it to any other font, it doesn't render. Special characters, such as the ® symbol, don't render, even though they are embedded in the font.
This is with Flash CS3 and AS2.

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