Seek bar marker as label
#1
Not sure what else to call it, but I want to have a label for the seek time of a movie which actually moves back and forth with the seek bar. Right now it just seems you can only have a texture as part of the slider control. Is there a solution or is this a feature request?
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Reply
#2
Just slide it along with the progress bar:
<animation effect="slide" start="0" end="19.2" time="100" condition="Integer.IsGreater(Player.Progress,1)" reversible="false">Conditonal</animation>
<animation effect="slide" start="0" end="19.2" time="100" condition="Integer.IsGreater(Player.Progress,2)" reversible="false">Conditonal</animation>
etc
Reply
#3
Would that accurately track the progress bar, though? I need it to effectively *be* the seek bar marker.
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Reply
#4
Well, you need to divide the length of the progress bar /100 and use those pixels in each slide animation. My example was from a label with the progressed time I used to slide along with a fullscreen progress bar (1920px). In my example I needed to start the animation with progress greater than 5 and end it before 96 otherwise the text would fall off screen, but it followed it accurately.

There's no support for text in our current slider control.
Reply
#5
Okay, new problem. What you describe works, but it only updates with the progress bar (which I appreciate is my fault for being vague). The slider which controls the progress bar is what I actually need the label for - is there any way to pair it with that?
www: deadendthrills.com
follow on twitter for updates, etc: @deadendthrills
Reply
#6
I haven't tried it, but I guess doing the slide condition based on Control.GetLabel(slider id) might work?
Reply
#7
I did mine in VideoFullscreenScreen - https://github.com/HitcherUK/skin.ftv/bl...n.xml#L282 - using textures as padding.
Reply

Logout Mark Read Team Forum Stats Members Help
Seek bar marker as label0