3 Replies Latest reply on Jun 8, 2006 3:23 PM by NSurveyor

    edit variable

    LSNsaltlamp Level 1
      I need to take a variable with the name "11.swf" and restrict it to just the number.

      I know this code is wrong but it gets the idea across.

      on (release) {
      var page = "11.swf";
      var pagenumber = (page-".swf");
      trace(pagenumber);
      }

      I want the trace function to return 11