This article applies to:
E-Prime 3.0
Symptoms
The FirstFrameTime is reported as two numbers.
Detail
The FirstFrameTime only reports the first two numbers and cuts off the rest of the timestamp.
Workaround
Manually get the first displayed frame's time.
' NOTE: In the example below, change Stimulus to the name of your
' Slide object and Movie1 to the name of your SlideMovie sub-object.
Dim theSlideMovie As SlideMovie
Set theSlideMovie = CSlideMovie(Stimulus.ActiveObjects("Movie1"))
Dim nFrame As Long
For nFrame = 1 To theSlideMovie.Frames.Count
'Get the frame
Dim theMovieDisplayFrame As MovieDisplayFrame
Set theMovieDisplayFrame = theSlideMovie.Frames(nFrame)
If Not theMovieDisplayFrame Is Nothing Then
If theMovieDisplayFrame.Status = "3" Then
Debug.Print "Actual FirstFrameTime: " & theMovieDisplayFrame.TimeDisplayed
Debug.Print "Actual FirstFrameTime Delay: " & theMovieDisplayFrame.TimeDisplayed - Stimulus.OnsetTime
c.SetAttrib "FirstFrameTimeActual", theMovieDisplayFrame.TimeDisplayed
c.SetAttrib "DelayToFirstFrameActual", theMovieDisplayFrame.TimeDisplayed - Stimulus.OnsetTime
Exit For
End If
End If
Next 'nFrame
See Also:
RELEASE INFO: Known Issues in E-Prime 3.0 Update 2 (3.0.3.80) [27789]
Comments
0 comments
Please sign in to leave a comment.