Flex: 汉字转拼音

Flex中将汉字转换为拼音:

image

使用方法:

			var han2pinyin:HanZi2PinYin = new HanZi2PinYin();
			Alert.show(han2pinyin.toPinyin("汉字"));

HanZi2PinYin类下载:

Box: http://www.box.net/shared/t8ucn0bz4i

代码非本人原创, 出处:http://www.ppzhao.net/index.php/archives/175

This entry was posted in ActionScript, Flex and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>