Animation Not Playing [RESOLVED (Silly Flash)]

Subscribe to Animation Not Playing [RESOLVED (Silly Flash)] 3 posts

avatar for evan999333 evan999333 322 posts
Flag Post

I have a movieclip (Lets call it Parent) with another movieclip inside of it (Lets call it Child), and Child has several other single frames of different looking objects inside of it. Child is animated for 30 frames with a motion tween and when I scrub the bar the animation players fine.

However in game the Child animation does not play. I set up a trace statement tracing the Child’s currentframe and it outputs the current frame going up from 1 to 30.

If I place another object and do a shape tween (in parent just like the Child is) for instance inside the first moveiclip the shape tween plays fine but the motion tween for the Child does not move at all.

I am not sure if it matters but I can apply other code like making the child that wont move rotate by doing something like rotation += X amount and the movieclip spins but no matter what I do it wont play the animation.

I have been using Flash for years so and have never a movieclip that traces its current frame going up but is not actually playing on the screen.

Anyone have any ideas?

 
avatar for Ringer Ringer 249 posts
Flag Post

Weird. Sometimes Flash still just refuses to do little things for no apparent reason (I gave up on relying on frame labels ages ago). I’m sure I’ve had scripted/attached MovieClips with children that contain motion tweens, and no problems even with many levels of children.

Make sure the graphic symbol for the tween doesn’t have an instance name that would interfere with anything else, and that the graphic symbol doesn’t have any unusual settings in the library. Not that it would, normally. Or maybe it’s some strange mistake like you set the tween layer as a guide, hidden, or mask or something, and you left a static image of the graphic somewhere. These ‘how did that get that way’ mistakes are often what get me. Or try a classic tween?

It’s not really solving the problem, but maybe you’ll just have to bite the bullet and use Actionscript to simulate the motion tween.

 
avatar for evan999333 evan999333 322 posts
Flag Post

I just remade the movieclip and the code affecting it and it worked…

Thanks anyways for the reply Ringer