{ "id": "63465", "key": "TIMOB-2833", "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": [ { "id": "11362", "description": "Mobile 1.8.0 M09", "name": "Sprint 2011-30", "archived": true, "released": true, "releaseDate": "2011-08-01" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-05T15:50:45.000+0000", "created": "2011-04-15T03:30:37.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "regression" ], "versions": [ { "id": "11231", "name": "Release 1.5.1", "archived": true, "released": true, "releaseDate": "2011-01-24" } ], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-11-05T15:50:45.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}
If I place an image in:
\r\nResources/iphone/images/myimage.png
\r\nand reference it in app.js as:
\r\n\r\nvar btn = Ti.UI.createButton({\r\n backgroundImage:'images/myimage.png',\r\n title:'foo'\r\n});
\r\n
\r\nit does not work - I have to place the image in:
\r\nResources/images/myimage.png
\r\nfor it to show up as the background image of my button. It's\r\npossible this extends to other resource types as well (JS files,\r\netc), but I have not tested that