1 Reply Latest reply: Jul 5, 2009 9:19 AM by decpariem RSS

    problem with buttons

    decpariem Community Member

      hi.

       

      I have developed a site and I want to add some sponsors.

      I have in the main movie an action layer. when you press sponsors it goes to a frame  labeled "sponsors". in that frame i have put a movie clip with some animation. when it finishes i have a big bubble. i want to put some images of my sponsors in that bubble and when you press them to go to their sites.

      i tried doing this with this code:

       

      var sponsors:Button;

      sponsors.onPress= function() {

      getURL("http://www.eg.com","_blank");

      };

       

      it didn't work.

      I suspect there's some problem with the root. I don't know at all.

      Please help. I'm behind schedule.

      thanks in advance.