Saturday, July 29, 2006

Lesson 3: Value

In this lesson, we are going to explore the term value.

In short, value returns (or "gives you") the current value of whatever parameter which with you are working.

So, if we were to use the following expression on opacity:

value + 5

The opacity is still modifiable, because the expression is getting the current value of the parameter as is, and then adding 5 to it. value always leaves your parameter modifiable, but with the ability to combine different calculations with it.

For example, using our simple Opacity scenario, try adding the following expression:

This will result in opacity gradually increasing the opacity over time. But unlike before, you'll notice that we can now modify the value of Opacity. Why is that?

The term value is the current parameter value, as is. This we can change as we please. To this, we add the time.

If we only used the term time, opacity would increase by 1 for every 1 second that passes in the composition, and we would not be able to change the value

So, for an example, let say we wanted to create a name banner that we can move around as we please, but still had movement of its own generated with expressions.. value would allow this flexibility.

Remember my awesome train drawing?


value, when used with an array will have multiple values. To work with these values, we need to specify what value we want. The way we do this is with the [0], [1], etc. Don't forget that it is ZERO that is the first number, not one. So what we would call the first value would be:


Second value would be:


And so forth.

So, considering the following example, try to predict what would happen.

The X value is free to roam. We can change that to whatever we want, but Y is fixed. So, we've constrained the movement of this object to the X axis.

t is an increasing value equal to time multiplied by 50.

x is still modifiable, with value[0], but it is increasing because we are adding t and makes the solid move from left to right across the screen.

y is still locked in at 200.

Notice the semicolons. If you aren't sure when to add a semicolon, add a semicolon. It's just a Javascript thing, and you'll never do any harm in adding a semicolon at the end of a line.

How would we get this to stop at a value? That gets into checking our values with an if/else statement which we will do next time.

Also, some suggested reading:

Dan Ebbert's explanation of Array math

I could spend hours coming up with an explanation of array math and not do as good a job as Mr. Ebberts. You'll notice some new things like position[0] which I haven't described. I wanted to start with value first, as it is more universal and requires fewer terms for you to remember. In short, value[0] on position is exactly the same as postion[0]. We'll get to that next time.


Blogger jerry247 said...

Keep it up, I'm learning more in the last 4 posts than I did in a 3 unit class in college! Linked to my blog

8:14 AM  
Blogger karan said...

thanks a lot for making this easier for us.i have tried learning scripting earlier from other sites which made me think that scripting is not for me...thnx to u,u made it easier..

5:43 PM  
Blogger Ruben said...

Yes this is really helpfull. I'm not a scripter, but a motiondesigner and expressions are really helpfull getting faster to what you want. So thank you for explaining that simple.

3:26 AM  
Blogger arun said...

Man you Rock!

Am doing video tutorials on AE Scripts. I need your permission to share some of your informations in my video tuts.

You can check out my AE Scripts video tutorials at

1:48 AM  
Blogger Peter Luna said...

Essay forming is most basic in school life of every understudy. The understudy needs to do distinct examination on the subject that they picked. Nevertheless, it is unreasonable by an understudy. If anyone gets weakness while doing the paper contact top essay writing service. There you get best course of action.

11:04 PM  
Blogger sindhu said...

Excellent and very cool idea and the subject at the top of magnificence and I am happy to this post..Interesting post! Thanks for writing it. What's wrong with this kind of post exactly? It follows your previous guideline for post length as well as clarity..

CRO Agency in Chennai

2:34 AM  
Blogger Sono Adney said...

You make it entertaining and you still manage to keep it up great.

Free Apk Store

2:09 PM  
Blogger Kevin Peter said...

Thanks for this great post i like this post very much. It is good Website Designer. best international education & immigration consultant in jalandhar

9:15 PM  
Blogger Words Doctorate said...

Thank you for sharing such a informative information with us. Keep on sharing the blog like this.

PhD Thesis Writing Services
Dissertation Writing Services
Research Paper Writing Services
Master Thesis Writing Services

11:48 PM  
Blogger hari andro said...

I am regular visitor of this blog .I am working as blog reviewer in a private press and I saw many useful posts here. Sure, I will give best ratings for this blog .Keep posting best posts like this to get top reviews and ratings from blog reviewers and people .And I am thankful for this valuable post.
Engineering Colleges in Chennai | Mechanical Colleges in Chennai | ECE Colleges in Chennai

10:00 PM  
Blogger Alex Milner said...

