- 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... ![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
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!
Best regards
PussyWagon
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