User Guide

470 Chapter 12: Methods
The preloadNetThing() function does not parse a Director files links. Thus, even if a Director
file is linked to casts and graphic files,
preloadNetThing() downloads only the Director file. You
still must preload other linked objects separately.
Parameters
url
Required. Specifies the name of any valid Internet file, such as a Director movie, graphic, or
FTP server location.
Example
This statement uses preloadNetThing() and returns the network ID for the operation:
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
transform2 describes a rotation of 90° about the X axis and transform1 describes a
translation of 100 units in the Y axis,
transform1.multiply(transform2) will alter this
transform so that it describes a translation followed by a rotation. The statement
transform1.preMultiply(transform2) will alter this transform so that it describes a rotation
followed by a translation. The effect is that the order of operations is reversed.
Parameters
transform2
Required. Specifies the transform from which effects are pre-applied to another
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)