dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: --> Close Window (Urgent need!!!)

  1. #1
    Junior Member
    Join Date
    Aug 2000
    Posts
    5
    Please Guys!

    How can I close a browser window with flash???

    Thank you!

    meta.pyr.

  2. #2
    Senior Moderator
    FKs Banning Machine
    GMF 's Avatar
    Join Date
    Feb 2000
    Location
    Oslo, Norway
    Posts
    5,697
    Hey

    Isert this in the html.file :


    **********************
    <script language="JavaScript">
    javascript:function commandclose()
    {
    self.close();
    }
    </script>
    </HEAD>
    <BODY aLink=#003333 bgColor=#003333 link=#003333 onLoad="commandclose();">
    </HEAD>

    ******************************

    Add this action to a Flashbutton : javascript:function commandclose()

    *************************

    Remember that the button must be embeded to the HTML page with the script


    Happy closeing

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