is returning undefined:
where activeCarton is a variable referencing an array of movie clips. Does activeCarton contain the name of the mc or the index. How can I get the mc name string?
It's not a substring problem... it's a string problem (or lack of). Your array doesn't include things that can be converted to strings. But the objects represented by the names you have in the array do have _name properties that are strings. Try...
Retrieving data ...