For example:
// code //
var tweener = Tween.new()
addchild(tweener)
tweener.interpolate(self,"x",0,100,1,Tween.TRANSLINEAR,Tween.EASEOUT)
tweener.connect("tweencomplete",tweener,"start")
tweener.start()
//-- --//
Obviously, it won't call the function without errors because "start" doesn't ask for arguments and the "tweencomplete" gives it 2.
I know you can create a function "ontween_complete", but is there any way of do it directly?
I just use Tween as example, but it can happen in many cases.
Thanks!
Carlos