Expressions usually have different meanings and it is usually good for everybody to learn about expression. The after-effect expressions show the cause of a phenomenon and help the viewers to understand the situation. This is a very educative blog and it actually carries information with a lot of impacts. Keyword Research Service

2:02 AM  
Blogger Albert Smith said...

Wow, after reading this article I can proudly say that I am knowledgeable on the subject of value return. Additionally, the article is very short hence the reader does not strain to finish reading it. I hope this information will reach out to a lot of online users so that they can improve their value. Consequently, students can increase their academic value by clicking on Well Referenced to access our writing services.

4:45 AM  
Blogger Nikisha mathi said...

It is really a great and useful piece of info. I’m glad that you shared this helpful info with us. Please keep us informed like this. Thank you for sharing.
Seo Company in Chennai
Web design company in chennai
Digital Marketing Company in Chennai

12:43 AM  
Blogger Ancy merina said...

This post contains relevant information about web development services. All the points mentioned in this post are essential for a good web development. Nice Post!!
website developers in Bangalore | website designers in bangalore

1:17 AM  
Blogger CIIT Noida said...

Thanks for posting the useful information to my vision. This is excellent information.

Best BCA College in Noida

12:25 AM  
Blogger Riya karakoti said...

Thanks for sharing the useful blog information post.

Salesforce Training institute in noida

Hadoop Training in Noida

Digital Marketing Training Institute in Noida

Digital Marketing Training in Noida

11:57 PM  
Blogger rohit pal said...

Webtrackker is one only IT company who will provide you best class training with real time working on marketing from last 4 to 8 Years Experience Employee. We make you like a strong technically sound employee with our best class training.

C - 67, sector- 63, Noida, India.
F -1 Sector 3 (Near Sector 16 metro station) Noida, India.
+91 - 8802820025

Best SAS Training Institute in delhi

SAS Training in Delhi

SAS Training center in Delhi

Best Sap Training Institute in delhi

Best Sap Training center in delhi

Sap Training in delhi

Best Software Testing Training Institute in delhi

Software Testing Training in delhi

Software Testing Training center in delhi

Best Salesforce Training Institute in delhi

Salesforce Training in delhi

Salesforce Training center in delhi

Best Python Training Institute in delhi

Python Training in delhi

Best Python Training center in delhi

Best Android Training Institute In delhi

Android Training In delhi

best Android Training center In delhi

5:34 AM  
Blogger rajatwebtrackker said...

Best Php Training Institute in Delhi
Best Java Training Institute in delhi
linux Training center in delhi
Web Designing Training center in delhi
Oracle Training Institute in delhi
blue prism Training Institute in delhi
Automation Anywhere Training center In delhi
rpa Training Institute in delhi
hadoop Training center in delhi

guys if you make your carrier and do what you want to do in your life so webtrackker is the best option to take your carrier make large

1:54 AM  
Blogger rajatwebtrackker said...

Hello friends, my name is Rajat and I work as the head of digital marketing in Delhi. I am affiliated with many MNC’s Software developers. If you are talking about the best educational institution in Delhi,Webtrackker help me get the best educational institute in Delhi.we are you offering some best services in our institute.with 100% job offers are available .

Best Php Training Institute in Delhi
Php Training in delhi
php Training center in delhi

Best Java Training Institute in delhi
Best Java Training in delhi
java Training center in delhi

linux Training center in delhi
Best linux Training Institute in Delhi
linux Training in delhi

Web Designing Training center in delhi
Best Web Designing Training institute in delhi
Web Designing Training in delhi

Oracle Training Institute in delhi
Oracle Training in Delhi
Oracle Training center in Delhi

blue prism Training Institute in delhi
blue prism Training in Delhi
blue prism Training center in Delhi

Automation Anywhere Training center In delhi
Automation Anywhere Training Institute In delhi

rpa Training Institute in delhi
rpa Training in Delhi
rpa Training center in Delhi

hadoop Training center in delhi
Best hadoop Training institute in delhi
hadoop Training in delhi

1:54 AM  
Blogger Dida ELhaik said...

