2016-09-23, 09:56
Hello Everyone, I need yourhelp..
I'm trying become skinner . I want to change Background Image using button.
So when the button is pressed, the Background Image will switch directly with my picture..
This is my code,,
I'm using SetImage,but it'snot directly switch
Thanks.
Best regards,
Enic
I'm trying become skinner . I want to change Background Image using button.
So when the button is pressed, the Background Image will switch directly with my picture..
This is my code,,
Code:
<control type="button">
<description>change background</description>
<posx>130</posx>
<posy>250</posy>
<width>120</width>
<height>110</height>
<align>center</align>
<aligny>center</aligny>
<texturefocus>circle_theme1.png</texturefocus>
<texturenofocus>circle_theme2.png</texturenofocus>
<onclick>Skin.SetImage(SKINDEFAULT2.jpg,special://skin/backgrounds/,.jpg)</onclick>
<enable>Skin.HasSetting(UseCustomBackground)</enable>
</control>
I'm using SetImage,but it'snot directly switch
Thanks.
Best regards,
Enic