try and catch works correctly ...
thx Atomic
Search found 5 matches
- December 18th, 2008, 10:25 am
- Forum: Expression Discussion
- Topic: Masks and Layer Controlls
- Replies: 4
- Views: 13328
- September 12th, 2008, 4:42 am
- Forum: Scripts Discussion
- Topic: declaring arrays
- Replies: 5
- Views: 10991
Re: declaring arrays
I don't know what is it like in CS3, but in AE7 proper syntax is:
Code: Select all
var myArray = new Array(new Array()); // or Array[[]];
myArray[[12],[2]] = "jabon"; //important bracket outside and comma inside
- September 10th, 2008, 1:54 am
- Forum: Scripts Discussion
- Topic: From file to mask ... syntax problem
- Replies: 4
- Views: 9808
Re: From file to mask ... syntax problem
1. parseFloat(text) returns float type of number from text 2. in my "trouble line": TempVar =[i,number]; are two numbers, but I think AE don't get it like a pair because one is integer type, second is float type. Finally, I used write-on effect to solve my task (write chart from txt file),...
- July 19th, 2008, 8:59 am
- Forum: Scripts Discussion
- Topic: From file to mask ... syntax problem
- Replies: 4
- Views: 9808
Re: From file to mask ... syntax problem
Thanks for answer... I'm reading and reading and reading and I'm still not understanding. (I can't find a solution) :oops: I want to create shape (mask) from pairs of numbers. Sometime will be 5 pairs and sometimes 105. I don't know how to "push" another vertice after previous. When I used...
- July 15th, 2008, 10:12 am
- Forum: Scripts Discussion
- Topic: From file to mask ... syntax problem
- Replies: 4
- Views: 9808
From file to mask ... syntax problem
Hello everybody... 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 var newMask = mySolid.Masks.addP...