Thank you for the support. Actually I'm a little surprised about the 'Msgbox("MSG") within the script you provided me with, maybe you have an explanation for that:
dim test as xpSceneDirector
'Msgbox("MSG")
scene.getscenedirectorbyname("SceneDirector2", test)
'Msgbox("MSG")
test.play
'Msgbox("MSG")
But anyway, it works to trigger SceneDirector2, but in there again, scripts aren't working anymore. So I can not trigger SceneDirector3 with a script from SceneDirector2.
Script after Pause SceneDirector1:
Dim anzahl as xptextobject
dim macro2 as xpSceneDirector
dim macro3 as xpSceneDirector
dim macro4 as xpSceneDirector
dim macro5 as xpSceneDirector
scene.getobjectbyname("ANZAHL BILDER", anzahl)
scene.getscenedirectorbyname("SD2", macro2)
scene.getscenedirectorbyname("SD3", macro3)
scene.getscenedirectorbyname("SD4", macro4)
scene.getscenedirectorbyname("SD5", macro5)
if Cint(anzahl.Text) >1 then
macro2.play
End If
Then follows a script to take the layer offline if it was the only one to play at frame 36:
Dim anzahl as xptextobject
scene.getobjectbyname("ANZAHL BILDER", anzahl)
if Cint(anzahl.Text) 2 then
macro3.play
End If
And so on. but as mentioned above, SD2 won't trigger SD3. Is that a bug in the version I'm working with (XP Studio SCE v5.15)?
#XPression