Hi !
I just want to know how to make the simplest switch by using my own pictures.
I would like it to work like this. (see below)
But is does´nt! So apperently there´s something wrong with this.
Can someon help me with how it should look like?
(Yes i require widgets etc, it´s just my switch code that makes it crash!)
Thank you so much!
[code]
local swtBtn = widget.newSwitch
{
width=300,
height=150,
frameOn=“bild1.png”,
frameOff=“bild2.png”,
onPress=function1,
onRelease=function2,
}
[code]
[import]uid: 197493 topic_id: 36032 reply_id: 336032[/import]