2 Replies Latest reply on Mar 22, 2007 9:05 AM by Newsgroup_User

    Asfunction- Hypertext Link

    SM6601 Level 1
      I'm trying to use the Asfuction to create a hypertext link in a dynamic text field that will navigate to another frame label . I tried to use the following and it doesn't work-

      Beat_Poets.htmlText = "<a href=\"asfunction:gotoAndPlay("Howl");

      Does anyone have a solution?
        • 1. Re: Asfunction- Hypertext Link
          Level 7

          > Beat_Poets.htmlText = "<a href=\"asfunction:gotoAndPlay("Howl");
          > \">Howl</
          > a><br>";
          > }

          The asfunction protocol doesn't accept function calls and parameters the
          way those are normally used. With asfunction, you name the function first,
          then optionally provide a single string that contains your parameters.


          The command separates the two. In this case, you only need the one
          parameter. If your function accepts many parameters, you must include in
          that function -- custom coding, here -- a way to separate the parameters
          from one another.

          David Stiller
          Adobe Community Expert
          Dev blog, http://www.quip.net/blog/
          "Luck is the residue of good design."

          • 2. Re: Asfunction- Hypertext Link
            kglad Adobe Community Professional & MVP