FAQ
In case you work with a Flash MX 2004 IDE and something very strange happens, try clearing the ASO Cache. If you don't know how, download the ASO Cache Commands extension from Macromedia Exchange. You can read more about this issue at Macromedia.
Q: Why is my movieclip animation flickering?
A: When you invoke an animation instance that acts on movieclip properties while another animation instance of the same type is still acting on the same movieclip properties you get unintended behaviour i.e. flickering. A common use case of this misbehaviour would be a button animation i.e. via the rollOver event. Always explicitly stop an animation instance with the stop() method before letting another animation instance act on the same movieclip properties. This is by far the most asked question on AnimationPackage.
Q: Why is my animation only flickering at the end?
A: Try with setting forceEnd(false), available in every IAnimatable class. Get more information on forceEnd from the class documentation of an IAnimatable class.
Q: Why does my animation either not start or events don't fire?
A: Make sure you imported all classes of AnimationPackage to your project. See Step By Step Tutorial or the empty_setup.fla. Also make sure you initialized AnimationPackage with APCore.initialize();.
Q: Can I use AnimationPackage on other timelines or other frames?
A: Yes. Just make sure you write the same import statements on the timeline or frame, in order to use only the class name instead of the full class name (namespace and class name).
import de.alex_uhlmann.animationpackage.*;
import de.alex_uhlmann.animationpackage.animation.*;
import de.alex_uhlmann.animationpackage.drawing.*;
import de.alex_uhlmann.animationpackage.utility.*;
import com.robertpenner.easing.*;
In general AnimationPackage is "just" an ActionScript 2.0 library. Check your Flash manual for more information on how to work with ActionScript 2.0 files.