"Scripting" linking propertyIndex to an Array Index
I'm trying to push my knownledge on scripting more than i can do.
So I am writing a script for morphing one text layer to another text layer (with the same letters but with different size like regular to bold) and i have an issue.
I want to copy key frame at time 2 of my first Shape to the other for morphing between each keys.
I push my keys of the first shape in an Array and for the second shape I have a setValueAtTime
It's working but just with one key shape i imagine i have to feet my number of second keys shape and keys in my array ? but i don't know how to do that, i spent my last day trying.
May be it's not the good solution
All the code: