5 Replies Latest reply on Oct 17, 2009 1:20 AM by Full of Questions

    Go to URL when click on button

    Full of Questions



      I have this action script, not getting any syntax error, but nothing happens when clicking on button with the instance "instanswatch":


      instanstext1a.onPress = function (){
      gotoAndStop("Text2", 1);

      instansmenu.onPress = function (){
      gotoAndStop("Menu", 1);

      instanswatch.onPress = navigateToURL(new URLRequest("http://www.adobe.com"))


      How do I write a simple command making the user go to a certain URL when click on button?


      Many thanks in advance!