4 Replies Latest reply on Sep 22, 2011 5:39 PM by Adam-C

    How to jump out of a frame using lingo?

    Abhilash M Level 1

      I've a certain logic that executes on click of a button  like these

       

      on mouseUp me

       

       

      if undocounter = 0 then

        go to frame 61

      end if

       

       

      -- store values in variables for undo operation

        redopoint1 = undolist.getAt(undocounter-1)

        redopoint2 = undolist.getAt(undocounter)

       

      Now even if the condition if undocounter = 0 is true, director is executing other part of code in the frame. So how exactly can i tell it not to execute the statements? Maybe like this,

       

       

      if undocounter = 0 then

        go to frame 61

      -- exitframe ?

      -- jump out of the frame?

      end if

       

       

      -- store values in variables for undo operation

        redopoint1 = undolist.getAt(undocounter-1)

        redopoint2 = undolist.getAt(undocounter)

       

      I'm new to lingo and even after seeing docs, could not help myself!