{ "id": "62683", "key": "TIMOB-2051", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2011-04-15T03:09:06.000+0000", "created": "2011-04-15T03:09:05.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "maskedimage", "touchmove" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:04:17.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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

I created an object by\nTitanium.UI.createMaskedImage,so,my be I can call\nthe object MaskedImage,and I tried to move this\nobject on a ScrollView,but it works so strange,I moved only 1\ninch,but the image GONE!so i caught the e of the\nfunction,and found the x nearly not change,and the\ny grow so fast.
\nhere's my code-----

\n
\nvar image = Titanium.UI.createMaskedImage({
\n
\n\n\n
\n
\n
\nheight: 40,\nwidth: 40,\nimage: 'chat.png',\nmode: Titanium.UI.BLEND_MODE_SOURCE_IN,\nzIndex: 2\n
\n
\n\n\n
\n});\nimage.addEventListener('touchmove', function(e){\n\n
\n
\nTitanium.API.info('touch moving now ...');\nTitanium.API.info(e);\nvar newX = e.x + image.animatedCenter.x - image.width / 2;\nvar newY = e.y + image.animatedCenter.y - image.height / 2;\nimage.animate({\n    center: {\n        x: newX,\n        y: newY\n    },\n    duration: 1\n});\n
\n
\n\n\n
\n});\n
\n

{html}", "attachment": [ { "id": "18091", "filename": "masked.png", "author": { "name": "christiank", "key": "christiank", "displayName": "ChristianK", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:06.000+0000", "size": 132194, "mimeType": "image/png" } ], "flagged": false, "summary": "touchmove event on MaskedImage works STRANGE", "creator": { "name": "christiank", "key": "christiank", "displayName": "ChristianK", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "christiank", "key": "christiank", "displayName": "ChristianK", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127367", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

There is no Ti.UI.MaskedImage object. Invalid.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:07.000+0000", "updated": "2011-04-15T03:09:07.000+0000" }, { "id": "410907", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:04:17.000+0000", "updated": "2017-03-09T23:04:17.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }