Playback User Number
Posted: 21 Jun 2018, 13:22
I want to store a playback with a particular usernumber. As this isn't possible I go for storing at a specific location and then changing the user number. However this fails, with various casting errors. I try
Also I want this to check if this playback already exists, and do a ReplacePlaybackCue instead. However, my condion seems to be faulty. I do:
Can someone please point me in the right direction? Thanks
Code: Select all
Playbacks.StoreCue("PlaybackWindow", 1000, false);
Handles.SetSourceHandle("PlaybackWindow", 1000);
ActionScript.SetProperty("Handles.CurrentUserNumber", 10000); <== this is probably where the error is
Handles.ValidateCurrentUserNumber();
Handles.SetSourceHandleFromHandle(null);
Also I want this to check if this playback already exists, and do a ReplacePlaybackCue instead. However, my condion seems to be faulty. I do:
Code: Select all
{
if(Playbacks.IsCueHandle(userNumber:10000)){
Playbacks.ReplacePlaybackCue(userNumber:10000, false);
} else {
(see above)
}
}
Can someone please point me in the right direction? Thanks