Re: [Flashcoders] Close current browser from flash without alert message.

2008-06-12 Thread Jer Brand
>> Submitted on: 4/28/2002

I tried it out in FF 2 and IE 6. Looks like the IE version was
exploiting a bug where the HTML help commands could be called from a
browser window.

The "NS" version was just calling self.close().

On Mon, Jun 9, 2008 at 2:18 PM, ACE Flash <[EMAIL PROTECTED]> wrote:
>
> seems only work on IE and NS?? not sure, you may take a look by urself
> http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=2844&lngWId=2
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Close current browser from flash without alert message.

2008-06-11 Thread strk
On Mon, Jun 09, 2008 at 04:42:11PM +0400, natalia Vikhtinskaya wrote:
> Hi
> I want to close my current(main) browser from flash when a new pop up
> browser appears(first page I use for choosing language).
> I use this code for new window:
> getURL ("javascript:window.open('main_eng.html','mainPage','fullscreen=yes,
> scrollbars=no, status=no, menubar=no, titlebar=no, toolbar=no,
> location=no');void(0);");
> As I know it is not possible without alert message if I try to close
> current page. But maybe there is a solution?

No way, I hope, to close a whole browser window.
It's up to the user to decide what to do with her windows.
Please don't use popups at all, replace the page with content as selected
by the language selection thing...

--strk;
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Close current browser from flash without alert message.

2008-06-11 Thread Jer Brand
Let me make sure I understand:  Your user navigates to your page and see a
language selection screen. When they choose a language, you open a new
fullscreen window and close the original browser window (the one with a
back/forward, address bar etc).

If that's what you're needing: There's not a way. Simply put, it's bad form
under most circumstances. If you were to do this, you would erase that
user's history, as well as making it impossible for that user to navigate
away from your site.

Another thing to think of: My browser settings force all "popup" windows to
appear as tabs.  So closing the previous window would also close out your
site (I think I've tried this on accident and it crashed Firefox, but that
may be because of IE view add-on).
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Close current browser from flash without alert message.

2008-06-11 Thread ACE Flash
seems only work on IE and NS?? not sure, you may take a look by urself
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=2844&lngWId=2



On Mon, Jun 9, 2008 at 8:42 AM, natalia Vikhtinskaya <[EMAIL PROTECTED]>
wrote:

> Hi
> I want to close my current(main) browser from flash when a new pop up
> browser appears(first page I use for choosing language).
> I use this code for new window:
> getURL ("javascript:window.open('main_eng.html','mainPage','fullscreen=yes,
> scrollbars=no, status=no, menubar=no, titlebar=no, toolbar=no,
> location=no');void(0);");
> As I know it is not possible without alert message if I try to close
> current page. But maybe there is a solution?
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Close current browser from flash without alert message.

2008-06-09 Thread natalia Vikhtinskaya
Hi
I want to close my current(main) browser from flash when a new pop up
browser appears(first page I use for choosing language).
I use this code for new window:
getURL ("javascript:window.open('main_eng.html','mainPage','fullscreen=yes,
scrollbars=no, status=no, menubar=no, titlebar=no, toolbar=no,
location=no');void(0);");
As I know it is not possible without alert message if I try to close
current page. But maybe there is a solution?
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders