A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8] Editing the functions of the window close button

  1. #1
    Junior Member
    Join Date
    Nov 2006
    Posts
    18

    [F8] Editing the functions of the window close button

    I am not sure if this is possible so feel free to laugh at me if this sounds stupid.

    I am making a flash application that will be exported as a flash executable (.exe).

    I wondered if it would be possible to make it so that when the user clicks the window close or cross button in the top right of the application it would open up a webpage.

    Many thanks for any help you can provide.

  2. #2
    Banned deepakflash's Avatar
    Join Date
    Aug 2007
    Location
    [Object not found]
    Posts
    1,160
    possible. Just try this.
    PHP Code:
    closeButton.onPress = function() {
        
    getURL("http://www.yahoo.com");
        
    fscommand("quit""");
    }; 

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