I’m banging my head against the wall here. No matter what I try I can’t get the spinner syntax correct.
local spinner = widget.newSpinner{
sheet="img/spinner.png",
data={width=44, height=44, numFrames=1, sheetContentWidth=44, sheetContentHeight=44},
width=44, height=44,
startFrame=1, frameCount=1};
When the app is run I get a Runtime error which points to the line above:
Runtime error
?:0: attempt to index a nil value
stack traceback:
[C]: ?
?: in function <?:166>
(tail call): ?
...x2m10pjl28z8vxsh40000gn/T/TemporaryItems/93/help.lua:168:
I’ve double-checked that the image is in the right place, and just about everything else (so I think). [import]uid: 70847 topic_id: 35154 reply_id: 335154[/import]