3 Replies Latest reply on Nov 15, 2010 6:57 AM by kglad

    How do I make my movieclip button link to a URL?

    VeryNew_To_AS3

      I have a movieclip and have actionscript on a separate layer that controls the movie clip. However I want to be able to link to a URL when I click the button. Based on what I have does anyone know how to teak my code? Lets pretend the site I want to link to is "http://www.google.com/ig?hl=en".

       

      Here's the code:

       

      ProductMarketingIcon_mc.onRollOver = function() {

      ProductMarketingIcon_mc.gotoAndPlay("normal");

      }

       

      ProductMarketingIcon_mc.onRollOut = function() {

      ProductMarketingIcon_mc.gotoAndStop("normal");

      }

       

      ProductMarketingIcon_mc.onPress = function() {

      ProductMarketingIcon_mc.gotoAndPlay("over");

      }

      Thanks for you help!