Hi everyone!

I'm currenty trying out Alex Uhlmann's AnimationPackage
(http://www.alex-uhlmann.de/flash/animationpackage/) and I ran into a
problem concerning the Animation class. This might be a bug but I'm
currently guessing that I did something wrong somewhere along the
way...

So, I'm trying to set up a simple Animation instance where 3
movieclips (mc1, mc2 and mc3) are moved across the screen with
different starting points. All of this works well, as long as I don't
change the TweenModes and DurationModes of the AnimationCore class.
Then only the first tween starts, the others just don't happen. Does
anyone know what the deal is?

Here's the code:

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.*;

APCore.initialize();
APCore.setFPS(31);

// These are the two lines of code that break the functionality!
AnimationCore.setTweenModes(AnimationCore.FRAMES);
AnimationCore.setDurationModes(AnimationCore.MS);

var a = new  Animation();
a.addChild(new Move(mc1, 390, 93), 0, 1000);
a.addChild(new  Move(mc2, 390, 215), 300, 1500);
a.addChild(new Move(mc3, 390, 347), 1000,  3000);
a.animationStyle(3000, Expo.easeOut);
a.animate(0,  100);


thanks in advance!
Jan
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to