A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Movie clip starts over, than plays through? How can I prevent?

  1. #1
    Senior Member
    Join Date
    Dec 2000
    Posts
    222
    Hey everyone. I'm having some trouble that I hope you can help me figure out. Here's the page in question:

    http://caseypeicott.com/index2.html

    If, when the page first loads, you check out the buttons coming down and unfolding from the top of the scene, you'll see that they'll begin to play their unfold animation, stop in mid-animation, than start over and play though. This is very annoying of course, but I can't for the life of me figure out what is causing it. Have any of you seen something like this before? Any advise? Thanks in advance,

    Joe

  2. #2
    Didn't do it. japangreg's Avatar
    Join Date
    Mar 2001
    Location
    \o/ |o| |o_ /o\
    Posts
    784
    Hey, KingJoe. That looks like a nice navigation system; I hope you can work out that bug.

    It appears that the animation is attempting to play before the "folded" version is fully down. In order to help you with this problem, it'd be useful if you could post the exact code and technique you are using for this effect.

    In other words, are you tweening the motion of the menus decending or moving them by action script? And if so, what script? What script do you have within the menu movie clips themselves?

    Sorry I can't be of more immediate help, but if you post the above information, I'm sure you will find the answer you are looking for.

    hth
    japangreg

  3. #3
    Senior Member
    Join Date
    Dec 2000
    Posts
    222
    Hey, thanks for the reply. I figured out an acceptable (though not totally desirable) work around:

    I was using motion tween to bring the menus down, and I ad it set up so that the movie clip of the button unfolding would begin while that button was still decending. I'm not quite sure why, but that was causing the problem. If I allow the menu button to get to the bottem an stop before the unfolding animation begins, the button won't loop. Not exactly the effect I was going for, but certainly good enough. Thanks for the reply,

    Joe


  4. #4
    Didn't do it. japangreg's Avatar
    Join Date
    Mar 2001
    Location
    \o/ |o| |o_ /o\
    Posts
    784
    No problem, KingJoe. But don't give up on the effect you had originally intended. What type of scripting are you using on your buttons to make them open? If you post the particulars here, I'm sure you can figure it out and not have to settle for a undesired "work around."

    japangreg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center