Jump to content
Search Community

junta

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by junta

  1. junta

    YoYo

    That seemed to work. The first time I tried the code I used the instance name and not "this", would that have effected it at all? Maybe I just didn't type out the code correctly the first time, I am not sure. Thanks for the help
  2. junta

    YoYo

    Thank you for the tips. I tried the code and nothing change for me. When you first rollover it and rollout and roll back over before the tween ends, the sliding motion shortens..basically the image doesn't slide all the way to the x coordinate. If you do it again even after letting the tween finish, the motion gets even shorter. Eventually rolling over the button doesn't trigger any tween at all. Do you have any thoughts on this? Thank you for your time once again!
  3. junta

    YoYo

    I was thinking that onRollOver the tween would complete even onRollOut. I am not sure what visually would be best when you roll back over. Not sure if it would be better to let the original tween finish or to restart it. So I would be open to either way. Thanks again
  4. junta

    YoYo

    Thanks Carl, it did seem like I wasn't doing the YoYo correct. I am still confused about how I stop the tween from acting crazy when rolling in and out though. Can you point me in right direction to correct this? Thanks
  5. junta

    YoYo

    I am trying to use yoyo and I am having an issue. When you rollover the button the yoyo effect starts but if I rollout and then roll back over before the tween is done the yoyo animation gets screwed up. I assume I need some sort of code that says let the tween finish, but I am not really sure where to start with it. Here is my code below...thanks for the help! Wiggle_JFR_Btn.onRollOver = function(){ TweenMax.to(this, .1, {_x:311, yoyo:5}); }
×
×
  • Create New...