How to Open a New Window in Flash?

Discussion in 'HTML & Website Design' started by Roobaroo, Jul 4, 2008.

  1. #1
    I'm using Macromedia Flash 8, how do I make a link appear in new window when clicked? I'm a novice at flash so please provide some steps for it.

    Thanks :)
     
    Roobaroo, Jul 4, 2008 IP
  2. Kirkbride

    Kirkbride Peon

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm assuming you already know how to make a link in Flash...

    To make one open in a new window, just add "_blank" to the link ActionScript, like so:

    on (release) {
    getURL("http://www.whatever....", "_blank");
    }
     
    Kirkbride, Jul 4, 2008 IP
  3. mmkrulz

    mmkrulz Peon

    Messages:
    197
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    which version of flash? which version of Action script? 1 and 2 are very different from three. (3 was introduced by adobe, i believe, so hence its a complete overhaul).
     
    mmkrulz, Jul 4, 2008 IP
  4. Roobaroo

    Roobaroo Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Macromedia Flash 8, Action Script 2.0.
     
    Roobaroo, Jul 4, 2008 IP
  5. Rubenator

    Rubenator Peon

    Messages:
    40
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Follow Kirkbride's code to achieve a new browser window. If you want to have more control over the location, size, visible bars, etc play with this:

    http://www.flash-db.com/PopUp/

    When you are happy with the results, just copy&paste the code provided below.
     
    Rubenator, Jul 4, 2008 IP