flash 'target" works on IE, Firefox..not on safari

Discussion in 'Web Design and Development' started by pelsar, Feb 6, 2009.

  1. pelsar macrumors regular

    Joined:
    Apr 29, 2008
    Location:
    israel
    #1
    anybody have any idea why the "target" in flash doesnt work in Safari?
    (the links are in the menus on the upper left of the page

    they go down the page, but in safari they go to the wrong positions.....


    http://www.spinnerdesign.co.il/portfolio.html

    the coding is:


    on (rollOver) {gotoAndPlay(2);

    }
    on (rollOut) {gotoAndPlay(21);

    }
    on (press) {
    getURL (unescape("%23")+"myanchornamehere");
    }
     
  2. SrWebDeveloper macrumors 68000

    SrWebDeveloper

    Joined:
    Dec 7, 2007
    Location:
    Alexandria, VA, USA
    #2
    window.

    Seems older versions of Safari is rather buggy in this regard, so alot of the advice on the Internet seems to center around upgrading to latest Flash/browser or positioning the browser before jumping to the anchor, i.e.

    getUrl ("javascript:window.scrollTo(0,0)")

    Set the first to x offset and second to y offset set to where your anchors live if the page is static. I'd wait for others to reply, this solution seems pretty pathetic if you ask me.

    -jim
     
  3. pelsar thread starter macrumors regular

    Joined:
    Apr 29, 2008
    Location:
    israel
    #3
    the update didnt work (safari) and i agree the solution seems pathetic....i would think this is basic problem......
     

Share This Page