---
title: "在AIR中的TextInput不能输入中文的解决办法"
author: "godlogin"
date: "2013-07-27T09:34:54Z"
tags: []
categories: ["编程语言"]
slug: "air-textinput"
draft: false
lastmod: "2013-07-27T09:34:54Z"
id: 1914243
url: "https://godlogin.iteye.com/blog/1914243"
---

在AIR中的TextInput不能输入中文时，有两种方法：
方法一：<s:TextInput /> 改为<mx:TextInput />
方法二：加入事件  focusIn="{IME.enabled=true}"