2 Replies Latest reply on Sep 19, 2007 6:43 AM by Newsgroup_User

    Removing Array Elements

    i_am_captivate Level 1
      Hello,

      Here is what I am looking to do.

      I have an animation where there are 10 doors on the first frame. When the user clicks on one of the doors, there is a tween effect and then the user gets to see what is behind that door. Once they see what is there, they click on the screen and they are taken back to frame 1. All 10 doors are movieclips which I have in an array. What I want is to have the length of the array decrease by 1 when the user clicks to go back to the first frame. I tried the delete operator with no success.

      Any help would be greatly appreciated!

      Thanks

      Doug