Hello,
I have more than one transitions working at the same time, how can I know which transition ends at onComplete function?
Thanks.
Hello,
I have more than one transitions working at the same time, how can I know which transition ends at onComplete function?
Thanks.
Hi. Check out this post as it provides a solution to what you’re trying to do. http://stackoverflow.com/questions/6716545/how-to-transfer-parameters-to-the-function-in-oncomplete-event-lua-corona
Regards,
Kevin
Hi @yusufozk,
See #1 in this FAQ as well. The first argument in the transition listener is actually the object reference too, if you code the “onComplete” reference as shown.
http://www.coronalabs.com/blog/2012/08/15/faq-wednesday-display-object-listeners/
Hope this helps,
Brent
Hi. Check out this post as it provides a solution to what you’re trying to do. http://stackoverflow.com/questions/6716545/how-to-transfer-parameters-to-the-function-in-oncomplete-event-lua-corona
Regards,
Kevin
Hi @yusufozk,
See #1 in this FAQ as well. The first argument in the transition listener is actually the object reference too, if you code the “onComplete” reference as shown.
http://www.coronalabs.com/blog/2012/08/15/faq-wednesday-display-object-listeners/
Hope this helps,
Brent
Hello Kevin Lindroos and Brent Sorrentino,
These helped me very much, thank you.
Hello Kevin Lindroos and Brent Sorrentino,
These helped me very much, thank you.