Titanium Community Questions & Answer Archive

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

Not responding..

function newPuzzle(){
option = options[index];
index++;
label1.text = '';
R = 20;
for (var i = 0; i<option.length; i++){
    labCont[i] = Titanium.UI.createLabel({
    color:'#999',
    text: option.charAt(i),
    font:{fontSize:20,fontFamily:'Helvetica Neue'},
    textAlign:'center',
    height: 20,
    width:20,
    top: 50,
    left: R
});
labCont[i].addEventListener('click', eventLabCont);
win1.add(labCont[i]);
R = R+20;
}};

I have this code, and after 2, 3 times running this function, the app stops to work. But not always on the same index. What should the problem be?

— asked May 29th 2010 by Dimitar Spiroski
  • android
  • mobile
  • stop
  • working
0 Comments

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.