Use object tags
<Object classid = "CLSID: D27CDB6E-AE6D-11cf-96B8-444553540000"
Id = "Index" width = "1000" Height = "600"
Codebase = "http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
<Param name = "src" value = "***. SWF"/>
<Param name = "quality" value = "high"/>
<Param name = "bgcolor" value = "#869ca7"/>
<Param name = "allowfullscreen" value = "true"/>
<Param name = "allowScriptAccess" value = "samedomain"/>
<Param name = "wmode" value = "window"/>
<Embed src = "***. SWF" Quality = "high" bgcolor = "#869ca7"
Width = "1000" Height = "600" name = "Index" align = "Middle"
Play = "true"
Loop = "false"
Quality = "high"
AllowScriptAccess = "samedomain"
Allowfullscreen = "true"
Type = "application/X-Shockwave-flash"
Wmode = "window"
Pluginspage = "http://www.adobe.com/go/getflashplayer">
</Embed>
</Object>
Note: In this code, you must set the value of wmode to window. Otherwise, you cannot directly enter Chinese characters in the input box while compiling a website using Flex, but directly display them in HTML.