A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Linking to URL

  1. #1
    Junior Member
    Join Date
    Jan 2007
    Posts
    13

    Linking to URL

    I found the code to link to a URL but every time I try to use it it either doesn't work or I get a blank browser window opening up.

    Anyone have any idea whats wrong with my code?

    This is the code I'm using?

    on(press){
    getURL("www.apple.com/itunes", _blank);
    gotoAndPlay("down");

    }

  2. #2
    An Englishman in Frankfurt Jimbrowski's Avatar
    Join Date
    Nov 2006
    Posts
    240
    Yeah try the full URL...

    getURL("http://www.apple.com/itunes", "blank");

    Jimmy

  3. #3
    Junior Member
    Join Date
    Jan 2007
    Posts
    13
    I thought I had tried that and it didn't work but I just tried it again and it did thanks.

  4. #4
    Senior Member ilive's Avatar
    Join Date
    Aug 2006
    Location
    Philippines
    Posts
    195
    hi flyersun!

    try this..

    getURL("www.apple.com/itunes");
    Last edited by ilive; 02-04-2007 at 11:30 PM.

  5. #5
    Senior Member ilive's Avatar
    Join Date
    Aug 2006
    Location
    Philippines
    Posts
    195
    try this one...

    getURL("http://www.apple.com/itunes", _blank);

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