4 Replies Latest reply on Feb 15, 2011 1:14 PM by gonzalez66

    Hyperlink in flash animation

    gonzalez66

      Hi there.Currently i'm working on web site.Actually,i need to make a clicking flash banner.

       

      i found this codes on internet,but can't make this to be working.

       

       

      now you can put this code on the movie clip:
      on (release) {
      getURL("http://www.actionscript.org", _blank);
      }

       


      or in the timeline this:
      my_mc.onRelease = function() {
      getURL("http://www.actionscript.org", _blank);
      };

       

       

       

      2nd solution:

       

       


      on (release) {
      if (clickTAG.substr(0,5) == "http:") {
      getURL(clickTAG, "_blank");
      }
      }

       

       

       

       

       

      this is link for animation in .FLA format.

       

      http://www.speedyshare.com/files/26889917/banner_048.fla

       

       

      Any help is appreciated.