1 Reply Latest reply on Jan 9, 2007 12:58 PM by kglad

    search box help

    sameny
      I want to create a simple search box to find stores by the zip code, I´ve created a text field var zip, and a button with the following code:
      on (release) {
      if (zip == undefined) {
      loadMovieNum("error.swf", 7);
      } else {
      loadMovieNum(zip+".swf", 7);
      }
      }

      Its working fine when you type a zip that exists (loading the zip number + swf ) or leave the box empty (displying the error swf )now I need to display another swf when the zip code you type doesnt exist . Thanks