Animationpackage: That's a fun library, has taken me too many hrs to get
to where I almost want to go.
Now I have 2 animations on curves, want them to run one after each
other, and trying to start a second animation at the completion of the
first, and I am trying to use "onCallback" from said libraries.
As directed, I add:
/var myListener:Object = new Object(); APCore.addListener(myListener); /
I add onCallback to the animationStyle line:
/...code for first animation... works fine....//
myMOC.animationStyle(3000,Sine.easeInOut,"onCallback");
/
/ /and later try to trace at animation's end:
myListener.onCallback = function(){ trace("onCallback"); }
I get no indication that I have reached the last function.
ANyone got a working example, a few statements, of getting the
onCallback working?
Thanks Wendy
------------------------------------- you should look into one of the
animation engines/packages available out there:
http://www.mosessupposes.com/Fuse/
http://www.alex-uhlmann.de/flash/animationpackage/ Here's an example of
a movieclip animated along a curve:
http://www.alex-uhlmann.de/flash/animationpackage/de/alex_uhlmann/animationpackage/animation/MoveOnCurve_01.html
regards, Muzak ----- Original Message ----- From: "Wendy Richardson"
<[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday,
October 20, 2006 7:35 PM Subject: [Flashcoders] Re: drawing a ring - can
I use as motion path
Here's a bit of a digression - can I draw a ring programatically and use it as a motion path for another MC? Like say I want a
planet orbit (and I do) and I want the planet to ride round and round the ring, can I do that with all script?
Thanks in advance.
Wendy
------------------------------
_______________________________________________
[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