6 Replies Latest reply on May 13, 2007 8:28 AM by Sketchsta

    How to use getURL with a movieclip??

    srujanabobba
      Hai all,
      i am newbie to flash and am learning some new things with some already done files given by my friend.

      In one of those files, if i click the menu i should go to another URL.It was a movieclip and there were no invisible buttons. Actionscript was written to that movieclip and it is shown below.

      onClipEvent (load)
      {
      num = 2;
      this.title.gotoAndStop(num);
      }
      on (rollOver)
      {
      if (_root.link != num)
      {
      this.gotoAndPlay("s1");
      }
      }
      on (releaseOutside, rollOut)
      {
      if (_root.link != num)
      {
      this.gotoAndPlay(_totalframes - _currentframe);
      }
      }
      on (release)
      {
      if (_root.link != num)
      {
      _root.menu["butt" + _root.link].gotoAndPlay("s2");
      _root.link = num;
      }
      _root.getURL(" http://www.google.com","_self","GET");


      }

      _root.getURL() is written by me.

      but it is not working.. eventhough i removed the whole code... the animation is going on.. when i checked inside the movie there is no other actionscript...

      Sorry If this is a silly question.. but since i dont know much about flash.. it is like a big one for me.. :(

      Help me please...

      Thanks in advance.