See also
downloadNetThing,
insertBackdrop
Usage
sprite(whichSprite).camera{(index)}.insertBackdrop(index, \
texture, locWithinSprite, rotation)
member(whichCastmember).camera(whichCamera).\
insertBackdrop(index, texture, locWithinSprite, rotation)
Description
3D camera command; adds a backdrop to the camera's list of backdrops at a specified position in
the list.
Parameters
Required. Specifies the index position in the camera's list of backdrops to which the
index
backdrop is added.
Required. Specifies the texture of the added backdrop.
texture
locWithinSprite
location is measured from the upper left corner of the sprite.
Optional. Specifies the rotation of the added backdrop.
rotation
Example
The first line of this example creates a texture called Cedar. The second line inserts that texture at
the first position in the list of backdrops of the camera of sprite 5. The backdrop is positioned at
the point (300, 120), measured from the upper left corner of the sprite. It is rotated 45°.
t1 = member("scene").texture("Cedar")
sprite(5).camera.insertBackdrop(1, t1, point(300, 120), 45)
See also
removeBackdrop, bevelDepth,
insertFrame()
Usage
-- Lingo syntax
_movie.insertFrame()
// JavaScript syntax
_movie.insertFrame();
Description
Movie method; duplicates the current frame and its content.
The duplicate frame is inserted after the current frame and then becomes the current frame.
This method can be used only during a Score recording session and performs the same function as
the
duplicateFrame()
fileName
(Window), Member,
Required. A 2D loc at which the backdrop is displayed in the 3D sprite. This
overlay
method.
preloadNetThing()
insertFrame()
367
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