我有以下ActionScript代码:
import flash.external.*
public function req(temp:Object):void{
var request:URLRequest=temp as URLRequest; // request is then null
}
ExternalInterface.addCallback('call',req);
和下面的JavaScript代码
document.getElementById('flash').call(({url:"http://ytrezq.sdfeu.org/flashredirect/?https://chromium-review.googlesource.com/accounts/self/profile",digest:null,method:"DELETE",requestHeaders:null,data:null,contentType:null}));
还是可以将JavaScript对象从JavaScript转换为Urlrequest?如果不是,如何从ActionScript中做到这一点? 请注意,我对保留原始JavaScript对象不感兴趣...