Hi Guys, am new to corona sdk.
I have a spinner widget that suppose to appear when i call spinner:start() but instead its appears immediately you enter a scene, below is my code and its not placed in any scene or event
local options = { width = 140, height = 140, numFrames = 1, sheetContentWidth = 140, sheetContentHeight = 140 } local spinnerSingleSheet = graphics.newImageSheet( "images/load/loading.png", options ) -- Create the widget local spinner = widget.newSpinner( { width = 140, height = 140, sheet = spinnerSingleSheet, startFrame = 1, deltaAngle = 10, incrementEvery = 10 } )