This is my C#code:
Code:
private int count = 0;
public long ReturnSlider(string SLD)
{
long ret = -1;
switch (SLD.ToLower())
{
case "cpc_loading":
ret = 4096 * count;
count++;
count = count % 17;
break;
}
return ret;
}
This is my skin code, I'm using slider battery image to test:
Code:
Y01,"SLIDER_BATTERY\SLIDER_*.gif"
S01,596,59,47,34,596,59,47,34,H,01,"",0,"cpc_loading",""
thanks