0 Replies Latest reply on Jan 22, 2007 12:48 PM by checkwowski

    Linking to an Instance via AS

    checkwowski Level 1
      Hello! I'm trying to figure out how, in actionscript, I can generate the name of an instance that is already on the stage and then manipulate it's values.

      For example: I have 20 instances all with escalating names (speck01, speck02, speck03, speck04, etc.) and I want to manipulate their positions on the stage. I'm currently creating a new string variable with the name of the instance ("speck01.speck_thing") and was hoping to then use that to somehow move the position of that instance on the stage. I feel like it's an assignment problem but can't figure it out. Attached the code below, lifted from a loop. Thanks in advance.