hello,
why i can not load an image in a widget button from an imagesheet ?
local cloudbutton=widget.newButton { defaultFile = "images/buttons/cloud.png", -- THIS WORK overFile = display.newImage(myImageSheet,sheetInfo:getFrameIndex("cloud\_over")), -- does not work width = 36, height = 36, x=centerX, y=0, id = "cloudButton", onEvent = onButtonEvent, }
Thank you