How do you remove something from the screen?

I have a collection of maplines and I need to zoom in. To do this I need to change the x1,y1 and x2,y2 of the lines that map up the map. Everything works except can not remove the old lines from the display. Here is my code. I am two days into Corona from a VB.Net background and will gladly accept any tips/tricks that you have.

Thanks,

Dave

–Creates the mapLines
local function createLines()

–Remove the current Maplines
for i,v in ipairs(mapLines) do
maplines[i]:removeSelf()
table.remove (mapLines,i)
end
–Parse the saved string and create the maplines
for i,v in ipairs(OriginalMapLines) do
local list=split(v,"\ ")
local x1 =list[1]
local x2 =list[3]
local y1 =list[2] * -1
local y2 =list[4] * -1

local myLine=newLine (x1,y1,x2,y2)
table.insert( mapLines, myLine )
end
end [import]uid: 18679 topic_id: 5282 reply_id: 305282[/import]