2005-06-22, 09:02
i currently use the pm3 skin with a mod to use a buttons scroller. i'd like to add an animated gif at the front (left side) of the menu but it seems that i'm need to make the animated button the entire size of the scroller?
can i just put an image at the front onverlaying the current background and use something like a <visible> tag using some sort of .hasfocus (maybe this is a feature request)?
or do i have the code incorrect in my buttons scroller?
the gif i want to use is only 34x38
the code below stretches the gif to the size of the scroller and does not keep the aspect ratio.
current code...
thanks for the help!
can i just put an image at the front onverlaying the current background and use something like a <visible> tag using some sort of .hasfocus (maybe this is a feature request)?
or do i have the code incorrect in my buttons scroller?
the gif i want to use is only 34x38
the code below stretches the gif to the size of the scroller and does not keep the aspect ratio.
current code...
Quote:<!-- button scroller -->
<controlgroup>
<control>
<description>home buttons</description>
<type>buttonscroller</type>
<id>300</id>
<posx>80</posx>
<posy>222</posy>
<width>256</width>
<height>33</height>
<buttongap>6</buttongap>
<numbuttons>5</numbuttons>
<orientation>vertical</orientation>
<align>left</align>
<aligny>center</aligny>
<movement>0</movement>
<defaultbutton>3</defaultbutton>
<alpha>0</alpha>
<wraparound>yes</wraparound>
<smoothscrolling>no</smoothscrolling>
<font>special13</font>
<onleft>9</onleft>
<onright>9</onright>
<onup>300</onup>
<ondown>300</ondown>
<textoffsetx>40</textoffsetx>
<texturefocus>home_focus.gif</texturefocus>
<texturenofocus>-</texturenofocus>
<textcolor>ffffffff</textcolor>
</control>
</controlgroup>
thanks for the help!