[ 3 posts ]

jrussbowman

  • Joined: Sat Oct 10, 2009 10:22 am
  • Posts: 7
  • Offline
  • Profile

I have an animation that won't restart after being paused

Post Posted: Fri Apr 30, 2010 6:21 pm
+0-
Code can be seen here http://gist.github.com/385978, and can be seen live at http://www.unscatter.com/

I think this may have broken with 3.1.0, though maybe earlier. I've written a newsticker using yui3 that pauses when you mouse over it, then is supposed to restart after your mouseout. It uses pause to pause, then run() to unpause. The running state does change (ie ticker.get('running') changes to true on the run() statement), but the actual animation in the browser doesn't continue. Can someone tell me if I'm doing something wrong, or if there is a bug?

K o v a c s

  • Username: Kovacs
  • Joined: Wed Feb 11, 2009 8:55 am
  • Posts: 100
  • Location: The Biggest Little City in the World
  • Offline
  • Profile
Tags:

Re: I have an animation that won't restart after being pause

Post Posted: Sun May 02, 2010 5:54 pm
+0-
"ticker" isn't defined according to Firebug.

jrussbowman

  • Joined: Sat Oct 10, 2009 10:22 am
  • Posts: 7
  • Offline
  • Profile

Re: I have an animation that won't restart after being pause

Post Posted: Mon May 03, 2010 4:49 am
+0-
Weird, it's defined when I run. I was even able to do an alert(ticker.get('running')); and get it to return True, event though the animation itself wasn't playing, and this was run immediately after the ticker.run() call. Firebug isn't giving me that error either.
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum