When using visual logic you need a way to rewind the scene director. It's not easy because you get into conflicts.
I have managed it with a clock widget before but script is much easier.
Place this onSetText on your text object.
dim sd as xpscenedirector
scene.getscenedirectorbyname("your director", sd)
sd.playrange(0, sd.duration)
sd.autostop = true
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
------------------------------
Original Message:
Sent: 04-02-2023 23:27
From: Aaron
Subject: scoreboard update animation
UPDATE - I figured this out, kind of. I have the UpdateScore scene director trigger a 2nd scene director that has the display full, and that 2nd scene director stops the UpdateScore scene director at the end. I also had to add a trigger in the UpdateScene scene director to stop the 2nd one that I added. That allows the scene to play correctly in the sequencer. Right now, it does 0%-100% opacity as soon as the score updates. I can't figure out how to build a delay in visual logic so that when the score changes, it will play the scene director and wait X frames before updating the display text to the new score.
---------------------------------------------------------------
Reviving this thread, as I'm having trouble getting this to work and I'm hoping someone can help me out. I've got a scene that has 2 text objects: Score-data is pulling a score from a widget (will be Datalinq eventually, testing with a widget though), and is hidden. Score-display is what shows. I have a scene director titled UpdateScore that I want to run, and it simply does opacity 100% to 0% over 7 frames, then 0% to 100% over 7 frames. I want the old score to update at the mid point (7 frames) when the text is hidden. I'm trying to use the Visual Logic example above, but I cannot get this to work, and I can't figure out why. I've changed the scene director to only do the 0% to 100% opacity, and I've seen it work once, but then it doesn't work further. I tried adjusting the Scene Director position to 0, to no avail.
It will work in layout all day long, but when I put the scene in a sequence and bring it online, it only plays the scene director once when the scene comes on, and any updates just cut.
------------------------------
Aaron Rice
Original Message:
Sent: 05-06-2022 07:43
From: NewBin
Subject: scoreboard update animation
Thankyou for your replying... :)
now its solve thankyou :)
------------------------------
NewBin
Designer
Original Message:
Sent: 05-05-2022 11:03
From: Malcolm Thorpe
Subject: scoreboard update animation
I've tried the solution Red offered and it's pretty slick. My script works well too if you want to dive into scripting. Let me know if you want more info. I got the original script from Brian Ford who (I think) moved on. His project would probably include the script I posted.
------------------------------
Malcolm Thorpe
Free Lance Xpression Designer/Carbonite TD
Original Message:
Sent: 05-05-2022 07:18
From: NewBin
Subject: scoreboard update animation
i am not able to download that file please can you re post that link for download?
http://ross.brickftp.com/f/5c3f85865
------------------------------
NewBin
Designer
Original Message:
Sent: 08-09-2019 15:23
From: Brian Ford
Subject: scoreboard update animation
https://transfer.rossvideo.com/f/9ef2889e87516894
#XPression