Closing webpage from flash

Hello,

I need to get a script that closes the webpage that a flash file resides from the flash program.

I always see this code:

Code:
[LEFT]

on( release ){ getURL(“javascript:window.close()”); }

When I try this it never works.

Any ideas?[/LEFT]

Thanks,
Clem C