how to use the "CompleteListener" in "Text:applyInOutTransition"

Hi,

Please I want some samples of how to use the “CompleteListener” property in “Text:applyInOutTransition”?

NRA [import]uid: 40628 topic_id: 10734 reply_id: 310734[/import]

Either this way:

[lua]MyText:applyInOutTransition(
{

CompleteListener = function(event) print(“TRANSITION COMPLETE!”) end,

} )[/lua]

Or this way:

[lua]function MyListenerFunction(event)
{
print(“TRANSITION COMPLETE!”)
}

MyText:applyInOutTransition(
{

CompleteListener = MyListenerFunction,

} )[/lua]
[import]uid: 10504 topic_id: 10734 reply_id: 39019[/import]

Thanks [import]uid: 40628 topic_id: 10734 reply_id: 39038[/import]