7 Replies Latest reply on Sep 21, 2007 10:24 AM by kglad

    call function

      Hi all

      I include a .as file in my main movie.
      There is a function structred like this inside that .as file

      String.prototype.isEmail = function()

      How can I call that function from a movie that is loaded into that main movie.
      Normally I would use

      if (!myEmail.isEmail()) {

      but now it has to be something like this..

      if (!myEmail._root.isEmail()) {