{ "id": "108870", "key": "ALOY-494", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "14872", "description": "2013 Sprint 03", "name": "2013 Sprint 03", "archived": true, "released": true, "releaseDate": "2013-02-11" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-02-09T01:26:56.000+0000", "created": "2013-01-30T17:22:27.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-22T13:21:06.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "The tag/style/controller doesn't support setting the images property of an imageview to an array of image files to create a flipbook animation.\r\n\r\nAdapting the example from the old kitchen sink:\r\n\r\nView (index.xml)\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nTSS \r\n{code}\r\n\".container\": {\r\n\tbackgroundColor:\"white\"\r\n},\r\n\"#animImage\": {\r\n\twidth: 300,\r\n\theight: 300,\r\n} \r\n{code}\r\n\r\nController (index.js)\r\n{code}\r\nvar imageArray = [];\r\nfor(var i=1; i<18; i++) {\r\n\timageArray.push('campFire'+i+'.gif');\r\n}\r\n$.animImage.images = imageArray;\r\n//$.animImage.image = 'campFire1.gif'; // uncomment & static image visible\r\n\r\n$.index.open();\r\n{code}\r\n\r\nI grabbed the images from KitchenSink/Resources/images/campFire*.gif. I renamed all the 01, 02, etc. images to campFire1.gif, etc. so my loop could be simpler.", "attachment": [], "flagged": false, "summary": "ImageView doesn't support animated images ", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": "Alloy 0.3.6, TiSDK v3.0.0GA", "comment": { "comments": [ { "id": "237716", "author": { "name": "bartrobot", "key": "bartrobot", "displayName": "Bart Seaman", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The code provided is missing the function call to play the animation. Add the following line to the end of your controller:\r\n{code:javascript}\r\n$.animImage.start()\r\n{code}", "updateAuthor": { "name": "bartrobot", "key": "bartrobot", "displayName": "Bart Seaman", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-08T01:49:47.000+0000", "updated": "2013-02-08T01:49:47.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }