everygoodboy
2007-05-14, 07:34
Hi,
I'm still trying to get my head around fades, can anyone help?
I've got text buttons I need to fade. I've tried all sorts of things.
I'm look for having the text buttons to be at 25% on load, fade to 100% on focus and fade back 25% for no focus. At the moment i've got (truncated):
<control type="group">
<animation effect="fade" time="100" end="25">WindowOpen</animation>
<control type="button" id="3">
<label>music</label>
<animation effect="fade" time="100" start="25" end="100" condition="Control.HasFocus(3)">Conditional</animation>
</control>
When I view this, onfocus fades seem to be relative to the original 25%, so that 25% is the highest it ever gets (not 100%). I'm also having the same sort of troubles with using textures for buttons.
Can anyone help me clear up my fading issues? :)
Thanks,
Tyson
I'm still trying to get my head around fades, can anyone help?
I've got text buttons I need to fade. I've tried all sorts of things.
I'm look for having the text buttons to be at 25% on load, fade to 100% on focus and fade back 25% for no focus. At the moment i've got (truncated):
<control type="group">
<animation effect="fade" time="100" end="25">WindowOpen</animation>
<control type="button" id="3">
<label>music</label>
<animation effect="fade" time="100" start="25" end="100" condition="Control.HasFocus(3)">Conditional</animation>
</control>
When I view this, onfocus fades seem to be relative to the original 25%, so that 25% is the highest it ever gets (not 100%). I'm also having the same sort of troubles with using textures for buttons.
Can anyone help me clear up my fading issues? :)
Thanks,
Tyson