Solved

getURL, _blank, force new window

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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…
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…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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.

706 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

14 Experts available now in Live!

Get 1:1 Help Now