I have some graph/chart to do. I want to do mask/shape (AE7) from data file.
I found some help at http://www.motionscript.com but i'm stuck.
My problem lies in syntax. I don't know how to "push" my variable TempVar in to myShape.verticles
Code: Select all
var newMask = mySolid.Masks.addProperty("Mask");
newMask.inverted = false;
var myMaskShape = newMask.property("maskShape");
var myShape = myMaskShape.value;
while (!myFile.eof)
{
i ++;
text = myFile.readln();
if (text == "") text = "\r" ;
{number = parseFloat(text);
TempVar[i]=[i,number];} <--- this line is my problem ;)
}
myShape.verticles = TempVar;
myMaskShape.setValue(myShape);
May be there is much elegant way to solve my task.
BTW. This is my first post at the ae enhancers forum and any english forum at all, therefore...
I'm sorry for my english
