2011-04-10, 07:18
I'm working on a coverflow view that has an element that fades from 0 to 100% opacity when I move to the next item. The problem is that it flashes at 100% opacity for one frame first then goes to zero and starts the animation. Is there a way to stop the texture from flashing for that one frame? Everything else works perfectly.
This is the code I've ended up with:
This is the code I've ended up with:
Code:
<control type="group">
<posx>490</posx>
<visible>Container.OnNext</visible>
<animation type="Hidden" reversible="false">
<effect type="fade" start="0" end="100" time="250" />
<effect type="rotatey" center="470" start="0" end="-60" time="250" tween="quadratic" easing="out" />
</animation>
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>300</width>
<height>440</height>
<texture flipx="true" diffuse="movieposter_mask.png" scalediffuse="false">poster_glass.png</texture>
<aspectratio>stretch</aspectratio>
<colordiffuse>ffffffff</colordiffuse>
</control>
</control>