User Guide

Text 133
Sound
Represents a cast member that is used to store and refer to sound samples.
Sound samples are controlled by the core Sound and Sound Channel objects. A sound cast
member does not have any APIs of its own, and uses the APIs of the Sound and Sound Channel
objects to control its behavior.
You can add a sound cast member to a movie by using the Movie object’s
newMember() method.
-- Lingo syntax
_movie.newMember(#sound)
// JavaScript syntax
_movie.newMember("sound");
For more information on the objects and APIs you can use to control sound samples, see “Sound
on page 110 and “Sound Channel” on page 111.
See also
Member
Text
Represents a text cast member.
You can add a text cast member to a movie by using the Movie objects
newMember() method.
-- Lingo syntax
_movie.newMember(#text)
// JavaScript syntax
_movie.newMember("text");
Event summary for the Text media type
Method summary for the Text media type
Event
on hyperlinkClicked
Method
count()
pointInHyperlink()
pointToChar()
pointToItem()
pointToLine()
pointToParagraph()
pointToWord()