24 Replies Latest reply on Aug 19, 2009 3:12 PM by NSurveyor

    need help with if/then statement once first part of code has been executed

    DPSwebmaster Level 1

      I have some code on the main time line which basicially just says when this button is pressed go to this frame indicated by the frame label. In this case "answer". This is done inside a movie clip, which isn't on the main time line.



      triangle_btn.onRelease = function() {






      what I am needing is some code, probably and if/then statement that will display another MovieClip on the main time line after the first part is executed.


      if button has been pressed and frame is on "answer" then goto this frame label on the main timeline.


      thanks. Hope I have made what I need clear enough.