This article applies to:
E-Prime 3.0
E-Prime 2.0
E-Prime 1.x
Symptoms
SoundOut properties using Attribute references are set after .Load, resulting in a runtime error.
Detail
Properties set in a SoundOut object's General tab using Attribute references are set after .Load is called for the SoundOut. The exception is the Filename property which is properly set prior to .Load. At Runtime, without the properties being set before .Load is called, the experiment could result in the following error:
Workaround
The following workarounds are possible.
Workaround 1
Use a Slide with a Slide SoundOut sub-object. When the properties in a Slide SoundOut sub-object are set to Attribute references, the properties are properly set before .Load is called.
Workaround 2
Use Inline script to set the the SoundOut's properties to an Attribute value prior to the SoundOut.
Set SoundOut1SoundBuffer = SoundOut1.Buffers(1)
SoundOut1SoundBuffer.StartOffset = c.GetAttrib ("MyStartOffsetAttibute")
NOTE: If you are not following the format that is declared internally (i.e. SoundOutNameSoundBuffer), you will need to declare the variable name.
Workaround 3
Do not set SoundOut properties other than the Filename with an Attribute reference. Setting the SoundOut's Filename property with an Attribute reference is recommended. See: BUG FIX: Sound clipping may occur when using an absolute path for the SoundOut/SlideSoundOut Filename [26066]
NOTE: Additional and/or different properties may need set depending which properties are being set with an Attribute reference.
See Also:
Comments
0 comments
Please sign in to leave a comment.