3 Replies Latest reply on Apr 15, 2012 4:39 AM by Ned Murphy

    Two beginner Flash questions.

    HillaryIsAmazing Level 1

      So, my first question is this...  I have a button called Enter_btn that controls a movie clip.  I want it to disappear after it is clicked.  Is there a way to do this?


      Second question needs a little more explaining...  When I click Enter_btn, I have it play a movie clip(Open).  The movie clip is 120 frames long.  On my main timeline, I have extended all of my layers to 120 frames.  If I wait a few seconds to click Enter_btn on my test scene, it will not play the movie clip in its entirety.  It stops before the movie clip has finished playing.  If I extend the frames out on my main timeline and click Enter_btn immediately, the movieclip will loop and play over.  Is there a way to fix this?


      Here is all the actionscript that I have written so far. 









      function playAnimation(event:MouseEvent):void





      Enter_btn.addEventListener(MouseEvent.CLICK, playAnimation);"






      any help would be much appreciated!