A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Close browser window script

  1. #1
    Junior Member
    Join Date
    Aug 2000
    Posts
    5
    I'm looking for an actionscript or java script that I can insert into my flash swf file or html doc file that will close the browser window after the flash movie has played.

  2. #2
    Senior Member SJT's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    2,563
    Put this on a button or in the last frame of your movie...
    getURL("javascript:self.close();");

  3. #3
    Junior Member
    Join Date
    Aug 2000
    Posts
    5

    Smile Gracias

    SJT,
    You da bomb! It worked beautifully!

  4. #4
    Senior Member SJT's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    2,563
    My pleasure

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