Fork me on GitHub
Not signed in (Sign In)

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

    • CommentAuthorTodd
    • CommentTimeOct 30th 2008
     
    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 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.
    • CommentAuthorRichard
    • CommentTimeOct 31st 2008
     
    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.
    • CommentAuthorTodd
    • CommentTimeOct 31st 2008
     
    thanks