MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 1001

Director scripting reference
Table of Contents

Advertisement

source
Usage
sprite(whichSprite).camera.backdrop[backdropIndex].source
member(whichCastmember).camera(whichCamera).backdrop
[backdropIndex].source
sprite(whichSprite).camera.overlay[overlayIndex].source
member(whichCastmember).camera(whichCamera).overlay
[overlayIndex].source
Description
3D backdrop and overlay property; allows you to get or set the texture to use as the source image
for the overlay or backdrop.
Example
This statement sets the source of backdrop 1 to the texture Cedar:
sprite(3).camera.backdrop[1].source =
sprite(3).member.texture("Cedar")
See also
bevelDepth,
overlay
sourceFileName
Usage
flashCastMember.sourceFileName
Description
Flash cast member property; specifies the pathname of the FLA source file to be used during
launch-and-edit operations. This property can be tested and set. The default is an empty string.
Example
This Lingo sets the
C:\FlashFiles\myFile.fla
member("SWF").sourceFileName = "C:\FlashFiles\myFile.fla"
sourceRect
Usage
-- Lingo syntax
windowObjRect.sourceRect
// JavaScript syntax
windowObjRect.sourceRect;
Description
Window property; specifies the original Stage coordinates of the movie playing in a window.
Read-only.
This property is useful for returning a window to its original size and position after it has been
dragged or its rectangle has been set.
of the Flash cast member "SWF" to
sourceFileName
:
sourceRect 1001

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents