Drunken

are you testing this from within flash? because technically flash isn’t a browser so it won’t close.

try publishing it then test it. I just did and it works fine.