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: I have looked at some examples in AP and wondered where the "myListener" comes from. It does not compile. What is it?

A: myListener is part of code that I decided not display in every example of AP. This code represents one way in AP to handle events. For more information, please see the HTML class documentation of APCore, the Step By Step Tutorial or the "Event Handling" paragraph in readme.htm.

 

Q: I use MTASC and AP does not compile with statements like this: "new MyClass().myMethod();" that I have copied from the documentation of AP.

A: MTASC does not allow to create an instance and invoke a method in one statement. Those examples in AP do work in MMC (Macromedia's Compiler).

 

Q: When using any composite class like Sequence, Parallel, Animation or Drawer, can I specify properties to a specific child that only apply to that specific child and not to the whole composite?

A: Yes. The animationStyle method of composite classes overwrites the children's properties with the properties of the composite. Make sure the animationStyle method of your composite class is invoked before you define properties on your specific children.

 

Q: Why is my movieclip animation flickering?

A: Make sure you've updated to the most current version of AnimationPackage. AnimationPackage 1.07 introduced a default behaviour that automatically stops instances, which animate on the same property/method and object. This was most often causing flickering for users. More information on AnimationCore.setOverwriteModes class documentation.

 

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.

creating powerful animations fast.