2 Replies Latest reply on Feb 24, 2008 11:09 AM by Venian

    Dinamically setting a link to a button

    Venian Level 2
      Hi. I have a meniu in which i have a button to which i want to set a link dinamically, based on what i receive from a database through a php. And i wonder how can i do that?

      lets say the variables is: linkvar = http://www.thislink.com;

      Can i do the following:

      button_mc.onRelease = function() {
      getURL(_root.linkvar, "_self");
      };

      ?

      Thank you!