Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Unable to call constructor, because parameter 2. Value 0,01 out of range 0,1 to 100 - error

$
0
0

I am getting this error when I create a KeyframeEase object

 

kfEaseObj.speed = 0;

kfEaseObj.influence = 0,01;

var ease = new KeyframeEase(Number(kfEaseObj.speed),Number(kfEaseObj.influence));

 

 

It's message is straight forward and is in compliance with the  AE Scripting Guide. At page 84 it states, that speed must be in range of 0,1 to 100. However, when I looked at some keyframe data I noticed that some keyframes have values out of this range.

 

Take a look at this image:

 

Screen Shot 2017-09-02 at 18.00.53.png

 

This is a valid AE scale keyframe. What is going on here? How is this an allowed keyframe influence value?

As always, thanks!

 


Viewing all articles
Browse latest Browse all 2143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>