看板 Flash 關於我們 聯絡資訊
比如說現在有一個網址http://abc.com連線之後 會轉導向到另一個網址http://efg.com 現在我想取得轉導向後的網址 我知道http://efg.com會放在header field 想請問一下 AS3.0中 是否有能夠取得header field 的function呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 122.116.0.100
cjcat2266:用URLLoader去載入html,然後用XML去解析它 09/21 22:56
cjcat2266:應該就可以抓出你說在header field裡面的資料 09/21 22:57
ybite:如果你說的header是HTTP header,Try httpStatus event 09/21 23:25
ybite:HTTPStatusEvent class中就有responseHeaders 09/21 23:25