MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 564

Director scripting reference
Table of Contents

Advertisement

time() (System)
Usage
-- Lingo syntax
_system.time()
// JavaScript syntax
_system.time();
Description
System method; returns the current time in the system clock as a string.
The returned time is formatted as follows:
1:30 PM
Parameters
None.
Example
The following handler outputs the current time to a text field.
-- Lingo syntax
on exitFrame
member("clock").text = _system.time()
end
// JavaScript syntax
function exitFrame() {
member("clock").text = _system.time();
}
See also
date()
(System),
timeout()
Usage
-- Lingo syntax
timeout(timeoutObjName)
// JavaScript syntax
timeout(timeoutObjName);
Description
Top level function; returns a given timeout object.
Use the
method to create a new timeout object and add it to the
new()
Parameters
timeoutObjName
564
Chapter 12: Methods
System
Required. A string that specifies the name of the timeout object to return.
.
timeoutList

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