Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-604] Add ability to stop/start an animation

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:53:39.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.2.0
ComponentsiOS
Labelsn/a
ReporterNolan Wright
AssigneeBlain Hamon
Created2011-04-15T02:32:52.000+0000
Updated2011-04-17T01:53:39.000+0000

Description

add stop and stop methods to animation object

Comments

  1. Blain Hamon 2011-04-15

    Notes to self: Stopping an animation is done by specifying a new animation in its stead.

    view.animate({center:{x:5,y:5}});

    This, combined with a new property on the view, called 'animatedCenter', which reflects the current XY location of the view's animated version. Using

    view.animate({center:{x:view.animatedCenter.x,y:view.animatedCenter.y}});

    or

    view.animate({center:view.animatedCenter});

  2. Blain Hamon 2011-04-15

    Closed by 647dce1

  3. Jason Kritikos 2011-04-15

    Not sure this is working...

JSON Source