GGshow reloaded GGshow reloaded

February 9, 2008

GG Chinese Text Converter v1

GG Chinese Text Converter is a free flash AS2 Chinese Simplified/Traditional text converter component.

GG Chinese Text Converter can converts text from Chinese Simplified to Chinese Traditional, or Chinese Traditional to Chinese Simplified.

s2t() & t2s() functions

trad_txt.text = componentInstance.s2t(simp_txt.text);
simp_txt.text = componentInstance.t2s(trad_txt.text);

Example:

my_btn.onPress = function() {
    trad_txt.text = my_cconv.s2t(simp_txt.text);
};

Demo:

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)
Filed under: ActionScript,Flash Platform,GG's Flash Extensions — Tags: , , — GG @ 7:32 pm

© 2024 GGSHOW | Powered by WordPress