A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Close Browser window

  1. #1
    Member
    Join Date
    May 2000
    Posts
    34

    Close Browser window

    I have created a flash site when you click on a pop up window its centered in the middle of the screen. I can't seem to figure out how to close the window when I click in the browser window. You can see the draft of the site at Spirit Beanies click on Samples then Styles choose anyone of the caps. They all appear in the center of the screen. So I want people to have the ability to click on a cap & it closes the previous cap opened or just close the browser without clicking on the X in the upper right hand corner of the browser window.

    Thanks in advance for the help.

    Deb

  2. #2
    Senior Member nepdude's Avatar
    Join Date
    Feb 2001
    Location
    Canada
    Posts
    960

    Re: Close Browser window

    create an invisible button as large as that movie and then insert this action

    on(release){
    geturl("javascript:window.close()");
    }
    nObOdY dIeS A vIrGiN,
    LIfE sCrEwS uS aLL

  3. #3
    Member
    Join Date
    May 2000
    Posts
    34
    thanks for the help. It worked great.

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