Solved

getURL, _blank, force new window

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

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

Suggested Solutions

Title # Comments Views Activity
Install adobe flash plugin for Firefox win 7 9 70
Adobe Flash Player ActionScript error 6 66
Java and adobe flash updates 4 51
Actionscript in Flash 3 70
This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

808 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