What function in AS3 to close Adobe Flash Player window and open new a one?

Just an idea then, and someone very advanced out there must know how?

I want to call a function on a button in AS3 in a .swf that is opened on a computer locally in Adobe Flash Player, to be able to close the Adobe Flash Player window and then cause another .swf to open from the same folder in a new Adobe Flash Player window. Is this at all possible?

Thanks real brain twister.

Angelcrazy.