AS 2.0 problem

Out of context: Reply #1

  • Started
  • Last post
  • 3 Responses
  • dasmeteor0

    Obviously it's an incrementation problem.
    onRelease you are using the old "page_count" variable.
    I suggest you to trace that variable and maybe to increment it on the release event :
    b_0.onRelease = function() {
    page_count ++;
    next_page( "Video1A_" + page_count);
    };
    b_1.onRelease = function() {
    page_count --;
    prev_page( "Video1A_" + page_count);
    };

    or

    increment your variable at the end of your next_page and prev_page functions

    But the problem is here.
    Also try to test the limits >>> I guess there's nomovieclip named Video1A_-1 or Video1A_500

View thread