having trouble adding a local slide

I want to add individual slides of my own with a back button as well.
attempt to call global ‘renderslide’ a nil value

[code]

local thisSlideGroup

–create 4 sample slides using a loop:
for i=1,4 do

thisSlideGroup = display.newGroup() --IMPORTANT!!! Create a new display group for each slide!
–localGroup:insert(thisSlideGroup) --ACTIVATE THIS LINE IF USING DIRECTOR

– slide 1
myInfo_img = { “screen1.png” }
textInfo_tbl = { “Slider”, “by Microsheep”, “microsheep.com” }
btnInfo_tbl = { “microsheep_logo_white_med” }
slide_sprt = renderSlide( 1, textInfo_tbl, btnInfo_tbl )
btn_sprt = renderSlideBtn( 1, 256 )
– slider
slider.addSlide( slide_sprt, btn_sprt, myInfo_img )

–> This sets the back button

local backbutton = display.newImage (“backbutton.png”)
backbutton.x = 160
backbutton.y = 350
localGroup:insert(backbutton)
–> This places our “back” button

local function pressBack (event)
if event.phase == “ended” then
director:changeScene (“menu”)
end
end

backbutton:addEventListener (“touch”, pressBack)

[/code] [import]uid: 88495 topic_id: 31425 reply_id: 331425[/import]