2 Replies Latest reply on Jul 13, 2006 6:15 AM by inlineblue

    pass by value

    germain_jackson
      I'm dynamically creating several Image objects onto a Canvas. Then I use the Move effect's xTo and yTo property to place my images along the path of my mouse movement by setting them to my Canvas' mouseX and mouseY properties. However, it appears that when I use mouseX and mouseY to set my xTo and yTo values, a reference is being passed, as all my images end up changing postions to the final resting position of my mouse. In other words I need to get only the exact position of the mouse at the time I set my xTo and yTo values, without them ever being allowed to change after having been set.