beno - wrote:
On Sun, Nov 22, 2009 at 11:03 AM, Paul Andrews <[email protected]> wrote:
If mcHand has a tween on the timeline for that MovieClip, there MUST be a
stop() command in actionscript at the end of the frames for the mcMovieClip.
Without that stop() command the timeline will loop.
I put a keyframe (F6) at frame 20 of the only layer in the timeline (which,
I believe would have made it loop twice...the mc is either 10 frames or 20),
opened the script editor (F9) and entered one line of code:
stop();
saved and ran (ctr+enter). It kept looping. Forgive my misunderstanding of
your instructions. Please clarify.
There is only one timeline to consider - the timeline of the MovieClip
instantiated from mcHand.
The layer that you add the stop() to is immaterial - the best practice
is to have a separate "actions" layer.
stop() goes on the very last frame of the mcHand MovieClip
I can't clarify any more.
Your responses tend to be a bit ambiguous.
"only layer in the timeline (which,I believe would have made it loop
twice" - well you need to understand why a MovieClip might loop - (99%
of the time a missing stop() action).
"The mc is either 10 frames or 20" - well it's not a question of "or"
but "is". It can only be one length.
Paul
TIA,
beno
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders