dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: call JavaSkript

  1. #1

    call JavaSkript

    Hey there!

    How can I call the JavaScript Window Close in a button?
    Thanks
    Dirk

  2. #2
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    To close the current window

    on (release) {
    getURL("javascript:self.close();");
    }

    or (if the page conatining the movie is part of a frameset)

    on (release) {
    getURL("javascript:parent.close();");
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center