2015-10-28, 04:08
cant remember offhand if onclick has any control in a list? if so..
<control type="list" id="50">
onclick skin.reset(fire)
onclick skin.setstring(fire,1)
focusedlayout
button
onfocus skin.setstring(fire,1)
/button
image
animation condition="skin.string(fire,)" effect zoom 150
/image
If not then maybe other way round
<control type="list" id="50">
onup/down/left/right skin.setstring(fire,1)
focusedlayout
button
onfocus skin.setstring(fire,1)
onclick skin.reset(fire)
onclick skin.setstring(fire,1)
/button
image
animation condition="skin.string(fire,)" effect zoom 150
/image
<control type="list" id="50">
onclick skin.reset(fire)
onclick skin.setstring(fire,1)
focusedlayout
button
onfocus skin.setstring(fire,1)
/button
image
animation condition="skin.string(fire,)" effect zoom 150
/image
If not then maybe other way round
<control type="list" id="50">
onup/down/left/right skin.setstring(fire,1)
focusedlayout
button
onfocus skin.setstring(fire,1)
onclick skin.reset(fire)
onclick skin.setstring(fire,1)
/button
image
animation condition="skin.string(fire,)" effect zoom 150
/image