1 Reply Latest reply on Jul 29, 2008 7:49 PM by german01

    URL button Issue

    Valeri333
      I have this code to connect to my buttons:

      on (rollOver) {
      gotoAndPlay("s1");
      }
      on (rollOut, releaseOutside) {
      gotoAndPlay("s2");
      }
      on (release) {
      if(_root.url2==""|| _root.url2== undefined){
      getURL("javascript:alert('NO URL2!')")
      }
      else{
      getURL(_root.url2,"_self")
      }
      }

      1.) Where do I enter my url information? 2.) Button information? I've tried everything and after I place it in a hosting site to test the links won't work!
      help...pleeze?!
        • 1. Re: URL button Issue
          german01 Level 1
          When I link buttons to webpages, here is the code on a button


          on (release) {

          //Goto Webpage Behavior
          getURL("C:\\My Documents\\Hisp_Lat_2008\\Pages\\Credits.html", "_self");
          //End Behavior

          }

          Pay attention if you are using the button inside a movie clip or if the page you are trying to load is in a subfolder.

          Hope it helps