PDA

View Full Version : (FMX) Easy One I'm sure.



coyotekel
March 3rd, 2003, 01:38 PM
I need the script that closes the current window.

This seems easy enough but for some reason I'm stumped. I've got a help menu that pops up in a new window when the help button is clicked in my movie.

I need to give them a button that when clicked will close the window.

That's it.

Thanks for your time.

CK

lostinbeta
March 3rd, 2003, 01:44 PM
on (release) {
getURL("java<I></I>script:window.close();", "_self");
}

You can call a javascript function from a getURL in Flash.