Problem closing application
Hi,
We're using FL4 on Symbian^3 and recently ported our app to E6 platform. App is packed in a WRT widget. While closing app we're using this code in FL4
[CODE]btnExit.addEventListener(MouseEvent.CLICK,
function(e:MouseEvent):void {
var u:URLRequest = new URLRequest("javascript:exitApp();");
navigateToURL(u);
}
);
[/CODE]
exitApp() is defined in WRT side as follows:
[CODE]function exitApp() {
if (confirm("Close App?")) {
window.close();
}
}
[/CODE]
Now, this works in C7 S^3, but not on E6. Does somebody know the problem or should we report a bug?
Re: Problem closing application
try call exitApp from JS and see if it works...
anyway, I use this code to close WRT
[code]
function killWRT(){
var WRT=window.open("", "_top");
WRT.close();
}
[/code]