1070
Chapter 14: Properties
URL
Usage
-- Lingo syntax
memberObjRef
.URL
// JavaScript syntax
memberObjRef
.URL;
Description
Cast member property; specifies the URL for Shockwave Audio (SWA) and Flash movie
cast members.
For Flash movie members, this property is synonymous with the
pathName
member property.
The
URL
property can be tested and set. For SWA members, it can be set only when the SWA
streaming cast member is stopped.
Example
This statement makes a file on an Internet server the URL for SWA cast member Benny
Goodman:
-- Lingo syntax
on mouseDown
member("Benny Goodman").URL = \
"http://audio.macromedia.com/samples/classic.swa"
end
// JavaScript syntax
function mouseDown() {
member("Benny Goodman").URL =
"http://audio.macromedia.com/samples/classic.swa"
}
useAlpha
Usage
-- Lingo syntax
memberObjRef
.useAlpha
imageObjRef
.useAlpha
// JavaScript syntax
memberObjRef
.useAlpha;
imageObjRef
.useAlpha;
Description
Bitmap cast member and image object property; for 32-bit cast members and image objects with
alpha channel information, determines whether Director uses the alpha information when
drawing the image onto the Stage (
TRUE
), or whether Director ignores the alpha information
when drawing to the Stage (
FALSE
).
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...