You can, but you'd need to run an OnRender script on the scene with the animation you want to trigger to always be looking at the tally state of the framebuffer.
Here's an example script that will play a scene director called "Play on Tally" on a scene when the Framebuffer the scene is online with get's tallied Red for program.
Place the script on the scene's OnRender event. If you're XPression's TSL Tally Input is setup to Swap Red/Green tally, you''ll want to change the "if fb.GetTallyState = 1" value to a 2, since red returns 1 and green returns 2.
'get outputframebuffer index
dim fb as xpOutputFrameBuffer
dim fbindex, layerindex as integer
self.GetOnline(fbindex,layerindex)
engine.GetOutputFrameBuffer(fbindex,fb)
'get scene director
dim sd as xpSceneDirector
self.GetSceneDirectorByName("Play on Tally",sd)
if fb.GetTallyState = 1
sd.Play
else
sd.Stop
sd.Position = 0
end if
Depending on your setup and workflow, there may be other ways of doing this with a GPI trigger or Ross Talk command to XPression that doesn't rely on the script running each frame.
If you give us some more info on the the graphic and use case, I'd be happy to suggest alternatives as well.
------------------------------
Jeff Mayer
Ross Video
------------------------------