[TIMOB-2954] iOS: Programmatically change the url property of Ti.Media.createSound
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-06-28T13:52:35.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 2.0.1 |
| Components | iOS |
| Labels | training |
| Reporter | Rick Blalock |
| Assignee | Neeraj Gupta |
| Created | 2011-04-15T03:33:39.000+0000 |
| Updated | 2017-03-07T18:28:39.000+0000 |
Description
Currently it's not possible to programmatically set the url
property of Ti.Media.createSound.
HD Ticket: http://developer.appcelerator.com/helpdesk/view/63241">http://developer.appcelerator.com/helpdesk/view/63241
Tested on 1.5.1
*NOTE*: Although there is no sample code, this seems like a fairly straightforward feature request.
Works fine on the iOS simulator, using TiSDK 2.0.2GA. Ticket closed.var win = Ti.UI.createWindow({ backgroundColor: "white" }); var player = Ti.Media.createSound({url:"sound.wav"}); player.play(); Ti.API.info("Is sound playing: " + player.playing); win.open();Closing ticket due to time passed.