Hello Everyone, I need yourhelp..
I’m trying become skinner . I want to change ImageBackground using button.
So when the button is pressed, the ImageBackground 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