i found issue here
trace("music pos "+music.position);
slider.value = music.position / music.duration;
trace out:
Sound.hx:119: music pos 2
Sound.hx:119: music pos 2
Sound.hx:119
Sound.hx:119: music pos 2
Sound.hx:119: music pos 2
Sound.hx:119
Sound.hx:119: music pos 2
this log will continue some seconds later, possiton is noraml out , but no sound out.
Sound.hx:119: music pos 2
8
Sound.hx:119: music pos 2
Sound.hx:119
Sound.hx:119: music pos 2.01676845550537
Sound.hx:119
Sound.hx:119: music pos 2.03444004058838
Sound.hx:119
Sound.hx:119: music pos 2.0510995388031
hi,guys: I used Heaps[2.0.0] Hashlink[lasted]
run the Sound demo ,no sound out.
i found issue here trace("music pos "+music.position); slider.value = music.position / music.duration; trace out: Sound.hx:119: music pos 2 Sound.hx:119: music pos 2 Sound.hx:119 Sound.hx:119: music pos 2 Sound.hx:119: music pos 2 Sound.hx:119 Sound.hx:119: music pos 2
this log will continue some seconds later, possiton is noraml out , but no sound out. Sound.hx:119: music pos 2 8 Sound.hx:119: music pos 2 Sound.hx:119 Sound.hx:119: music pos 2.01676845550537 Sound.hx:119 Sound.hx:119: music pos 2.03444004058838 Sound.hx:119 Sound.hx:119: music pos 2.0510995388031