Jump to content
Search Community

carlson

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

carlson's Achievements

  1. My project is very similar to Microsoft powerpoint, user can define there own animation duration, in my situation, a user defined a 0.01s anim to make an element from scale100% to scale1%,and then he defined another anim to make the same element from scale100%(which is the last anim's finished style scale1%) to scale9999%,these two anim above are expected to behave like from scale1% to scale99%. but in fact,sometimes it's behave exactly what i want, but sometimes its behave like this: 0: scale 1% - scale 5% 1: scale 300% 2: scale 9% - scale 99% i have a map to save elements last style after each anim finished on callback function onCompelet,and next anim got the last style on its onUpdate callback i ask this question is trying to figure out is it the wrong time that i set&get the last style? thanks
  2. hi all, if browser fps is 60,then each frame last 16.7ms. the pic below is a very short anim(10ms),and current frame(frame1) end between anim1 start and end, i wonder what's the time ainm1 onUpdate&onComplete execute? is it the end of frame1?or the real time when anim1 end(10ms after anim1 start)? Any help would be greatly appreciated!
  3. thanks Cassie! solved problem perfectly
  4. Hi all, i want to add two anim on elements "block",but these two anims are in different timelines. in the first anim i want to make block rotate from 0 to 360, in the secont anim i want to make block translateX from -200 to 0, i need these two anim sequentially, but at the start, the block translate x to -200, and then start to rotate,when the rotate done,it begin to translate x to -200. i know it can be solved in exactly one timeline, but in my real project, i do need two timeline to solve other problems, so how can i fix this problem? Thanks for your help
×
×
  • Create New...