Lingo Dictionary > O-R > play member

 

play member

Syntax

member(whichCastMember).play()
play member whichCastMember

Description

Command; begins playback of a Shockwave Audio (SWA) streaming cast member.

If the sound has not been preloaded by means of the preLoadBuffer() command, the SWA sound preloads before playing begins. When the sound is playing, the state member property equals 3.

Be aware that Xtras to support this functionality must be included when playing back a streaming sound.

Example

This handler begins the playback of the cast member Big Band:

on mouseDown
	member("Big Band").play()
end

See also

pause member, stop member