0

as3 POST 值到 C#,C# 返回值

          Response.ContentType = "text/plain";
          HttpContext.Current.Response.Write("OK");

这是as3代码。

private function loader_onComplete(event:Event):void
    {
        var loader:URLLoader=event.target as URLLoader;
        var processor:Object=loaderMap[loader];
        var dataStr:String = loader.data as String;
                    ...
             }

但是 dataStr 值是

数据Str = OK

!DOCTYPE html html xmlns="http://www.w3.org/1999/xhtml" (head)(meta http-equiv="Content-Type" content="text/html; charset=utf-8" /) (标题)

我如何在没有 HTML 标签的情况下获得值..只需“OK”..谢谢...

4

0 回答 0