{ "id": "146408", "key": "AC-1379", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-09-30T00:49:02.000+0000", "created": "2015-03-30T23:34:48.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:47.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "I'll try to create a simple animation with opacity.\r\n\r\nSteps:\r\n1. Create imageview,\r\n2. Animate using this code\r\n$.Arrow.animate(\r\n{ opacity: 0.2, duration: 800 });\r\n\r\nwe have multiple Views in the app\r\nView 1: has an animation sequence: animation is started\r\nUser switches to View 2..3...\r\ncomes back to View 1:\r\nNow in View 1: the animation sequence is re-initiated and hence causes disruption\r\n\r\nthe question is:\r\n\r\n1. Is there a way i can stop (complete doesn't work) the animation and restart it when the views are switched? If so how would I approach this where do i stop/start the animation (what event) for this to happen? HOW (what command) do I use to stop/start the animation?\r\nPlease let me know and I appreciate this in advance!!\r\n\r\nThere's no limit as to how many times the user will comeback to the animation view.. they can go in and out, switch to different apps and relaunch the app, at all these points the animation is restarted in the view.\r\nTHANKS\r\nPrashant", "attachment": [], "flagged": false, "summary": "Animation reinitiates on view load", "creator": { "name": "psheth", "key": "psheth", "displayName": "Prashant Sheth", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "psheth", "key": "psheth", "displayName": "Prashant Sheth", "active": true, "timeZone": "America/Chicago" }, "environment": "Mac OSX Yosemite - Testing on iPhone Simulator - Titanium 3.5.1", "comment": { "comments": [ { "id": "349899", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "body": "[~prashant] can you please attach a test case?\r\n", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-04-16T22:42:35.000+0000", "updated": "2015-04-16T22:42:35.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }