3 Replies Latest reply on Nov 7, 2009 12:34 PM by kglad

    button doesn't execute a simple ActionScript

    ultramaker

      I've created a new symbol - button type. Then created a single frame in a time-line, put my button there  and put a simple code into frame:

       

      mybutt.onRelease = function() {

      getURL("www.google.ru");

      };

       

      So I would like to open the url by pressing the button. But it doesn't work. Any ideas?

      Thanks in advance!