Solved

getURL, _blank, force new window

Posted on 2008-06-13
4
720 Views
Last Modified: 2008-06-13
Hi,

I am using this code to open a new window:

on(release){
      getURL('http://www.domain.co.uk/',_blank);
}

In the new window/ site I also have a flash movie which has:

on(release){
      getURL('http://www.domain_two.co.uk/',_blank);
}

but this opens in the same window, and NOT another new window (_blank)

How can I make the buttons ALWAYS open in a new window.

Many many thanks,

Ben.
0
Comment
Question by:socross
  • 2
  • 2
4 Comments
 
LVL 12

Accepted Solution

by:
SamuelRostol earned 500 total points
ID: 21777532
Hi there,

It's easy, just put "" around the _blank, and you're there!

Kindly,
Samuel
on(release){
      getURL('http://www.domain_two.co.uk/', "_blank");
}

Open in new window

0
 
LVL 1

Author Comment

by:socross
ID: 21777619
Ok thanks

Will try it out

Ben
0
 
LVL 12

Expert Comment

by:SamuelRostol
ID: 21777658
Let us know how it works out :)
0
 
LVL 1

Author Comment

by:socross
ID: 21777695
Great works a treat
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Flash movie or gif/animation? 3 891
Crash with shockwave flash 8 244
adobe flash plugin has crashed while listening to pandora 2 69
Download Adobe Flash Player 6 63
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

806 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question