Simple question about targeting links.

Ask a Question related to Macromedia Flash, Design and Development.

  1. #1

    Default Simple question about targeting links.

    I am setting up a movie to use as a menu on a website. There is one page
    that has link targets on it, eg: #past. I have buttons in the movie to
    link to the page but haven't been able to figure out the target part. What I
    have for the links is

    on (release) {
    getURL("profile.htm", "mainFrame");
    }

    The link on the .html file is <a name="past" id="past">Past</a>

    How would I get this to link to the id="past", in the above code. The
    profile.htm has several on it that I want to link to. Just need the syntax
    for one please.

    Thanks,

    SL


    Slacker League Guest

  2. Similar Questions and Discussions

    1. Need Simple Answer to Simple Contribute/Firefox question
      Hello all; I've tried the Adobe help in CS3, tech support, phone support, this forum, other forums, Mozilla, and nowhere can I get a straight...
    2. Targeting links in attached movie
      If I attach (and duplicate) a movieclip that contains a button, do I lose events set on that button in those new movieclips?
    3. Targeting of button links inside Movie Clip
      Hey folks, I'm having a bizarre error with this flash site. This is unfinished, but before I got too far along I wanted to figure out what is...
    4. easy targeting question???
      I have a website that is almost completed. I have a navigation bar across the top with five buttons. The buttons all link to the different pages...
    5. Question on targeting links in MX
      I have created a menu with MX that basically has buttons that link to html files. The files all open in a certain frame called mainFrame. Here is...
  3. #2

    Default Re: Simple question about targeting links.

    Should be as simple as adding the anchor tag at the end of the url-

    geturl("profile.htm#past","mainFrame");


    try that...
    --
    J. Gary Brinn
    Sons of Thunder Interactive LLC
    [url]http://www.sonsofthunderinteractive.com[/url]



    "Slacker League" <SCenters@cfl.rr.com> wrote in message
    news:qM3Oa.37369$bK5.768142@twister.tampabay.rr.co m...
    > I am setting up a movie to use as a menu on a website. There is one page
    > that has link targets on it, eg: #past. I have buttons in the movie to
    > link to the page but haven't been able to figure out the target part. What
    I
    > have for the links is
    >
    > on (release) {
    > getURL("profile.htm", "mainFrame");
    > }
    >
    > The link on the .html file is <a name="past" id="past">Past</a>
    >
    > How would I get this to link to the id="past", in the above code. The
    > profile.htm has several on it that I want to link to. Just need the syntax
    > for one please.
    >
    > Thanks,
    >
    > SL
    >
    >

    J. Gary Brinn Guest

  4. #3

    Default Re: Simple question about targeting links.

    I may just have to make 3 seperate html files for these links. I can't seem
    to get it to work properly. Is is possible that Flash can't handle the #
    symbol as a link within an html page?
    Any input appreciated.

    SL

    "Slacker League" wrote in message ...
    > I've tried that but it just loads the page as normal. It won't link to the
    > <a name="past" id="past">Past</a> that is in the page.
    >
    >
    > "J. Gary Brinn" <gary@sonsofthunderinteractive.com> wrote in message
    > news:3f09d8e8$1_4@corp-news.newsgroups.com...
    > > Should be as simple as adding the anchor tag at the end of the url-
    > >
    > > geturl("profile.htm#past","mainFrame");
    > >
    > >
    > > try that...
    > > --
    > > J. Gary Brinn
    > > Sons of Thunder Interactive LLC
    > > [url]http://www.sonsofthunderinteractive.com[/url]
    > >
    > >
    > >
    > > "Slacker League" <SCenters@cfl.rr.com> wrote in message
    > > news:qM3Oa.37369$bK5.768142@twister.tampabay.rr.co m...
    > > > I am setting up a movie to use as a menu on a website. There is one
    page
    > > > that has link targets on it, eg: #past. I have buttons in the movie
    to
    > > > link to the page but haven't been able to figure out the target part.
    > What
    > > I
    > > > have for the links is
    > > >
    > > > on (release) {
    > > > getURL("profile.htm", "mainFrame");
    > > > }
    > > >
    > > > The link on the .html file is <a name="past" id="past">Past</a>
    > > >
    > > > How would I get this to link to the id="past", in the above code. The
    > > > profile.htm has several on it that I want to link to. Just need the
    > syntax
    > > > for one please.
    > > >
    > > > Thanks,
    > > >
    > > > SL
    > > >
    > > >
    > >
    > >
    > >
    >
    >

    Slacker League Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139