Images don't change at runtime like they do in the Editor.
I have three View Model Properties:
1. “image”
2. “imageSave__”
3. “imageUpdate__”
I have an image layer which is bound to “imageSave__”.
I have a Property Group with a Trigger called “Image Update” and it is bound to “imageUpdate__” with Target to Source.
I have a Timeline Animation where I’m animating the opacity of the image from 100% > 0% > firing the “Image Update” property group > opacity back up to 100%
I have a State Machine Layer with two copies of “Image Update” Timeline animation that transition between each other when this condition is met:
if “imageSave__” ≠ “image”.
And finally, I have a Listener that sets “imageSave__” = “image” when “imageUpdate__” is fired.
So when I change “image” (and “imageSave__” no longer equals “image”) it first fades out, sets “imageSave__” to the same image as “image”, then fades in - giving an illusion of an “Update Animation”.
Important:
I am using suffix “__” due to a specific reason which I won’t get into, but I tried removing them just in case, but the issue remains.
This works in the Editor, but at runtime it does not. The image doesn’t switch unless I reload the entire .riv file, and only then does “imageSave” get set to = “image”
I’m pretty sure this is a bug and it might have something to do with Listeners not being able to set an image property to another image property correctly.
I use this same method for every other type of layer such as Shapes and Text layers, and those work the same at runtime as they do in the Editor. (You can see it in one of the attached videos)
I have attached videos.
I can send the .rev file privately for you to check out as it is for a client project and I can’t share publicly.
Let me know if you need further explanation and I hope this can get fixed as it’s a huge deal breaker for live broadcast graphics.