Can't cancel transition.dissolve

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]

The problem is the transition.dissolve is returning nil instead of a handle to the transition. I will file this as a bug.

Thanks,
-Tom [import]uid: 7559 topic_id: 4012 reply_id: 13117[/import]

Thanks, Tom! [import]uid: 9905 topic_id: 4012 reply_id: 13123[/import]

In talking to Walter about this he said that the API won’t be updated and to use two transition.to calls if you need better control of the dissolve. One call to fade out and another to fade in.

-Tom [import]uid: 7559 topic_id: 4012 reply_id: 13388[/import]

Can anybody tell me how to cancel the transition.dissolve.I tried doing that particular same thing and got that same error.Did somebody found the solution for that?Please help me as i am too stuck. [import]uid: 82446 topic_id: 4012 reply_id: 66672[/import]