can you please help me with the following. I’m converting an app built with a previous version of Corona. It keeps telling me “object:setReferencePoint() is only available in v1Compatibility mode. Use anchor points instead.”
\_G.buttonShowInfo = display.newImageRect( \_G.imagePath.."info.png", display.contentWidth\*0.12, display.contentHeight\*0.08) --\_G.buttonShowInfo:setReferencePoint( display.BottomLeftReferencePoint ) \_G.buttonShowInfo:setReferencePoint( display.BottomRightReferencePoint )
I tried switching it to the following, but no luck.Could you point me in the right direction?
\_G.buttonShowInfo = display.newImageRect( \_G.imagePath.."info.png", display.contentWidth\*0.12, display.contentHeight\*0.08) \_G.buttonShowInfo:info.anchorX = 0.0; \_G.buttonShowInfo:info.anchorY = 1.0;