Welcome to TalkGraphics.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2001
    Location
    Argentinian (in Montreal)
    Posts
    46

    Default

    Hi everybody,
    I have a difficult question.

    I have a popup that contains a Flash animation.
    I dont know how to:

    1- (with actionscript) close this popup.

    2- (with actionscript) re-direct
    the main window who has made the popup
    to another url.

    Anyone have idea?

    Thanks.
    IP

  2. #2
    Join Date
    Jun 2001
    Location
    Argentinian (in Montreal)
    Posts
    46

    Default

    Hi everybody,
    I have a difficult question.

    I have a popup that contains a Flash animation.
    I dont know how to:

    1- (with actionscript) close this popup.

    2- (with actionscript) re-direct
    the main window who has made the popup
    to another url.

    Anyone have idea?

    Thanks.
    IP

  3. #3

    Default

    So here is two ways you can close a window using javascript.

    if you want to close the window your movie is on you can use either one of these codes. if you need to close a pop up window. you have to refere to it in the code as in : javascript:"name".close()

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


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

    good luck =)
    architazz
    IP

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •