In one of my corona apps, I've to apply transition to objects with certain id
. How can I do this?
local ball = display.newImage("ball.png")
-- sample, actually there are random no. of balls created at an instant.
ball.id = "ball_id"
transition.to(ball,{time=200,x=400})
-- here, instead of ball, i need to call all objects(if any) with id="ball_id"
Any advice is appreciable...