4 Replies Latest reply on Oct 3, 2008 3:11 PM by SiHoop

    Re-setting a variable for multiple instances

    SiHoop Level 1
      The code below is inside a loop to create several instances of a class that places markers on the stage. The event handler opens an info panel when a marker is clicked the first time, and closed when clicked the second time. However, I want to set the value of windowOpen to false for all the markers each time a window is closed. My problem is that I don't know how to create a loop to do this.