可用性
Flash Player 6
Flash Media Server MX(不是必需的)
用法
public static useCodepage : Boolean
描述
public static useCodepage : BooleanFlash Media Server ActionScript代码中设置了System.useCodepage
= true
描述Flash Media Server以UTF-8格式发送文本。如果你在你的ActionScript代码中设置了System.useCodepage= true的话,则你的通讯应用程序可能无法正常工作。值true将导致Flash Player把所有的文本都视为基于终端用户的代码页,就像在Flash Player的早期版本中那样。但不管怎么说,Flash Player将依然会发送UTF-8编码的文本到Flash Media Server,并且所有从这个服务器接收的文本也都是UTF-8编码的。在一个Flash Media Server应用程序中设置System.useCodepage = true将很可能会导致不可预期的行为并产生巨大的阻碍。例如,文本可能无法适当的发送到服务器和从服务器接收。