# Chinese text

**URL:** <https://forum.kirupa.com/t/chinese-text/318430>\
**Category:** flash\
**Created:** [January 20, 2011, 4:07am UTC](https://forum.kirupa.com/t/chinese-text/318430 "2011-01-20T04:07:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ohya](https://avatars.discourse-cdn.com/v4/letter/o/fbc32d/32.png) [@ohya](https://forum.kirupa.com/u/ohya)\
**Post date:** [January 20, 2011, 4:07am UTC](https://forum.kirupa.com/t/chinese-text/318430/1 "2011-01-20T04:07:08Z")

</div>

If Chinese text is allowed to type as a condition for other action, how do I tell flash to recognise the Chinese character?

My code :  
btn.onPress=function(){if(word.text==“爸爸”){message=“yes”;}else{gotoAndStop(2)}};
