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 = new HTMLLoader(); var requests:URLRequest = new URLRequest("login url"); myHtml.width = stage.stageWidth; myHtml.height = stage.stageHeight; myHtml.load(new URLRequest("login url")); myHtml.addEventListener(Event.LOCATION_CHANGE, read_request);
function read_request(evt:Event😞void { var loader = new URLLoader(); configureListeners(loader); requests.method = URLRequestMethod.POST; loader.load(requests); }...
|