This article applies to:
E-Prime 3.0
This bug has been fixed in E-Prime 3.0.3.219 (Update 4).
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.
Solution
Upgrade to E-Prime 3.0.3.219 or later.
Workaround
This workaround is intended only for those who are unable to update to the version of E-Prime that contains the bug fix:
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:
Comments
0 comments
Please sign in to leave a comment.