I don´t know how to clear cookies from a HMTLLoader object. My application opens a login third part website and detect if you logged in successfuly. Here is when the third part website creates the cookies, but I have not idea how to clear or delete this cookie when the user log out the tool. Thanks for your help! Here is my code: import flash.html.HTMLLoader; import flash.events.Event; import flash.net.URLLoader; import flash.net.URLRequest; import flash.net.URLRequestHeader; import flash.net.URLRequestMethod; import flash.net.URLVariables;
var myHtml:HTMLLoader=newHTMLLoader(); var requests:URLRequest=newURLRequest("login url"); myHtml.width = stage.stageWidth; myHtml.height = stage.stageHeight; myHtml.load(newURLRequest("login url")); myHtml.addEventListener(Event.LOCATION_CHANGE, read_request);
function read_request(evt:Event):void{ var loader =newURLLoader(); configureListeners(loader); requests.method =URLRequestMethod.POST; loader.load(requests); }...
|