1 Reply Latest reply on Aug 16, 2013 5:11 AM by Xoco

    Pushing childSymbol in array of two dimensions

    Xoco Level 3

      I try to create an array with two dimensions, but I don't know how to assign the new childSymbol inside of array in a concrete position.

       

      With one dimension:

       

      var aPeces = []:

      var symPeca = sym.createChildSymbol("symImatge", "Stage");

      aPeces.push(symPeca);

       

      With two dimensions:

       

      var aPeces = []:

      var symPeca = sym.createChildSymbol("symImatge", "Stage");

      aPeces[4,6]=symPeca; //??????????????

       

      Thanks.