Excellent! So sorry, tried typing it from memory, but you're correct, when in a Scene Director script event, you need to refer to the scene as Scene.
Original Message:
Sent: 03-30-2024 21:24
From: Shane English
Subject: Material from Clip Browser playing too soon.
My very intelligent co-worker figured out how to fix it.
Scene instead of Self
Thanks!
------------------------------
Shane English
Senior Motion Graphics Designer
Chicago Cubs
Original Message:
Sent: 03-30-2024 21:00
From: Shane English
Subject: Material from Clip Browser playing too soon.
Thank you!
the first script works, but I'm having trouble with the second line in the second script.
it seems to have trouble looking for the object , and yes the name was changed of "CLIP"

------------------------------
Shane English
Senior Motion Graphics Designer
Chicago Cubs
Original Message:
Sent: 03-30-2024 20:06
From: Zachary Fradette
Subject: Material from Clip Browser playing too soon.
Hi Shane! I got this working with 2 scripts; one on the Scene itself when we're coming online, and then one for when to play on the Scene Director.
On the Scene Object (the top level object in the Object Manager), right click it and Edit Script Events.
Make sure you double click OnOnline to make sure that's the tab we're selected in, then use this script. You can replace the name of "CLIP" in line 2 with the name of the object you have in your scene.
dim clip as xpQuadObject
Self.GetObjectByName("CLIP", clip)
dim mat as xpMaterial
clip.GetMaterial(0, mat)
dim shad as xpVideoShader
mat.GetShader(0, shad)
shad.AutoStart = false
This essentially tells whatever material is on our quad to not automatically start. Then, within our Scene Director, I can right click anywhere in my general tracks (the top 3rd of our Scene Director), and select to create a "Script". Double click this, then select Edit Script, and use this one. Make sure to replace the same object name on line 2 here as well.
dim clip as xpQuadObject
Self.GetObjectByName("CLIP", clip)
dim mat as xpMaterial
clip.GetMaterial(0, mat)
mat.Play()
Let me know if that works for you!
------------------------------
Zachary Fradette
United States
Original Message:
Sent: 03-29-2024 13:46
From: Shane English
Subject: Material from Clip Browser playing too soon.
I have a scene where I built an animation to happen 10 seconds into the scene director. Its on a Quad where I have the material face published so the operator can change out the animation. When I change the video texture from the clips browser the video plays at the start of the scene and not where I have the texture supposed to animate according to the scene director. How do I fix this?
------------------------------
Shane English
Senior Motion Graphics Designer
Chicago Cubs
------------------------------