Specially when the maskfile property is used.
If you use the maskfile and the app loses focus (i.e use take a phone call) on returning to the app everything around the masked area goes black…
anyway for me to fix this?
This is the code in its simplest terms…
[code]
local widget = require “widget”
local testImage =display.newImage(“bgimage.jpg”)
local scrollView = widget.newScrollView{
width = 256,
height = 320,
hideBackground = true,
scrollWidth = 768,
scrollHeight = 1024,
maskFile=“mask.png”,
listener = scrollViewListener
}
local myObject = display.newImage(“itemtoSroll.png” )
scrollView:insert( myObject )
[/code] [import]uid: 102413 topic_id: 25396 reply_id: 325396[/import]