MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 470

Director scripting reference
Table of Contents

Advertisement

The
preloadNetThing()
file is linked to casts and graphic files,
still must preload other linked objects separately.
Parameters
Required. Specifies the name of any valid Internet file, such as a Director movie, graphic, or
url
FTP server location.
Example
This statement uses
set mynetid = preloadNetThing("http://www.yourserver.com/menupage/
mymovie.dir")
After downloading is complete, you can navigate to the movie using the same URL. The movie
will be played from the cache instead of the URL, since it's been loaded in the cache.
See also
netDone()
preMultiply
Usage
transform1.preMultiply(transform2)
Description
3D transform command; alters a transform by pre-applying the positional, rotational, and scaling
effects of another transform.
If
describes a rotation of 90° about the X axis and
transform2
translation of 100 units in the Y axis,
transform so that it describes a translation followed by a rotation. The statement
transform1.preMultiply(transform2)
followed by a translation. The effect is that the order of operations is reversed.
Parameters
Required. Specifies the transform from which effects are pre-applied to another
transform2
transform.
Example
This statement performs a calculation that applies the transform of the model Mars to the
transform of the model Pluto:
member("scene").model("Pluto").transform.preMultiply\
(member("scene").model("Mars").transform)
470
Chapter 12: Methods
function does not parse a Director file's links. Thus, even if a Director
preloadNetThing()
preloadNetThing()
transform1.multiply(transform2)
downloads only the Director file. You
and returns the network ID for the operation:
transform1
will alter this transform so that it describes a rotation
describes a
will alter this

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