4 Replies Latest reply on Jan 20, 2007 3:25 PM by Shandy Elliott

    Looping problem!!

      Within a movieclip, I have code that says something like this:

      this.onEnterFrame = function(){
      if (this is true and this is true{
      gotoAndPlay ("play")

      delete this.onEnterFrame;



      This works fine. BUT when I add an else if statement within this function, the system doesnt read the first if statement and so it doesnt read the else if statement too.

      Any ideas why this is, and how to get around doing this? I just want the movieclip to keep playing and playing until it doesnt satisfy the iff statements