A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Closing Flash Windows inside a movie....

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    25
    Can someone PLEASE help me. I need to create a button within my movie to close the window that it is displying on. (my movie is full screen)

    Can i use the java window.close command, if so how do i get flash to recognise it?

    If anyone knows how to close a window on a button press, please let me know.

  2. #2
    Challenge the Conventional
    Join Date
    Jun 2000
    Posts
    775
    you could call it using a FScommand, but theat would caouse conflicts on the MAC ir version of the flash player.

    Your best bet, is to use the getULR command a link to a JavaSCript command.

    ie.

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

  3. #3
    Junior Member
    Join Date
    Mar 2001
    Posts
    25

    Smile Hurrah !!

    Absolute Stars.... Cheers. Thats gonna save me a lotta hassle

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