Blog

4457 search results for:

4435

Afrikaans Language translation

/ in Blog / by tina
Afrikaans is on of the two official languages spoken in South Africa (the other one is English). It belongs to the Germanic branch of the Indo-European language family, distributed in…
4436

Flash as3嵌入中文字体的方法

/ in Blog / by sophie
最近有时间爱钻研flash,在钻研的时候,碰到要输入文本,Flash的输入文本默认下是只能显示设备字体。连系统内的字体都不能设置,必须要嵌入才能输入。查了不少的资料,都不能解决,经过多方摸索和查找资料,终于整出了自己的一套思路.感觉还实用. 其实在as2的时代,可以用加载字体库的方式来解决,Adobe官方的解释太烦琐了,其实总结起来就是一个替换字体的事,就是把外部库的自定义字体替换当前的输入字体。 例如如下: 如果是as2的话,新建一个Fla文件share.fla, 然后在库里新建一个字体文件,然后设置他的标识为MyFont,随便选择系统内的一种字体,然后选择linkage里的导出as,导出runtime sharing,导出第一帧,然后在url处填写share.swf,然后编译成share.swf 下载 (44.05 KB) 7 天前 14:45 然后新建主文件main.fla,同样在库里新建一个字体文件,然后设置他的url为share.swf,这样他就共享了share.swf里的字体文件,可以在场景里放一个textinput文件来做测试 这样嵌入字体的工作就完成了,as3文件不同的地方在于没有标识这个东西了,那我们在aa.swf(就是上面的share.swf)里设置Classname为自定义的字体名字zhr_font,然后在Main文件里也设置成zhr_font的ClassName 下面我们要说的是如何用程序来实现as3的中文动态嵌入加载,查了网上的一些资料,老外的做法是新建一个类,然后在类里直接嵌入到这个font,然后最通过加载这个share.swf,然后反射出这个Font类,再注册一次使用,经过多次试验,发现这样的做法英文是可以的,如果是中文,在编译share.swf的时候会报错. 嵌入字体库文件类 package { import flash.display.Sprite; public class FontLibrary extends Sprite { [Embed(systemFont=’Bank Gothic’, fontName=’emBank Gothic’,…
4437

Professional Swahili Language translation

/ in Blog / by peggie
Are you finding it hard to get a professional Swahili translator? Swahili (which is known as Kiswahili in Swahili language) is a Bantu language. It is spoken as a native…
4438

Lietuviu Kalba Language language

/ in Blog / by annie
Lietuviu Kalba Introduction and History Lietuviu Kalba (also known as Lithuanian) is the official language of Lithuania and is also recognized as one of the official languages of the European…
4439

French Video Game Market

/ in Blog / by david
The video game industry is an important part of the French economy and culture and is gradually entering the daily life of French society. According to French public opinion survey…
4440

Mysql数据库安全注意事项

/ in Blog / by mickle
最近想深入学习一下mysql,在网络上看到一篇关于使用MySQL时应该注意的事项的文章,觉得写的很不错,自己感触颇深,特拿出来和大家共同学习一下。在web开发的过程中数据库显得尤为重要,mysql又是我们使用的最为广泛的一种数据库,但是平时写代码的时候对mysq安全问题不是很注意,因此希望把它放到博客中时刻提醒自己。 以下是MySQL提示的23个注意事项: 1. 如果客户端和服务器端的连接需要跨越并通过不可信任的网络,那么就需要使用SSH隧道来加密该连接的通信。 2. 用set password语句来修改用户的密码,三个步骤,先“mysql -u root”登陆数据库系统,然后“mysql> update mysql.user set password=password(’newpwd’)”,最后执行“flush privileges”就可以了。 3. 需要提防的攻击有,防偷听、篡改、回放、拒绝服务等,不涉及可用性和容错方面。对所有的连接、查询、其他操作使用基于ACL即访问控制列表的安全措施来完成。也有一些对SSL连接的支持。 4. 除了root用户外的其他任何用户不允许访问MySQL主数据库中的user表; 加密后存放在user表中的加密后的用户密码一旦泄露,其他人可以随意用该用户名/密码相应的数据库; 5. 用grant和revoke语句来进行用户访问控制的工作; 6. 不使用明文密码,而是使用md5()和sha1()等单向的哈系函数来设置密码; 7. 不选用字典中的字来做密码; 8. 采用防火墙来去掉50%的外部危险,让数据库系统躲在防火墙后面工作,或放置在DMZ区域中; 9. 从因特网上用nmap来扫描3306端口,也可用telnet server_host…

Need Translation Service?

Please enter your personal details and we will contact you shortly.