I tried to use transition.cancel() to kill a transition.dissolve but I get an error:
[lua]xxx=transition.dissolve(text[i].activeText,text[i],trans2,delay2)
transition.cancel(xxx)[/lua]
and I get this error message on the terminal window:
[text]
Runtime error
?:0: attempt to index a nil value
stack traceback:
[C]: ?
?: in function ‘cancel’
…ne Dev/Corona/xxx/RSSound/syncSound.lua:83: in function ‘saySentence’
…/iPhone Dev/Corona/xxx/RSSound/main.lua:171: in function ‘_listener’
?: in function <?:413>
?: in function <?:186>
[/text]
It works fine when I use it with transition.to
Seems like an oversight?
[import]uid: 9905 topic_id: 4012 reply_id: 304012[/import]