Thanks for guiding me Rob, so here are the things I tried that led to the answer:
So I tried moving the background in front of scrollView, scroll view overrides it’s own white screen over my background.
Adding background to scroller allows you to put it in behind other objects but this isn’t optimal because now your background scrolls around as well.
This (I’m assuming the older version) says to put background in param with a string. It didn’t want to work for me: http://jp.anscamobile.com/dev/reference/index/widgetnewscrollview/index.html
And then I found the newer version which gave me the option of removing the default white background layer added by the widget. http://docs.coronalabs.com/api/library/widget/newScrollView.html
So here is my updated code that works:
[lua]
local background = display.newImageRect (“background.png”, display.contentWidth, display.contentHeight/3)
background.x = display.contentWidth/2
background.y = display.contentHeight/2
local widget = require “widget”
local scroller = widget.newScrollView{
– width = 320,
--height = 480,
scrollWidth = 700,
scrollHeight = 1000,
hideBackground = true
}
scroller.content.horizontalScrollDisabled = true
local obj = display.newImage( “pic1.png”)
obj.x = 150
obj.y = 290
scroller:insert( obj )
[/lua]