Can't Get Transition To Repeat

I’ve been trying everything I know to get this to work, but the transition will only run once then I dont see it anymore

[code]

local bubbles1 = display.newImageRect (“images/bubbles1.png”, 59, 81 )
bubbles1:setReferencePoint( display.CenterReferencePoint )
bubbles1.x = 512; bubbles1.y = 900
localGroup:insert(bubbles1)


local function floatBubbles1(target)
local floatBubbles1 = transition.to( target, { time=3000, y=-50, onComplete=floatBubbles1 } )
end

floatBubbles1()
[/code] [import]uid: 14967 topic_id: 11787 reply_id: 311787[/import]

[lua]local rect = display.newRect(0,0,50,50)

function one()
transition.to(rect,{time = 500,x = 200,onComplete = two})
end
function two()
transition.to(rect,{time = 500,x = 50,onComplete = one})
end
one()[/lua] [import]uid: 12482 topic_id: 11787 reply_id: 43011[/import]