2010-06-10, 11:19
Hi
Im trying to put some a shadow image(png) on a scaling thumb image.
shadow
<control type="image">
<posx>39</posx>
<posy>218</posy>
<width>376</width>
<height>444</height>
<aspectratio scale="true">keep</aspectratio>
<texture diffuse="thumb-shadow33.png" background="true">$INFO[ListItem.Icon]</texture>
</control>
thumb
<control type="image">
<posx>50</posx>
<posy>215</posy>
<width>355</width>
<height>450</height>
<aspectratio scalediffuse="true">keep</aspectratio>
<texture diffuse="thumb-diffuse.png" background="true">$INFO[ListItem.Icon]</texture>
<fadetime>IconCrossfadeTime</fadetime>
<visible>![!stringcompare(ListItem.Label,..) + [Container.Content(Years) | Container.Content(Actors) | Container.Content(Directors) | Container.Content(Studios) | Container.Content(Genres)]]</visible>
</control>
all i did is copy the original which is the one labled thumb and i changed it to the one labled shadow. what happens is i get a duplicate of the thumb image in the shadow(diffused). i tried to change
<texture diffuse="thumb-shadow33.png" background="true">$INFO[ListItem.Icon]</texture>
to
<texture>thumb-shadow33.png</texture>
but then for some reason it stops scaling the image it stays frozen to one size were as the thumb keeps changing size.
how can i add the shadow and to make it change scale just like the thumb does. i want b oth the thumb and shadow
sorry if its not clear i dont no how to skin i just learn by trail and error but i cant seem to make this work
thanks
Im trying to put some a shadow image(png) on a scaling thumb image.
shadow
<control type="image">
<posx>39</posx>
<posy>218</posy>
<width>376</width>
<height>444</height>
<aspectratio scale="true">keep</aspectratio>
<texture diffuse="thumb-shadow33.png" background="true">$INFO[ListItem.Icon]</texture>
</control>
thumb
<control type="image">
<posx>50</posx>
<posy>215</posy>
<width>355</width>
<height>450</height>
<aspectratio scalediffuse="true">keep</aspectratio>
<texture diffuse="thumb-diffuse.png" background="true">$INFO[ListItem.Icon]</texture>
<fadetime>IconCrossfadeTime</fadetime>
<visible>![!stringcompare(ListItem.Label,..) + [Container.Content(Years) | Container.Content(Actors) | Container.Content(Directors) | Container.Content(Studios) | Container.Content(Genres)]]</visible>
</control>
all i did is copy the original which is the one labled thumb and i changed it to the one labled shadow. what happens is i get a duplicate of the thumb image in the shadow(diffused). i tried to change
<texture diffuse="thumb-shadow33.png" background="true">$INFO[ListItem.Icon]</texture>
to
<texture>thumb-shadow33.png</texture>
but then for some reason it stops scaling the image it stays frozen to one size were as the thumb keeps changing size.
how can i add the shadow and to make it change scale just like the thumb does. i want b oth the thumb and shadow
sorry if its not clear i dont no how to skin i just learn by trail and error but i cant seem to make this work
thanks