This content has been marked as final. Show 6 replies
In this specific example by importing the fl.motion package (if you have Flash CS3). And when working with FB you add this package to your source path, under Flex build path in the project properties.
But you could also use the mx.effects.easing package...
How about just using mx.effects.easing.Back? It seems to work in the following code.
Yes, that will work too :-)
Is it possible to control the parameters of the easing within the Bounce method? The documentation says:
t:Number — Specifies time.
b:Number — Specifies the initial position of a component.
c:Number — Specifies the total change in position of the component.
d:Number — Specifies the duration of the effect, in milliseconds.
I don't understand how I would use these.
Those are set by Flex. You just pass the name of the easing function. If you need more control you would need to write a custom easing function. However... using one of the mentioned packages really makes life easier.