Need some help with Filmstrip! (1 Viewer)

PussyWagon

Portal Pro
August 2, 2008
235
7
Could anyone tell me whats wrong in this code, as you can see in my image attached the thumbnail isn't centered in the frame for some weird reason! <thumbposX> and <thumbposY> is "0" which means my thumb should be in the upper left corner of my frame, well its in the left of the frame but not in the upper position! I have tried everything and this is driving me nuts... :(
And yes, I know <textureheight> is 10pixels less then width. But this is also weird, for some reason my frame wont be square if I have equal pixels! But I know my frame is 412x412 pixels. Why this?

Hope someone could help me out!

<control>
<description>Filmstrip view</description>
<type>filmstrip</type>
<id>50</id>
<onup>2</onup>
<onleft>2</onleft>
<posX>40</posX>
<posY>250</posY>
<width>1280</width>
<font>font12</font>
<spinColor>ffffffff</spinColor>
<scrollOffset>2</scrollOffset>
<spinPosX>1300</spinPosX>
<spinPosY>720</spinPosY>
<imageFolderFocus>cd_frame.png</imageFolderFocus>
<imageFolder>cd_frame.png</imageFolder>
<showFrame>true</showFrame>
<frameNoFocus>cd_frame.png</frameNoFocus>
<frameFocus>cd_frame.png</frameFocus>
<itemWidth>250</itemWidth>
<itemHeight>250</itemHeight>
<textureWidth>195</textureWidth>
<textureHeight>185</textureHeight>
<thumbWidth>194</thumbWidth>
<thumbHeight>194</thumbHeight>
<thumbPosX>0</thumbPosX>
<thumbPosY>0</thumbPosY>
<unfocusedAlpha>250</unfocusedAlpha>
<spinPosX>1162</spinPosX>
<spinPosY>7</spinPosY>
<spinWidth>54</spinWidth>
<spinHeight>68</spinHeight>
<textureUp>page_right_nofocus.png</textureUp>
<textureDown>page_left_nofocus.png</textureDown>
<textureUpFocus>page_right_focus.png</textureUpFocus>
<textureDownFocus>page_left_focus.png</textureDownFocus>
<thumbs flipY="true" diffuse="Thumb_Mask.png"></thumbs>
<thumbAnimation effect="zoom" start="100,100" end="130,130" time="200">focus</thumbAnimation>
<thumbAnimation effect="zoom" start="130,130" end="100,100" time="200">unfocus</thumbAnimation>
</control>



Best regards
PussyWagon
 

Attachments

  • temp.jpg
    temp.jpg
    224.3 KB

PussyWagon

Portal Pro
August 2, 2008
235
7
Ok, maybe my question was wrong formulated... :p
If I change it to 195 it gets more centrated yes, but still not perfect. But I cant get the thumb to be in top of the frame, I think the problem is the cover image is not square (ofcourse) and its not possible to change the aspect ratio. Not even if I use <keepaspectratio>no</keepaspectratio> to make it square with thumbsize!
I guess my only way is to use another cd_frame that is more suited for cd covers. And then using a square frame for everything else. ?
 

Users who are viewing this thread


Write your reply...
Top Bottom