Flint Particle System Forum - Age constructor2010-11-17T11:01:37+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
Age constructorhttp://flintparticles.org/forum/comments.php?DiscussionID=112&Focus=460#Comment_4602008-10-30T18:09:44+00:002010-11-17T11:01:37+00:00Toddhttp://flintparticles.org/forum/account.php?u=88
Hi,
I'm trying out the different easing functions for Age. I can only get TwoWay to work. Here's an example.
import org.flintparticles.common.easing.*;
import ...
I'm trying out the different easing functions for Age. I can only get TwoWay to work. Here's an example.
var age2Way:Age = new Age(TwoWay.linear); var ageQ:Age = new Age(Quadratic.easeIn); <--this line creates an error 1120 Access of undefined property Quadratic
Only TwoWay easing seems to work. All other easing functions produce the same 1120 error.
What am I doing wrong? Thanks.
In in Flex 3, btw.]]>
Age constructorhttp://flintparticles.org/forum/comments.php?DiscussionID=112&Focus=461#Comment_4612008-10-31T12:34:51+00:002010-11-17T11:01:37+00:00Richardhttp://flintparticles.org/forum/account.php?u=1
Just import the energyEasing functions. These are for use with the Age action (they are optimised for this use). The other easing functions are for other purposes.
Age constructorhttp://flintparticles.org/forum/comments.php?DiscussionID=112&Focus=465#Comment_4652008-10-31T15:27:33+00:002010-11-17T11:01:37+00:00Toddhttp://flintparticles.org/forum/account.php?u=88
thanks