Sunday, March 28, 2010

Close a IE windows actionscript

hey there,

im trying to make a a delay and close pop up on action script

i was making it like this:

} else if (cmd == ''im'') {
?if (txt.length == 1) {
?_root.app_There.invokeHook(''/mainMenu/People/IM/activate'');
?} else {
?_root.There_Browser(''http://webapps.prod.there.com/onlinebuddies/call?invitedname=''+txt.slice(1).join (''''),false);
?This.Stop();
?Pause = function () {
?play();
?clearInterval(pausei);
?this.window.close();
?};
?Pausei = setInterval(pause, 100);
?}// end else if

but it dosent close the browser

i tryed:

getURL(''javascript:window.close()'');

but cant make it work...

thank you

Close a IE windows actionscript

you can only close windows that have been opened with javascript.

No comments:

Post a Comment