Zoom In/Out Effect with Object

Hey Guys,

Stupid question I’m having a little issues with my zoom in/out effect looking smooth, I am using the below code but when the transitions occur its looking very rugged like it zooms In then pinches back the original rather then slowly going back to the original scaling.

function animateTitle() function titleZoom() transition.to( title, {time=1000, transition=easing.inOutQuad, xScale=1.1, yScale=1.1, onComplete=animateTitle } ) end transition.to( title, {time=1000, transition=easing.inOutQuad, xScale=1.2, yScale=1.2, onComplete = titleZoom()} ) end animateTitle()

Try removing the brackets in the second onComplete: 

from:

onComplete = titleZoom**()**} )

to:

onComplete = titleZoom} )

Thanks that worked great … still find I make some of the noobish errors sometimes. 

Thanks again.

Try removing the brackets in the second onComplete: 

from:

onComplete = titleZoom**()**} )

to:

onComplete = titleZoom} )

Thanks that worked great … still find I make some of the noobish errors sometimes. 

Thanks again.