A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: getURL, _blank, force new windows?

  1. #1
    Senior Member
    Join Date
    Feb 2002
    Location
    uk
    Posts
    222

    getURL, _blank, force new windows?

    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.

  2. #2
    http://www.in3d.eu Kostas Zotos's Avatar
    Join Date
    Jul 2007
    Location
    Athens - Greece
    Posts
    408
    Hi,

    Normally the target window should be quoted string "_blank", otherwise it considered a variable..

    Try this:
    Code:
    on (release) {
    	getURL('http://www.domain.co.uk/', "_blank");
    }
    Maybe this solves the problem.

    Kostas
    K. Zotos online portfolio: http://www.in3d.eu

  3. #3
    Senior Member
    Join Date
    Feb 2002
    Location
    uk
    Posts
    222
    Our, simple error.

    Many thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center