Per the title. I upgraded to the new Starter release and now my app’s button images don’t load. They show up as just grey buttons.
Anyone else? Or does anyone know why?
Thanks
-Jim
Per the title. I upgraded to the new Starter release and now my app’s button images don’t load. They show up as just grey buttons.
Anyone else? Or does anyone know why?
Thanks
-Jim
Per the title. I upgraded to the new Starter release and now my app’s button images don’t load. They show up as just grey buttons.
Anyone else? Or does anyone know why?
Thanks
-Jim
Nevermind, it looks like widgit.newImage has changed. The old values:
local btn\_character = widget.newButton{ default = "helm.png", over = "helm\_over.png", onPress = button1Press, onRelease = button1Release, label = "Character", emboss = true }
New values:
local btn\_character = widget.newButton{ left = 100, top = 200, defaultFile = "helm.png", overFile = "helm\_over.png", onEvent = handleButtonEvent, id = "btn\_character", label = "Character", emboss = true }
After updating the values to the new format everything worked fine.
Per the title. I upgraded to the new Starter release and now my app’s button images don’t load. They show up as just grey buttons.
Anyone else? Or does anyone know why?
Thanks
-Jim
Nevermind, it looks like widgit.newImage has changed. The old values:
local btn\_character = widget.newButton{ default = "helm.png", over = "helm\_over.png", onPress = button1Press, onRelease = button1Release, label = "Character", emboss = true }
New values:
local btn\_character = widget.newButton{ left = 100, top = 200, defaultFile = "helm.png", overFile = "helm\_over.png", onEvent = handleButtonEvent, id = "btn\_character", label = "Character", emboss = true }
After updating the values to the new format everything worked fine.