خدمات نقل وتخزين الاثاث
تعرف شركة شراء اثاث مستعمل جدة
ان الاثاث من اكثر الاشياء التي لها ثمن غالي ومكلف للغايةويحتاج الي عناية جيدة وشديدة لقيام بنقلة بطريقة غير مثالية وتعرضة للخدش او الكسر نحن في غني عنه فأن تلفيات الاثاث تؤدي الي التكاليف الباهظة نظرا لتكلفة الاثاث العالية كما انه يؤدي الي الحاجه الي تكلفة اضافية لشراء اثاث من جديد ،
شركة شراء اثاث مستعمل بجدة
، ونظرا لان شركة نقل اثاث بجدة من الشركات التى تعلم جيدا حجم المشكلات والاضرار التى تحدث وهي ايضا من الشركات التى على دراية كاملة بكيفية الوصول الى افضل واحسن النتائج فى عملية النقل ،كل ماعليك ان تتعاون مع شركة شراء الاثاث المستعمل بجدة والاعتماد عليها بشكل كلي في عملية نقل الاثاث من اجل الحصول علي افضل النتائج المثالية في عمليات النقل
من اهم الخدمات التي تقدمها شركة المستقبل في عملية النقل وتجعلك تضعها من
ضمن اوائل الشركات هي :
اعتماد شراء الاثاث المستعمل بجدة علي القيام بأعمال النقل علي عدة مراحل متميزة من اهما اثناء القيام بالنقل داخل المملكة او خارجها وهي مرحلة تصنيف الاثاث عن طريق المعاينة التي تتم من قبل الخبراء والفنين المتخصصين والتعرف علي اعداد القطع الموجودة من قطع خشبية او اجهزة كهربائية ا تحف او اثاث غرف وغيرهم.
كما اننا نقوم بمرحلة فك الاثاث بعد ذلك وتعتمد شركتنا في هذة المرحلة علي اقوي الاساليب والطرق المستخدمة ويقوم بذلك العملية طاقم كبير من العمالة المتربة للقيام بأعمال الفك والتركيب.
ارقام شراء الاثاث المستعمل بالرياضثم تأتي بعد ذلك مرحلة التغليف وهي من اهم المراحل التي تعمل علي الحفاظ علي اثاث منزلك وعلي كل قطعة به وتتم عملية التغليف بطريقة مميزة عن باقي الشركات.
محلات شراء الاثاث المستعمل بالرياضويأتي بعد ذلك للمرحلة الاخيرة وهي نقل الاثاث وتركيبة ويتم اعتمادنا في عملية النقل علي اكبر الشاحنات المميزة التي تساعد علي الحفاظ علي كل قطع اثاثك اثناء عملية السير والنقل كما اننا لا نتطرق الي عمليات النقل التقليدية لخطورتها علي الاثاث وتعرضة للخدش والكسر .
تخزين الاثاث بالرياض
ارقام شراء الاثاث المستعمل بجدة
تمتلك شركة المستقبل افضل واكبر المستودعات المميزة بجدة والتي تساعد علي تحقيق اعلي مستوي من الدقة والتميز فأذا كنت في حيرة من اتمام عملية النقل والتخزين فعليك الاستعانة بشركة نقل اثاث بجدة والاتصال بنا ارقام محلات شراء الاثاث المستعمل بجدة
والتعاقد معنا للحصول علي كافة خدماتنا وعروضنا المقدمة بأفضل الاسعار المقدمة لعملائنا الكرام .

4:12 AM  
Blogger svr online Training said...

To improve Knowledge about the latest and vital technology would increase one's self esteem to the core at the time of lagging confidence.The content presented here is quite resembling the same. You have done a great job by sharing this in here.
sap training

11:06 PM  
Blogger shalinipriya said...

Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
Data Science Training in Chennai
Data science training in bangalore
Data science online training
Data science training in pune
Data science training in kalyan nagar

12:16 AM  
Blogger myservices home said...

8:41 AM  
Blogger simbu said...

This is such a good post. One of the best posts that I\'ve read in my whole life. I am so happy that you chose this day to give me this. Please, continue to give me such valuable posts. Cheers!
java training in chennai | java training in bangalore

java online training | java training in pune

selenium training in chennai

selenium training in bangalore

11:55 PM  
Blogger genga g said...

This comment has been removed by the author.

11:45 PM  
Blogger رجب البرنس said...

بسم الله الرحمن الرحيم نحن فى شركة الكمال نقوم بكشف التسربات من خلال امببة هواء مزواده بالعداد هواء كما يوجد لدينا جهاز الكترنى يكشف عن طريق التزبزبات
شركة كشف تسربات المياه بالطائف
شركة كشف تسربات المياه بجازان
شركة كشف تسربات المياه بحائل
والسلامة عليكم ورحمة الله وبركاته

