Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

getURL, _blank, force new window

Posted on 2008-06-13
4
Medium Priority
?
728 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 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
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 what frame rate is, how to control it and what effect it has on the video.
Suggested Courses

877 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