Solved

getURL, _blank, force new window

Posted on 2008-06-13
4
719 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

914 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now