552
Chapter 12: Methods
stop() (Flash)
Usage
-- Lingo syntax
spriteObjRef
.stop()
// JavaScript syntax
spriteObjRef
.stop();
Description
Flash command; stops a Flash movie sprite that is playing in the current frame.
Parameters
None.
Example
This frame script stops the Flash movie sprites playing in channels 5 through 10:
-- Lingo syntax
on enterFrame
repeat with i = 5 to 10
sprite(i).stop()
end repeat
end
// JavaScript syntax
function enterFrame() {
var i = 5;
while (i < 11) {
sprite(i).stop();
i++;
}
}
See also
hold()
stop() (RealMedia, SWA, Windows Media)
Usage
-- Lingo syntax
windowsMediaObjRef
.stop()
realMediaObjRef
.stop()
// JavaScript syntax
windowsMediaObjRef
.stop();
realMediaObjRef
.stop();
Description
Windows Media or RealMedia cast member or sprite method. Stops playback of a Windows
Media or RealMedia cast member or sprite.
Parameters
None.
Содержание DIRECTOR MX 2004
Страница 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Страница 48: ...48 Chapter 2 Director Scripting Essentials...
Страница 100: ...100 Chapter 4 Debugging Scripts in Director...
Страница 118: ...118 Chapter 5 Director Core Objects...
Страница 594: ...594 Chapter 12 Methods...
Страница 684: ...684 Chapter 14 Properties See also DVD...
Страница 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Страница 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Страница 889: ...netPresent 889 _player alert Sorry the Network Support Xtras could not be found See also Player...
Страница 1102: ...1102 Chapter 14 Properties...