Flint Particle System Forum - Age constructor 2010-11-17T11:01:37+00:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher Age constructor http://flintparticles.org/forum/comments.php?DiscussionID=112&Focus=460#Comment_460 2008-10-30T18:09:44+00:00 2010-11-17T11:01:37+00:00 Todd http://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.

import org.flintparticles.common.easing.*;
import org.flintparticles.common.energyEasing.*

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 constructor http://flintparticles.org/forum/comments.php?DiscussionID=112&Focus=461#Comment_461 2008-10-31T12:34:51+00:00 2010-11-17T11:01:37+00:00 Richard http://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 constructor http://flintparticles.org/forum/comments.php?DiscussionID=112&Focus=465#Comment_465 2008-10-31T15:27:33+00:00 2010-11-17T11:01:37+00:00 Todd http://flintparticles.org/forum/account.php?u=88 thanks