MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 510

Director scripting reference
Table of Contents

Advertisement

Example
This statement resumes playback after a menu has been displayed:
-- Lingo syntax
member(1).returnToTitle()
// JavaScript syntax
member(1).returnToTitle();
See also
DVD
revertToWorldDefaults
Usage
member(whichCastmember).revertToWorldDefaults()
Description
3D command; reverts the properties of the specified 3D cast member to the values stored when
the member was first created. The member's
before this command can be used, otherwise a script error will occur.
This command differs from
member when it was first created rather than from the state of the member when it was first
loaded into memory.
Parameters
None.
Example
This statement reverts the properties of the cast member named Scene to the values stored when
the member was first created:
member("Scene").revertToWorldDefaults()
See also
resetWorld
rewind() (Sound Channel)
Usage
-- Lingo syntax
soundChannelObjRef.rewind()
// JavaScript syntax
soundChannelObjRef.rewind();
Description
Sound Channel method; interrupts the playback of the current sound in a sound channel and
restarts it at its
startTime
If the sound is paused, it remains paused, with the
510
Chapter 12: Methods
state
in that the values used are taken from the state of the
resetWorld
.
property must be 4 (loaded) or -1 (error)
set to the
currentTime
.
startTime

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents