Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Cannot set looping property within createSound

I've ran into an issue where a sound file i wanted to loop wasn't and i've tracked it down to the fact that specifying looping = true inside the createSound definition is ignored, however setting it outside the definition (sound.looping = true) works as intended.

I've noticed that there are quite a few properties for various widgets that can only be set outside the definition. If this isn't a bug, could someone perhaps explain the justification to designing it this way? And also perhaps note inside the API documentation which properties cannot be defined outside the definition (perhaps some sort of symbol like a star or something).

— asked September 2nd 2010 by Alex Borisov
  • android
  • createsound
  • looping
  • mobile
1 Comment
  • this is a great question! I've noticed this as well, and i'd love to know the answer

    — commented September 3rd 2010 by karlo kilayko

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.