Here is script
dim mat as XpMaterial
dim shader as XpBaseShader
dim path as String = engine.ProjectPath & "Video\Teams\TITLECARD\" & text & ".avi"
if engine.getMaterialByName("TC Home", mat) then
if mat.getShaderByName("Video", shader) then
if My.Computer.FileSystem.FileExists(path) then
shader.setFileName(path)
shader.reloadFile()
End if
End if
End if
------------------------------
Bill Gooch
------------------------------