link going to wrong url

Discussion in 'HTML & Website Design' started by bnicolet, Nov 26, 2009.

  1. #1
    i have a link in flash that is when online and clicked is going to the wrong url. any suggestions?
    brent
     
    bnicolet, Nov 26, 2009 IP
  2. jwitt98

    jwitt98 Peon

    Messages:
    145
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    there are 3 types of path links:
    document relative
    root relative and
    absolute

    If you want to always make sure your link works, try using an absolute path for your link like so:
    http://www.yoursite.com/path/to/page where yoursite.com is the actual name of the site and /path/to/page is the path on the web server to the page you're linking to.

    Of course if the path on the server ever changes (you move the directory for example) even the absolute link will break.
     
    Last edited: Nov 26, 2009
    jwitt98, Nov 26, 2009 IP
  3. dabzo

    dabzo Peon

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    or if it's within your actual flash file and it's a flash-site / going to the wrong scene or place in the timeline... try double checking your stop(); funtions in actionscript.
     
    dabzo, Nov 26, 2009 IP