3 Replies Latest reply on Jan 31, 2015 6:26 PM by kglad

    Problem using a button inside a movieclip, and making a button change what it does on diffferent frames.

    MinusDapony

      First issue is that I cannot get any coding inside my movieclip to affect the main timeline.

      Going as simple as possible, I reduced it down to

      "

      parent.nextFrame();

      "

      I thought less coding meant less room for mistakes, but it still does nothing at all.

       

       

       

      Next issue is my button ignoring my IF statement.

      "

      if (this._currentframe != 4 || 10 || 16 || 22 || 28 || 34 || 40 || 46 || 52 || 58 || 64 || 70) {

          prevFrame();

          } else {

          gotoAndStop(3);

          }

      "

      This button is doing prevFrame no matter what frame it is on.

       

       

      I read tutorials and kept using code people offered as solutions, but nothing has helped. Quick replies appreciated, I've got a deadline for this. Thankyou