Dear Corona app developers,
I would like to place a background image behind scrolled text. Therefore, readers can see the beautiful background image when they read.
Unfortunately, the scrolled text always blocks me from seeing the image.
– scrollView
local lotsOfText = “TEXT. TEXT. TEXT”
local lotsOfTextObject = display.newText(lotsOfText, 0, 0,display.contentWidth-100, 0, “Helvetica”, 40, display.contentWidth*.05)
lotsOfTextObject:setTextColor( 0,0,255 )
lotsOfTextObject:setReferencePoint( display.TopCenterReferencePoint )
lotsOfTextObject.x = display.contentCenterX
lotsOfTextObject.y = 0
scrollView:insert(lotsOfTextObject)
– background image
local backgroundimage = display.newImage (“background.png”)
backgroundimage.x = display.contentWidth / 2;
backgroundimage.y = display.contentHeight / 2;
localGroup:insert(backgroundimage)
localGroup:insert(scrollView)
Can anyone here show me how to solve this problem?
I have also tried “lotsOfTextObject.hasBackground = false”
Unfortunately, it didn’t work.
Thank you in advance for your assistance.
Henry