4:12 PM  
Blogger Safety Professionals said...

I and my friends were going through the nice, helpful tips from the blog then the sudden came up with an awful suspicion I never expressed respect to the website owner for those secrets.
safety courses in chennai

11:55 PM  
Blogger Unknown said...

myTectra Placement Portal is a Web based portal brings Potentials Employers and myTectra Candidates on a common platform for placement assistance

10:24 PM  
Blogger pragya pragya said...

I have visited this blog first time and i got a lot of informative data from here which is quiet helpful for me indeed. 
python training in chennai
python training in Bangalore
Python training institute in chennai

3:33 AM  
Blogger gowsalya said...

Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
Devops training in sholinganallur
Devops training in velachery
Devops training in annanagar
Devops training in tambaram

6:21 AM  
Blogger gowthunan said...

My partner and I stumbled over here different website and thought I might as well check things out. I like what I see so now I’m following you. Look forward to checking out your web page repeatedly.
fire and safety course in chennai

3:25 AM  
Blogger amala jst said...

A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article. I am learning a lot from you.

rpa training in electronic-city | rpa training in btm | rpa training in marathahalli | rpa training in pune

4:51 AM  
Blogger Revathy A said...

This is a terrific article, and that I would really like additional info if you have got any. I’m fascinated with this subject and your post has been one among the simplest I actually have read.
angularjs Training in marathahalli

angularjs interview questions and answers

angularjs Training in bangalore

angularjs Training in bangalore

angularjs Training in chennai

automation anywhere online Training

4:58 AM  
Blogger Sanjay Burman said...

digital marketing training in bhopal
digital marketing training in bhopal
SEO training in bhopal
PHP training in bhopal
PHP training in bhopal

1:37 AM  
Blogger Ranvijay Singh said...

nice post. Digital Marketing Training in Bhopal

9:59 AM  
Blogger Unknown said...

This concept is a good way to enhance the knowledge.thanks for sharing..
RPA Automation Anywhere Training
RPA Automation Anywhere Online Training

11:59 PM  
Blogger التسويق الاكترونى said...

شركة تنظيف منازل بالرياض
شركة تنظيف فلل بالرياض
شركة تنظيف شقق بالرياض
شركة تنظيف كنب بالرياض
شركة تنظيف موكيت بالرياض
شركة تنظيف مساجد بالرياض
شركة تنظيف واجهات بالرياض
شركة تنظيف ستائربالرياض

12:22 AM  
Blogger Sameer Shahni said...

Shahni Digital Media provides complete digital marketing solutions to your business. e.g. ppc, social media marketing, web designing & development. Hire us to grow up your business high.
Digital Marketing Company Bhopal
Website Designing Company Bhopal
SEO Company in Bhopal
ORM Company India

9:22 PM  
Blogger manisha said...

Thanks you for sharing this unique useful information content with us. Really awesome work. keep on blogging
iWatch service center chennai | apple ipad service center in chennai | apple iphone service center in chennai | Apple laptop service center in chennai

4:58 AM  
Blogger noor noor said...

شركة مكافحة حشرات بالدمام

4:02 AM  
Blogger jefrin adams said...

Very impressive thanks for sharing
blue prism training institute in chennai

12:21 AM  
Blogger رجب البرنس said...

بسم الله الرحمن الرحيم نحن فى شركة الكمال نقوم بجميع عزل الخزانات المياه سواء كانت مياة الشرب او

مياه الغسيل كما اننا يوجد لدين خدمة تسليك المجارى بافضل الطرق
شركة عزل خزانات بالطائف
شركة عزل خزانات بجازان
شركة عزل خزانات بحائل
والسلامة عليكم ورحمة الله وبركاته

2:15 PM  
Blogger just videos said...

Amazing blog, thanks for sharing the information and the article is nice to share everyone.
Best Video Production & Promotion House in Kolkata, India

3:23 AM  
Blogger OLIVIA H said...

Excellant post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
apple iphone service center in chennai | Mac service center in chennai | ipod service center in chennai | apple ipad service center in chennai | apple iphone service center in chennai

1:36 AM  
Blogger OLIVIA H said...

I have picked cheery a lot of useful clothes outdated of this amazing blog. I’d love to return greater than and over again. Thanks! 
apple iphone service center in chennai | apple ipad service center in chennai | apple iphone service center in chennai

3:39 AM  

Post a Comment

<< Home