animation movement help

I noticed its saying assertion failed for the level its being called for, which means there is something wrong with the level code then. The only thing is that I can’t see why it would be saying assertion failed. here’s the code for that [code] module(…, package.seeall)

–_G.playWorld1Soundtrack()
–timer.cancel

require “sprite”

if world1Soundtrack then
timer.cancel(_G.bbbbbb)
_G.bbbbbb = nil
else
_G.playWorld1Soundtrack()
–_G.bbbbbb = timer.performWithDelay(1, _G. playWorld1Soundtrack, 0)
end

–local world1Soundtrack = audio.loadStream(“AClimber_World_1.mp3”)
–local world1SoundtrackOn = false

–function music()
–if (world1SoundtrackOn == false) then
–world1SoundtrackOn = true
–audio.play(world1Soundtrack)
–elseif (world1SoundtrackOn == true) then
–end
–end
–music()

function new()
local localGroup = display.newGroup()

local background = display.newImageRect(‘1-1.png’, 320, 480, true)
background.x = display.contentWidth / 2
background.y = display.contentHeight / 2

–local myText = display.newTextRect( “Area Complete!”, 0, 0, “Helvetica”, 16 )
–myText:setTextColor(0, 0, 255)

local endButton = display.newImageRect(‘endbutton.png’, 22, 44, true)
endButton:setReferencePoint(display.CenterReferencePoint)
endButton.x = 228
endButton.y = 22
endButton.scene = “onetwo”

local tank = require “tank”
tank.setStartPoint(35, 30)
–print(“occured”) [import]uid: 94237 topic_id: 21559 reply_id: 88551[/import]

Do you have a copy of the error? [import]uid: 10389 topic_id: 21559 reply_id: 88559[/import]

the error says:
Director ERROR: failed to execute new( params ) function on oneone

assertion failed! [import]uid: 94237 topic_id: 21559 reply_id: 88568[/import]

You don’t seem to be inserting your objects into localGroup in the above code. [import]uid: 52491 topic_id: 21559 reply_id: 88577[/import]