1 Reply Latest reply on May 7, 2011 11:19 PM by Flex harUI

    Memory (RAM) model in Flex or ActionScript for local variables in a method

    Johnking08 Level 1

      I have a method in AS3 to handle certain event generated from some Components in <mx:Repeater>. Two different Components can fire the same event

      at the same time so the same method must handle the two events together. My question is if the two calls on the same event handler method will step on each other. The event handler method only uses the local variables.

       

      In Java, the local variables of a method for the two callers are in two different memory (RAM) addresses. So they will not step on each other. Not sure about

      Flex/ActionScript.